Errors & Logging

Errors & Logging Introduction Configuration Error Detail Log Storage Log Severity Levels Custom Monolog Configuration The Exception Handler Report Method Render Method HTTP Exceptions Custom HTTP Error Pages Logging Introduction When you start a new Laravel project, error and exception handling is already configured for you. The App\Exceptions\Handler class is where all exceptions triggered by your application are logged and then rendered back to the user. We'll dive deeper into thi

Envoy Task Runner

Envoy Task Runner Introduction Installation Writing Tasks Setup Variables Stories Multiple Servers Running Tasks Confirming Task Execution Notifications Slack Introduction Laravel Envoy provides a clean, minimal syntax for defining common tasks you run on your remote servers. Using Blade style syntax, you can easily setup tasks for deployment, Artisan commands, and more. Currently, Envoy only supports the Mac and Linux operating systems.

EnvironmentVariablesLoaderInterface::load()

array load(string $environment = null) Load the environment variables for the given environment. Parameters string $environment Return Value array

EnvironmentVariablesLoaderInterface

EnvironmentVariablesLoaderInterface interface EnvironmentVariablesLoaderInterface (View source) Methods array load(string $environment = null) Load the environment variables for the given environment.

EnvironmentVariables::__construct()

void __construct(EnvironmentVariablesLoaderInterface $loader) The server environment instance. Parameters EnvironmentVariablesLoaderInterface $loader Return Value void

EnvironmentVariables::load()

load(string $environment = null) Load the server variables for a given environment. Parameters string $environment

EnvironmentVariables

EnvironmentVariables class EnvironmentVariables (View source) PHP $_ENV loader for protecting sensitive configuration options. Inspired by the wonderful "Dotenv" library by Vance Lucas. Methods void __construct(EnvironmentVariablesLoaderInterface $loader) The server environment instance. load(string $environment = null) Load the server variables for a given environment.

EnvironmentDetector::detect()

string detect(Closure $callback, array|null $consoleArgs = null) Detect the application's current environment. Parameters Closure $callback array|null $consoleArgs Return Value string

EnvironmentDetector

EnvironmentDetector class EnvironmentDetector (View source) Methods string detect(Closure $callback, array|null $consoleArgs = null) Detect the application's current environment.

EnvironmentCommand::__construct()

void __construct() Create a new console command instance. Return Value void