Laravel

All articles that are written around the Laravel framework.

Records missing from algolia index after runnning laravel scout import

You run php artisan scout:import and it says [OK] All x-y-z records have been imported. You then go to your algolia index and see that some of the records are missing. This...

Read →

Setting up Auth between your Laravel API & the frontend JS client using Passport

Laravel Passport is an official Laravel package to implement API authentication in your Laravel apps. It provides a full OAuth2 server implementation for your Laravel applications. An API built...

Read →

Validate only and atleast one field is required out of two fields in Laravel

Let's consider the following example: Our form has 2 fields video (a file input) & videourl (a text field). Our users can either upload a video directly or submit an URL...

Read →