Showing 10 of 1,090 results.

Getting the Environment Name in Laravel 4

…onment into the environmnet() function, Laravel 4 returns a boolean value indicating whether or not our application is running in the environment specified. Both code examples function the same, and which method you use will most likely come down...

Laravel Artisan General Command: The config:cache Command

The config:cache command can be used to create a cache file for the applications configuration files. This cache file will improve the performance when loading the configuration values. This command will first clear any existing configuration...

Building the Front-end

Tidal utilizes Vite to build the front-end assets, both for development and production use-cases. If you haven't already, you will need to install Tidal's front-end dependencies by running the following command from the root of your project: 1 npm...

Introduction & Installation

Search Report for Statamic is a simple Control Panel and utility addon that allows you to log searches made on your site, and view them within Statamic's Control Panel.Search Report for Statamic can be installed by running the following command...

SORT_NATURAL | Laravel Collection Public API: sortBy

The SORT_NATURAL treats each item as a string while using a "natural ordering" algorithm to perform the sorting. The following code example shows how to use the SORT_NATURAL flag when sorting the $collection created previously (the callback...