Showing 10 of 2,133 results.

Event Methods | Advanced Reply Forms

Meerkat will call various methods throughout the reply process. You can tap into these by supplying your own implementation for the submit , canceled , and replyOpen methods.

Laravel Artisan Tinker: The down Command

The down command is used to put the application into maintenance mode. It does this by creating a file named down in the framework storage path (which by default is storage/framework/ ). This command performs the same action as the php artisan...

Laravel Artisan Route Command: The route:clear Command

The route:clear command is used to clear any previously generated route cache files. It does this by removing the bootstrap/cache/routes.php cache file. It defines no parameters or options can can be called like so: 1 # Clear the route cache file....

Generating Images

The primary method of generating images is using the generate-images Artisan command: 1 php artisan social-media-image-kit:generate-images This command will generate images for each collection that has been configured. During the process, you...

Creating Dynamic CSS Class Names with Statamic

In this article, we will look at one way to construct dynamic CSS class names when writing Antlers templates for a Statamic site. This technique will utilize the Antlers Runtime parser and the yield and section features.

Laravel Artisan Tinker: The clear-compiled Command

The clear-compiled command is used to clear the compiled classes and services application cache. These two files are located in the bootstrap/cache/ directory. The compiled classes cache is stored in a file named compiled.php and the services...

fake() | Laravel 5 Facades

The fake method will swap the currently bound queue manager instance with a fake; this is incredibly useful for testing purposes. The fake queue manager instance, by default, is an instance of "Illuminate\Support\Testing\Fakes\QueueFake".

se_current_view Tag

The se_current_view tag provides various utilities to retrieve information about the view currently being rendered. For example, it is capable of returning the current relative view path, as well as outputting <!-- START: --> and <!-- END: -->...

se_current_view Tag | se_current_view Tag

When used by itself, the se_current_view tag will output the relative path of the view currently being rendered: 1 {{# Output the relative path of the current view. #}} 2 {{ se_current_view / }}