Popular Code Snippets

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 make PATCH Request with Fetch API
Learn how to make the PATCH request with the Fetch API
31 Aug 2021

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 Install MySQL on macOS Monterey
Get to know how to install MySQL on your macOS Monterey by following our step by steps guides
03 Dec 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 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 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 Add Custom Attribute In Laravel Eloquent
Learn how to add custom attribute in Laravel Eloquent Model using the available append property the easy way
17 Oct 2021

How to Update Laravel Model Without Touching Timestamps
Learn how to update Laravel Model without touching/changing the created_at and updated_at column
29 Sep 2021

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 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