eugenevdm / helpers
Random helpers.
Installs: 8
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/eugenevdm/helpers
README
Load Config Values
Setup
- Create folder off \ called config
- Create file called "config.php", e.g. ssh.php
return [ 'host' => 'host.domain.com', 'username' => 'username', 'password' => 'password', ];
Make sure you have a .gitignore file something like:
# Created by .ignore support plugin (hsz.mobi) .gitignore .idea/ vendor/ config/ <-- Make sure you have this entry!
Usage
$config = \Helpers\Helpers::Config('ssh');