Showing 10 of 1,322 results.

RSS and Atom Feeds

Tidal integrates the fantastic Feedamic add-on, created by Mity Digital , to create and manage RSS and Atom feeds. The best way to get caught up on how to work with Feedamic is to read the official documentation. The Feedamic configuration file...

Laravel Artisan Tinker: The up Command

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...

Laravel Miscellaneous Helper Function: data_get

data_get($target, $key, $default = null) The data_get function is identical in behavior to both the array_get and object_get function. The difference is that the data_get function will accept both objects and arrays as its $target .

Laravel Artisan Tinker: The show Command

…the global namespace, such as the dd helper function: 1 >>> show dd 2 > 492| function dd() 3 493| { 4 494| array_map(function ($x) { 5 495| (new Dumper)->dump($x); 6 496| }, func_get_args()); 7 497| 8 498| ...

Passing Data to PHP Anonymous Functions

…ice: Undefined variable: valueToCheckAgainst But how come? We obviously declared the variable and we gave it a value! Surely PHP must be playing tricks on us! Drama aside, the reason PHP gives us the error is because anonymous functions execute...

Laravel 5.5 String Helper Function: camel_case

Camel casing is similar to studly case such that each word starts with a capitalized letter, with the difference being the first character is lower cased. Like the studly method, the camel method will not affect the casing of the rest of the word.

Laravel Artisan Queue Command: The queue:work Command

The queue:work command is similar to the queue:listen command, but with a few differences. This command can be used to process only the first job on the queue in a "one off" fashion like so: 1 # Process the first job using the `--once` option. 2...

A Basic Thread | Responses and Replies

The following code snippet will display all root level comments that are available on the current page as unordered list: 1 < ul > 2 {{ meerkat : responses }} 3 {{ comments }} 4 < li > {{ author . name }} says... {{ content }} </ li > 5 {{...

Paginated Comments | Responses and Replies

Meerkat can display your comment threads as a paginated list. Developers familiar with Statamic's collection pagination will be comfortable working with Meerkat's pagination feature. To enable pagination mode when rendering your comment thread,...

Pagination Variables | Responses and Replies

…match the query parameter for this paginator instance. {{ auto_links }} Provides ready-made HTML for the paginated results, built on top of Laravel's paginator. {{ links }} Contains information about each page in the result set to build custom...

Filter Search