setting getting config variables in laravel

Using Config files in Laravel 5.4

Laravel provides an easy way to manage the application configration through its config files.In Laravel, all configurations files are stored or kept in config directory of your application. #Structure of Config Directory After installing fresh laravel the config directory looks like below Why to use config files in laravel Config files makes laravel application more […]

Read More

Configuring and using multiple databases in Laravel

Step by step guide to display wordpress posts in Laravel 5.4

Configuring and using multiple databases in Laravel | Fetching WordPress posts in Laravel | Creating Global scopes in Laravel Models laravel 5 multiple databases | laravel model database laravel 5.2 multiple databases laravel 5 dynamic database connection laravel dynamic database connection | laravel change default database connection laravel change database connection laravel multiple db connections […]

Read More

Reading writing and deleting a File from disk or filesystem in Laravel 5

An Introduction To Laravel’s FileSystem Laravel uses Frank de Jonge PHP Package For managing Filesystem.Laravel provides simple drivers to manage local filesystem, Amazon S3, and Rackspace Cloud Storage.You can easily switch between these filesystems with no change in API’s. Configuration Laravel makes Filesystem configuration is an easy task, the configuration of filesystem is located at […]

Read More

configuring database in laravel

Configure database in Laravel 5.4

Configuring Database in laravel 5.4. Laravel Provides simple steps to connect with various Databases. Currently Laravel supports four databases :- MySQL Postgres SQLite SQL Server Laravel database configuration file is located as config/database.php .Here you can define all of your database connections. Below are the steps to configure database in Laravel. MySQL Database Configuration In […]

Read More