Showing 10 of 1,322 results.

Pint Result Cache | Formatter Configuration and Usage

…matter will cache Pint output on a per-file basis. By default this cache is stored in node_modules/prettier-plugin-blade/_cache . The location of the cache can be changed by updating the .blade.format.json file and specifying a path for the...

if | Blade Compiler

Register an "if" statement directive. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::if method. You do not need to manually call this method to sync compiler information if you use the default compiler factory...

Laravel Companion: A Guide to Helpers, Collections And More

Whether you're new to Laravel or a seasoned developer, Laravel Companion is your go-to guide for unlocking the full potential of the framework. Packed with real-world examples and concise explanations, this book dives deep into Laravel's helper...

Laravel Collection Public API: each

…llection instance. 6 $ collection = new Collection ( [ 7 ' first ' , ' second ' , ' third ' 8 ] ) ; 9 10 // firstsecondthird 11 $ collection -> each ( function ( $ item , $ key ) { 12 echo $ item ; 13 } ) ; 14 15 // Break out of the loop early....