Showing 10 of 1,322 results.

Example Use | Laravel 5: String Translation Public API

…no es locale by default. The method call returns true because Laravel supports a fallback locale, which will be used to look up translations if a translation does not exist for a particular locale. The method call can be forced to return false by...

Laravel Collection Public API: all

…e demonstrates the usage of the all method: 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 $ items = [ 6 ' first ' => ' I am first ' , 7 ' second ' => ' I am second ' 8 ] ; 9 10 $ collection = Collection :: make ( $ items ) ; 11 12 $...

13. Use with the GNU Affero General Public License. | License

Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting...

Laravel Artisan Generator Command: The make:job Command

The make:job command is used to create a new job class. A name must be supplied that will be used as the name of the newly generated class and file. An optional --sync flag can be set to indicate that the created job should be synchronous....

Laravel Helper Function: config

…If the supplied $key and $default value are both null, such as in the following method call: 1 <?php 2 3 // Calling the `config` function without any arguments 4 config ( ) ; the return value will be, by default, an instance of...

PostImage | The Statamic Add-on Roundup

You may have noticed that there are many different sizes of "post images" on this site. One of the first versions of the site that I built used an image with the same dimensions for each place a blog post might appear. For example, on the home...

A Beginners Guide to Antlers Arrays and Loops

…our Antlers journey, this task can initially seem confusing or unobvious, mainly because there are no language constructs like "for" (there is a foreach tag, but we use that to iterate key/value pairs, which we will get to later). Instead of...

Specifying Feed Images | RSS and Atom Feeds

Feedamic supports adding an asset image to the generated RSS/Atom feeds. Instead of adding a new field to manage this, Tidal can use one of the social media images it generated. You may specify which social media image you'd like to utilize by...

Filter Search