Showing 10 of 1,204 results.

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

…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 work. The terms of this License will continue to apply to...

Laravel Localization: The File Loader

…system. The language files are loaded from the /resources/lang/ directory by default. The lang/ directory contains the en (English from the ISO 639-1 standard) sub-directory by default. Each sub-directory within the lang/ directory corresponds to...

Install Asset Container | Artisan Commands

…llowing command from the root of your project: 1 php artisan social-media-image-kit:install-asset-container You will be prompted to select the storage disk when creating the asset container using this command. This command should only be run once...

Laravel String Helper Function: str_plural

…. It does this through a series of specialized internal functions, that will not be covered in great detail here. This helper method will apply general rules to strings ending in common character sequences, handle special cases and will not...

Generating Favicons

…e favicons using the Favicons facade: 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Favicons ; 4 5 Favicons :: generate ( ) ; Typical use-cases for doing this are listening for changes to assets contained in a global set,...

Laravel 5: Accessing the Authentication Manager With auth

…ing the `Auth` facade. 4 $ currentUser = Auth :: user ( ) ; 5 6 // Get the current user using the `auth` helper. 7 $ currentUser = auth ( ) -> user ( ) ; You can quickly access any custom authentication guards by supplying an argument for the...

Storing the Current Page's URL | Laravel Paginator Pretty URLs

…... What the above code will do is take the current page URL, for example http://localhost:8000/users , followed by a forward slash, the pagination page name (usually page ), another forward slash and finally the current page number. So we will...

Filter Search