Showing 10 of 2,133 results.

Laravel URL Helper Function: asset

asset($path, $secure = null) The asset function will return a URI composed of the application's URI and the given $path . If $secure is true , the returned URI will have the https:// schema, otherwise it will have the http:// schema. The...

Contact Us for Questions | Licensing

If you have any questions about these Terms, you may contact us the following ways: Stillat, LLC PO Box 313 31 1st Ave NE Mayville, ND 58257-9998 hello@stillat.com

getRootConditions | Document Structures

Returns all the document's root conditions. This method automatically performs structural analysis. Only structures that appear at the root of the document, without any parent node, will be returned. 1 <?php 2 3 use Illuminate \ Support \...

Overview | Responses and Replies

The {{ meerkat:responses }} tag is your window into the comment data stored for each of your site's pages. This tag and data structure has a lot in common with Statamic's collection tag, but they should not be used interchangeably when displaying...

Disabling Vite File Hashes

Recently I've been working on a rather large rebuild to my personal, Statamic-powered blog. As part of that rebuild I migrated my build processes to Vite, but ran into an issue where I needed the filenames for my CSS, JavaScript, and assets to...

Creating the Route | Laravel Paginator Pretty URLs

We are going to paginate a list of users. We want to display users with the URL format: http://localhost:8000/users/page/{page} . We are going to use a function called getShowResults in our UsersController . We can express this in our routes.php...

Laravel Artisan Config Command: The config:clear Command

The config:clear command is used to remove the configuration cache file created by the config:cache command. By default this command will delete the bootstrap/cache/config.php file. The following example shows how to call the config:clear command:...

Laravel MessageBag Public API: isEmpty

The isEmpty can be used to determine if the collection has items or not. If the collection has no items, true will be returned, otherwise false will be returned. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 // Create a new collection...