- Use composer to install illuminate/database
composer require illuminate/database
- Place database.php and its contents wherever you would like (preferebely at
config/database.phporbootstrap.php)
note the path used since we will use that path at our files
- Create any php script and start using it like
any.phpfile while noting the path to be valid to you