Posts Learn Components Snippets Categories Tags Tools About
/

Popular Code Snippets

Collection of the most popular Laravel snippets, AlpineJS snippets, VueJS snippets, Tailwindcss snippets, Flutter snippets, and more.
How to make PATCH Request with Fetch API cover

How to make PATCH Request with Fetch API

Learn how to make the PATCH request with the Fetch API

31 Aug 2021

How to Update Column to Nullable in Laravel Migration cover

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 get current Date, Time and Day in Laravel 8 cover

How to get current Date, Time and Day in Laravel 8

Learn how to get the current date, time, and day in Laravel using the built-in helper function. Make use of these methods to easily get the right value

14 Nov 2021

How to Get Query Parameters From Request in Laravel 8 cover

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 Order By Multiple Columns in Laravel? cover

How to Order By Multiple Columns in Laravel?

Learn how to order by multiple columns in Laravel query builder the easy way. Make use of multiple order by to get the right ordering for your records.

08 Oct 2021

How to Multi-Line Truncate Text in Tailwind CSS cover

How to Multi-Line Truncate Text in Tailwind CSS

Learn how to truncate and clamp multi-line text in TailwindCSS

08 Jul 2021

How to Make Laravel 8 Return 404 Status Code cover

How to Make Laravel 8 Return 404 Status Code

Learn the ways to return 404 status code from laravel application to indicate when something is not found

06 Aug 2021

How to Fix Yarn Trouble With Network Connection cover

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 cover

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 Solve Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error cover

How To Solve Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error

Learn how to solve visual studio code PHP intelephense keep showing not necessary error the easy way

21 Oct 2021

How to Save Multiple Records at Once in Laravel Eloquent cover

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 Bulk Insert Using Eloquent ORM In Laravel cover

How to Bulk Insert Using Eloquent ORM In Laravel

Learn how to perform bulk insert in Laravel using Eloquent ORM the easy way

24 Oct 2021

)