Learning React JS Part 2
The process of learning React JS, This post details the use of React with Laravel through a very modern method via the use of Inertia JS. InertiaJS brings the functionality…
The process of learning React JS, This post details the use of React with Laravel through a very modern method via the use of Inertia JS. InertiaJS brings the functionality…
In Laravel the updateOrCreate() method is used when you want to perform an UPSERT which is to “UPDATE if key/s exists else do an INSERT”. The method consists of 2…
Using invite codes for registrations with the Laravel invite codes package. Having invite codes for your web application means you can limit who you want to register. The Laravel Invite…
Use pretty URLs for your Laravel project by implementing slugs and avoid the integer id as the route key. The following 2 URL examples are for the route /location/{location} This…
How to set a Laravel model’s default orderby column without modifying existing queries or implementing in new calls. This is done using the boot function which is used to override…
Apply an auth middleware to only certain routes in a Laravel resource route without needing to write out each route individually. Generally a CRUD resource route looks like this in…
How to make registered users verify their account email before using the Laravel application. With the baseline Laravel authentication framework Breeze when a user registration or sign-up occurs the user…
A guide on sending an email when a user registers on your Laravel application. This gives you a near-instant notification on registration activity. Whilst the user gets a welcome and…
Use a custom email template blade file for your Laravel password reset email with just 6 lines of code. Open app/Providers/AuthServiceProvider.php in the boot() function paste and edit the following:…
Use your own email template blade file for the user verification email in Laravel, instead of the default email layout. Sending a custom verification email is quite simple, all you…