Showing 7 of 1,697 result(s)
The up command is used to take an application out of maintenance mode. It does this by removing a file named down from the application's framework storage directory (by default this is storage/framework/ ). This command performs the same action as...
If you already have a Cron expression and would just like to use the expression instead of the methods on the Event classes, you may set the expression using the event's cron method:
Meerkat is an add-on that provides a flat-file comment system for Statamic sites; it was designed to be as familiar to users coming from WordPress as possible while also taking advantage of Statamic features. It is a commercial add-on; this is...
The RouteList is another add-on that is freely available to the Statamic community (you can read specific details about it at https://github.com/JohnathonKoster/statamic-route-list-command ). I am really comfortable developing applications with...
…format the given $title to resemble a URI slug. It does this through a series of steps: Convert the, $title, to ASCII formatting (using the, ascii, function, along with the provided, $language, );, Converts whitespace, dashes, underscores to the,...
The contains helper method will check if any of the $needles are in the given $haystack . If any of the given $needles are found in the $haystack , the method will return true , otherwise it returns false . $needles can be any value that can be...
Here are a few examples with the result above the function call in comments: The kebab helper method is simply a wrapper around the snake helper method. Calling kebab($value) is equivalent to calling snake($value, '-') .