Showing 10 of 2,044 results.

Step 2: The Paginator View | Semantic UI Paginator for Laravel 4

…n a folder that I named semantic . The paginator view looks like this: 1 <?php 2 $ presenter = new SemanticPresenter ( $ paginator ) ; 3 ? > 4 5 <?php if ( $ paginator -> getLastPage ( ) > 1 ) : ? > 6 < div class = " ui pagination menu " > 7...

12. No Surrender of Others' Freedom. | License

…satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying...

Social Media Images

…age social media images for your documentation site.Tidal expands on the Social Media Image Kit configuration and allows you to specify a social media image profile that will be used when creating RSS/Atom feeds. You can specify which image...

Laravel's Bcrypt Hasher

…g code sample would return an instance of the Bcrypt hasher by default: 1 <?php 2 3 // Get a new Bcrypt instance. 4 $ hasher = app ( ' hash ' ) ; The Bcrypt hasher is also used by the bcrypt application helper function. It actually uses the above...

Laravel Artisan Tinker: The whereami Command

…an be used to approximate where you are currently executing code within your code base. Starting a fresh Tinker REPL session and issuing the whereami command produces these results: 1 >>> whereami 2 31| $kernel =...

Text Extraction and Node Content Changes | Text Extraction

The text extraction methods interact with the original content analyzed by the parsers and related systems. Suppose you have changed a node's content or other properties. In that case, you will need to create a new Document instance by calling the...

URL | Open Graph Metadata

The url method queues a <meta property="og:url" content="..."> tag. By default it binds to the $current_full_url variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned variable. 6...

route($channel, $route) | Laravel 5 Facades

The route method allows for the sending of notifications in an ad-hoc fashion. The following example demonstrates the basic usage of the route method for sending a notification to someone who has purchased something: 1 Notification :: route ( '...

Laravel 5: Getting Array or Object Values With data_get

…oth objects and arrays as its $target input value.The signature of the data_get function is: 1 function data_get ( 2 $ target , 3 $ key , 4 $ default = null 5 ) ;If we had the following code in our application: 1 $ arrayValue = [ 2 ' green ' => '...