Why Static Methods in Laravel Can Be Risky
Find out why static methods can cause problems, when you shouldn’t use them, but also the few cases where they actually make sense.
Explore a variety of practical Laravel easy-to-follow tutorials that cover both front-end and back-end aspects.
Find out why static methods can cause problems, when you shouldn’t use them, but also the few cases where they actually make sense.
Learn the difference between `exists` and `exists()` in Laravel.
Learn how to greatly improve the performance when checking if a record exists in the database.
Find out how to set the default value of a timestamp column to the current timestamp in a Laravel migration and why it’s a good practice.
Learn how to enforce the ‘Accept: application/json’ header for client requests, and send an error message if it’s missing.
Inspire or motivate yourself with quotes directly in the command line while working with Laravel.
In this post, we’re going to take a quick look at whether it’s a good or bad idea to use Eloquent Models and application code… Read More »Models & Application Code in Migrations – Good or Bad?
Learn how to quickly inspect the database and any tables in your Laravel project.
Maintenance mode is an important aspect of any web application’s lifecycle, allowing us, the developers, to perform updates, fixes, and improvements. In Laravel, you can… Read More »Bypass Maintenance Mode in Laravel
Let’s assume that in your Laravel application, you have a form in which you use a Form Request to validate several fields, including the email.… Read More »Laravel — Improve Email Validation