Showing 10 of 2,133 results.

Extending Laravel's Paginator | Laravel Paginator Pretty URLs

The class we want to extend is Illuminate\Paginator\Paginator . It has a function named getUrl($page) ; this is responsible for creating the URLs that the paginator uses when rendering the HTML links. Because of this fact, we should figure out a...

Laravel Artisan Generator Command: The make:test Command

The make:test command can be used to quickly generate test files for your application. The command accepts a name argument that will be used as the name of the newly created file and generated class. Generated tests are stored in the tests/...

Laravel Miscellaneous Helper Function: windows_os

windows_os The windows_os helper function can be used to determine if the host server is running a Microsoft Windows® operating system. The function returns either true —if the server is running Windows®—or false —if the server is not running...

Pint Temporary Directory | Formatter Configuration and Usage

…s located at node_modules/prettier-plugin-blade/_temp . Temporary files are automatically cleaned up after formatting each Blade template. However, if you would like to move this temporary directory you may specify a value for the...

Menu Item Icons | Navigation Menus

An icon may be associated with any navigation menu item by selecting a value for the "Menu Icon" field when editing a menu item within the Statamic Control Panel.

setFailOnParserErrors | Blade Compiler

Sets whether the compiler should fail on parser errors. When set to true, the compiler will throw an instance of Stillat\BladeParser\Errors\Exceptions\CompilationException whenever it encounters a parser error. Argument Description...