by S M Zahed Kamal | Jan 8, 2022 | Laravel, PHP
Laravel comes up with a paginator that generates HTML compatible with the Tailwind CSS framework. But Laravel allows you to apply custom pagination HTML structure. So, if you want to use your own pagination’s HTML structure and styles, you can do it by creating...
by S M Zahed Kamal | Dec 4, 2021 | How To, Laravel
Imagine you want to define some variables that can be accessed from anywhere in your laravel project. To achieve that, the best way will be to take advantage of laravel’s configuration file. Creating a Configuration File First, you need to create a file inside...
by S M Zahed Kamal | Jul 22, 2021 | How To, Laravel
Laravel has its own command-line interface named Artisan. It has a list of useful commands. You’ll need to use artisan commands when building an application. You may get into situations when you’ll have no access to SSH. In such situations, you might want...
by S M Zahed Kamal | Apr 11, 2021 | Laravel, PHP
Sometimes we want to show random data from a table. Eg. Showing 10 random blog posts from 1000s of posts. Showing 10 random questions from 100s of questions in a Quiz. Showing 10 random phone numbers from millions of phone numbers. I’m going to share a few good...