Showing 10 of 2,055 results.

Getting the Environment Name in Laravel 4

…your development machine and the production environment is the server where your end users access the application. Using environments, our Laravel 4 application can automatically change to a different database server or use a different cache...

Temporary/Ephemeral Links | Custom Metadata Tags

…etadata. This metadata will only persist for the current request, even when using the static site generator. A common example of ephemeral data is when using the se_meta:paginate tag. To queue custom, ephemeral, metadata, we can use the ephemeral...

Fluent and Closures | Laravel Fluent Part Two: The Public API

If we look at the following code example, one might be tempted to say that the value of $message would be Hello, world! , but that would be incorrect: 1 <?php 2 3 $ testObject = new stdClass ; 4 $ testObject -> method = function ( ) { 5 return '...

Multiple Pagination Instances | Responses and Replies

In the previous section, you may have noticed that the examples and descriptions were careful to mention that some values apply to the "current instance". This is because Meerkat allows you to have multiple threads on a single page, and if they...

Laravel Array Helper Function: array_get

get($array, $key, $default = null) The get helper method will retrieve an item from the given $array using dot notation. This allows developers to retrieve items from the array at arbitrary depths quickly, without having to use PHP's array syntax....