Laravel

Create custom pagination template in Laravel

Laravel comes up with a paginator that generates HTML compatible with the Tailwind CSS framework. But Laravel allows you to…

2 years ago

Define global variables in laravel

Imagine you want to define some variables that can be accessed from anywhere in your laravel project. To achieve that,…

2 years ago

Run laravel artisan commands without ssh access

Laravel has its own command-line interface named Artisan. It has a list of useful commands. You'll need to use artisan…

3 years ago

Best methods to get random records from database table in laravel

Sometimes we want to show random data from a table. Eg. Showing 10 random blog posts from 1000s of posts.…

3 years ago