Category : Laravel

Edit the Nginx configuration file for the site (not the server), replace the location ~ \.php$ block with following location ~ \.php$ { try_files $uri /index.php?$args; f...
Read Article
TailwindCSS is a popular utility first CSS framework. In this article, we will go over how to install TailwindCSS on Laravel which is a PHP Framework. 1. Create a Laravel Project and Dependencies Ins...
Read Article
What is Laravel Sanctum? Laravel Sanctum provides a  simple way for authenticating Single Page Applications(SPAs), Mobile Applications, and simple token-based APIs. It allows users to create multiple...
Read Article
This article takes your through step by step process of how to deploy your Laravel Application which connects to the SQL Server Database on Digital Ocean and we will be using Laravel Forge for this....
Read Article
If you are looking to refresh or reload the new values from the database for a Model, you can do the following $model->refresh(); For example $user = User::find('242'); $user->active...
Read Article
In Laravel if you are looking to run a single seeder class you can do so by running the following command php artisan db:seed --class=PostTableSeeder In the above command, class PostTableSee...
Read Article
This article goes in detailed on implementing Laravel CRUD Operations. Create, Read, Update and Delete are the very basic operations that almost every application has. Creating a basic CRUD Operations...
Read Article
In this article we will implement the Change password functionality over the basic Authentication that is provided by Laravel. Before diving into the steps, make sure you have Laravel Project setup...
Read Article
If you have the URL of PDF which is situated on some other domain. You can allow it to be downloaded via your laravel application with following code $pdf = file_get_contents('http://www.africau....
Read Article
If you are looking to get the total number of records that are created / updated today in the mysql database, then the following Eloquent query will come handy. Considering we have a model named Po...
Read Article

Sponsors

This website has NO spammy ads, distracting popups, and tracking codes. Thanks to our sponsors!

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.