Popular Code Snippets
Setting up Mailpit for Laravel 10 Development
Get up and running with Mailpit for local Laravel development as an alternative to Mailtrap with ease
11 Jul 2023
How to make PATCH Request with Fetch API
Learn how to make the PATCH request with the Fetch API
31 Aug 2021
How to Copy or Move Files Between 2 Disks in Laravel
Get to know how to copy or move files between 2 disks in Laravel easily by simple code examples
01 Feb 2022
How to easily download favicon from a website?
Learn how to easily get website favicon by using google favicon snatcher
16 Aug 2021
Laravel foreignId and foreignIdFor Function
Get to know Larave foreignId and foreignIdFor function to simplify your migration code definition
14 Sep 2021
How to Enable Laravel Telescope Dark Mode
Learn how to enable Laravel Telescope dark/night mode for better accessibility and reduce strain on eyes
20 Jul 2021
How to Save Model Quietly on Laravel
Learn how to save model quietly on Laravel
24 Sep 2021
How to change Image Format in Laravel and Save to Disk
Learn how to change image format from jpg to png and change format from png to webp in Laravel the easy way
10 Sep 2021
How to Save Multiple Records at Once in Laravel Eloquent
Learn how to save multiple records at once by using saveMany() and
11 Aug 2021
How to Fetch API in Alpine.js
Learn how to fetch API in Alpine.js using the native fetch JS to get external resource
18 Nov 2021
How to Access stdClass Property that has Spaces in PHP
Learn how to access the stdClass/class property with spaces in PHP. Learn this trick and be able to access any json decoded value.
18 Sep 2021
How to Redirect to External URL in Laravel
Learn how to easily redirect to an external URL in your Laravel application with return redirect helper function
26 Jan 2022