syaifulsz / sesimple-framework

A simple object oriented PHP framework to help you built something as fast as possible with very minimal feature. #SesimpleYangBoleh
1 stars 0 forks source link

Adding .env support for Configs #1

Open arifulhb opened 6 years ago

arifulhb commented 6 years ago

Great initiative and can be a micro framework with some detailed documentation and database support. Current configs are hard coded and all data are available in public.

I've forked the framework and in few days will add .env support for config files. Hopefully, it will help.

syaifulsz commented 6 years ago

Yeah, sure thanks @arifulhb ! For other project, I'm actually extended the framework quite bit by other vendor via composer depends on requirement. For database, I've migrated illuminate/database#5.6 independently. Works like charm!

P/S: https://www.tengokwayang.com is actually using the same framework.

arifulhb commented 6 years ago

Building an application without .env is fine, but it's necessary when you want to opensource your project. It will save from hassle of removing credentials from the app before pushing to GitHub or other git repo.