Streamlining Laravel Projects with Laravel Model StatusManaging user or model statuses is a common task in Laravel projects. Whether you're building a simple application or a large-scale system, adding and handling status columns often becomes repetitive and time-consuming. That's where Laravel Model Sta...Jan 18, 2025 路 4 min readthefeqy.hashnode.dev
Observers in Laravel: Simplifying Model Event Handling With Real-World ExamplesIn Laravel, Observers are classes used to handle model events cleanly and efficiently. Events like creating, created, updating, updated, deleting, and deleted occur when a model undergoes specific changes. Observers allow us to separate this logic fr...Nov 26, 2024 路 3 min readthefeqy.hashnode.dev
PHP 8.4 Is Here !PHP continues to evolve as a versatile and developer-friendly language, and its latest release, PHP 8.4, is no exception. Packed with enhancements designed to simplify syntax, improve performance, and make code more expressive, this version further s...Nov 22, 2024 路 4 min readthefeqy.hashnode.dev
Error Handling In NodeTSIn your development process, you need to make debugging as easy as possible, you definitely don't want to see an uncaughtException that could crash your application. What Is Error Handling when you deploy your application to production, you need to ...2SEApr 16, 2022 路 6 min readthefeqy.hashnode.dev
Use laravel's eloquent traits to avoid code duplicationIntroduction Consider that you have a particular event that you need to fire in several places, such as deleting the model鈥檚 related image after the deletion of the model itself. you may use the same code for posts, products, categories, ..etc. publi...Apr 5, 2022 路 3 min readthefeqy.hashnode.dev