REST API and Passport Authentication with Laravel

REpresentational State Transfer or REST is an architectural style for providing standards between computer systems on the web. We need REST API’s to communicate over various mediums like web, desktop or mobile application through the same database. API’s do not maintain session state between requests, except use tokens to authenticate users requests.

Read More

Custom Validation With Laravel

Laravel provides a variety of validation rules that improve productivity. We can easily manage and customize the validation as per the requirement. You can also use the Rule class while defining the validation rules. Let’s use the exits validation rule.

Read More

Laravel Form Validation with example

There are a bunch of ways to handle Form Validation through Laravel. It just depends on the developer. The robust ways to form validation is by creating a form request by the artisan command. It will help to separate the validation logic from the controller. Another way is by adding manual validatation rules within the method.

Read More

Laravel On-Demand Notifications

Notification is a way to notify the application users for a particular activity, event etc. It already exists on the User Model. The User Model comes with already implemented notification functionality. The user model used the Notifiable trait.

Read More

Working with Laravel Queues

Laravel queues help to defer the processing of heavy/time-consuming tasks. The benefits of the queue are to not interrupt website visitor with slow performances. Laravel provides a variety of queue backends like Beanstalk, Amazon SQS, Redis, Database and synchronous driver.

Read More