Popular Code Snippets

How to make PATCH Request with Fetch API
Learn how to make the PATCH request with the Fetch API
31 Aug 2021

How to easily download favicon from a website?
Learn how to easily get website favicon by using google favicon snatcher
16 Aug 2021

How to Get Query Parameters From Request in Laravel 8
Learn how to easily get the query parameters value from the Request class and use it to get data passed on from the URL
23 Jul 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 Save Model Quietly on Laravel
Learn how to save model quietly on Laravel
24 Sep 2021

How to Place Composer Bin Directory in PATH in MacOS or Linux
Learn how to set up composer/vendor/bin directory PATH in MacOS or Linux machine
17 Oct 2021

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 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 Fix Yarn Trouble With Network Connection
Learn how to solve "There appears to be trouble with your network connection" when running the yarn command using these simple steps
08 Nov 2021

How to add class attribute to the body tag in NuxtJs
Learn how to add class attribute to the body tag in NuxtJS
17 Jul 2021

How to Update Column to Nullable in Laravel Migration
Learn how to update Laravel migration to make a column nullable after it's already migrated. Make use of these method to prevent rolling back migration and easily update any columns to nullable.
14 Oct 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