Category : Laravel

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
Laravel's Storage facade makes it easier to get list of files within a directory. However if you are looking to get a list of files within the public directory, or any other directory within the publi...
Read Article
Often in your laravel application you are loading and fetching the results on the database which doesn't necessarily needs to be fetched on every page reload. Query that takes longer amount to execute...
Read Article
There are two ways to include Select2 plugin in your laravel project, one is via including the CDN and another is via NPM i.e. node package manager. I find handling the dependencies via NPM to be a...
Read Article