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 in laravel is very simple thing …
Author: tgugnani
If you are working with Bootstrap 5 navbar and by default you want to show menu items in the navigation bar for all screen sizes above than lg i.e. ≥992px. You can add following class to …
So, if you are working with Laravel Livewire and you have wire:click in your template which should call a function in the component. But it is not working, and you have tried everything. Here is what …
If you are working with Laravel Livewire, there might be instance when you want to refresh the data on the front end. Here is how you can do it You can add a listener to your …
In TailwindCSS if you are looking to hide a content for mobile devices or small screens and looking to show the content only on large devices like tablet and laptop <div class="hidden md:block"> </div> Since TailwindCSS …
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 along with Authentication ready. Alright, …
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.edu/images/default/sample.pdf'); Storage::disk('local')->put('samplepdf.pdf', $pdf); return response()->download(storage_path().'/app/samplepdf.pdf')->deleteFileAfterSend(true); Get …
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 Post …
I work as a full stack web developer and have been working remotely since the last six years. If you are new to working remote and looking to organize your desk or workspace for better productivity, …
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 public …