Implementing an ‘Add to Favourites’ feature in Laravel

Laravel gives us the ability to implement an Add to Favourites feature in a very flexible way. The key lies in defining polymorphic relations. »

Reusing Form Requests in Laravel

Form Requests in Laravel is a very neat way of validating form data. We can keep them clutter free even more by reusing form requests. »

Email Verification with Laravel 5.5

Laravel makes it pretty easier to implement email verification. The default auth scaffolding that comes with Laravel is very flexible and we can easily modify it to include verification functionality. »

Custom User Authentication in Laravel

There are times when we need a particular section of our app to be accessible only to some particular users. For example, if we are building a forum, we may want to restrict access to /admin routes. »

Autoloading classes in PHP 7

When developing any PHP project, it is a standard practice to define each class in it’s own file and name the file after the class. »