Tag Archives: CONFIGURATION

Laravel: Accessing Configuration Values

All of the configuration files for the Laravel framework are stored in the config directory with each configuration option properly documented. Accessing Configuration Values You can access your configuration values using the global config(‘‘, ‘‘) helper function from anywhere in your application. For Example: You can access configurations from config/app.php configuration file like below:

NOTE: After making… Read More »

Laravel: Installation of Laravel using composer and Configuration

Steps to Installation of Laravel(Considering Laravel 5.6 version) Server Requirements The Laravel framework has a few system requirements. So, you will need to make sure your server meets the following requirements: PHP >= 7.1.3 OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension XML PHP Extension Ctype PHP Extension JSON PHP Extension… Read More »

Zend Framework 2: Local and Global configuration files

Zend Framework 2: Local and Global configuration files In any application, we have some information/settings which are dependent/independent on the application environment. For handling these information, ZF2 provides local and global configuration files. The config_glob_paths key in the main application file(application.config.php) specify the location and naming of additional configuration files which may be loaded. By… Read More »