Showing 10 of 1,204 results.

The Controller Function | Laravel Paginator Pretty URLs

…ng this will prevent URLs from being generated that look like this http://localhost:8000/users/page/2/page3 . We also need to tell it what the current page is, so it can apply the active classes in the HTML correctly (since it is looking for the...

Laravel Artisan Route Command: The route:cache Command

The route:cache command is used to create a route cache file. This cache file will improve the performance of the route registration process. This command accepts no parameters or options. This command will be unable to cache any routes that use a...

Prettier 2 Plugin | Formatting

…r plugin has also been installed: 1 { 2 " plugins " : [ 3 " ./node_modules/prettier-plugin-antlers " , 4 " ./node_modules/prettier-plugin-tailwindcss " 5 ] , 6 " overrides " : [ 7 { 8 " files " : [ 9 " *.antlers.html " 10 ] , 11 " options " : {...

Prevent Formatting of Specific Files | Formatting

…rmat false 4 @description This template will not be formatted by the Antlers formatter. 5 #}} 6 < div class = " hidden lg:block lg:col-span-3 xl:col-span-3 " > 7 < nav aria-label = " Sidebar " class = " sticky top-6 divide-y divide-gray-300 " > 8...

Laravel String Helper Function: ucfirst

The ucfirst helper method is used to uppercase the first letter of a string. It defines only one parameter— $string —which is the string that should have its first letter upper cased. This helper method differs from PHP's ucfirst function because...

Filter Search