Showing 10 of 1,204 results.

Laravel URL Helper Function: secure_asset

…on will return a URI composed of the application's URI and the given $path . It internally makes a call to the asset (discussed in the Laravel URL Helper Function: asset article) helper function and always passes true as the argument for the...

Laravel Collection Public API: toJson

…will return a JSON encoded version of the data stored within the collection instance. It internally does this by returning a call to PHP's json_encode function, passing in any $options that were supplied. Like the json_encode function, the...

Laravel String Helper Function: str_replace_last

The replaceLast helper method is the logical opposite of the replaceFirst helper method. It is used to replace the last occurrence of a given $search string with the provided $replace string in the $subject string. ALl three parameters are...

Configuring Favicon Sizes | Favicon Configuration

…izes can be managed within your site's site_essentials/favicons.php configuration file. All favicons must have the following properties: rel, : Added to the output link tag's, rel, attribute, format, : The image format to convert to. This is used...

Laravel 5 Collections: Paginating Collections With forPage

The forPage method is used to implement pagination over collections. The forPage defines two parameters: $page , which is used to tell the collection which "page" should be returned and $perPage , which is used to control the number of items that...

Page Rankings | Thoughts on a "Guidance Engine"

…...content... 5 [variables,next,lesson,(etc)] 6 7 Article Two: Variables 8 -------------- 9 [introduction,lesson,variables] 10 ...content... 11 [functions,lesson,intermediate] And so and so forth. Perhaps this algorithm could pair the articles up...

Front-end: Cannot Convert String to Array | Troubleshooting

If you are receiving an error stating something similar to "Cannot convert string to array" when rendering your front-end pages after generating images, the most common cause is forgetting to add the required fieldset to your blueprints. If the...

Filter Search