Comments (5)
I don't know the intent for removing this, but here's a PR to re-add it. I'll take a stab at updating the readme as well.
from cilex.
AFAIS this provider was removed in #54, I don't know yet what is the current way of configuration since readme in 2.0.0 still contains ConfigServiceProvider
usage reference. Today we wanted to bootstrap new simple app from other our project but wanted to upgrade Cilex and we are confused too with this change.
from cilex.
@pemedina: @henrikbjorn's comment shows that igorw/ConfigServiceProvider can be used as replacement.
from cilex.
@Wirone , Thanks. Actually i solved this just implementing this provider manually:
, so in my app i use
$this->register( new ConfigServiceProvider(), ['config.path' => APP_PATH . "/config/$environment.yml" ] );
where ConfigServiceProvider is:
https://gist.github.com/pemedina/a2d620441586f12f639cb54d761e8f93
I'm aware that @igorw 's code has more features and i'l prolly use it. I just solved the issue this way.
from cilex.
You can also use this https://github.com/flint/tacker (http://flint.readthedocs.io/projects/tacker/en/latest/) with https://github.com/flint/Brick/blob/master/src/Provider/TackerServiceProvider.php :) Totally not self promotion :)
from cilex.
Related Issues (20)
- What's the best way to access the application (and by extension app configuration) from the command class? HOT 2
- create a phar project with cilex as dep HOT 2
- Changing Output, and Input HOT 2
- Tag a new stable release HOT 3
- Dependency issues with latest pimple v1.1.x HOT 1
- Move to Pimple 2.* HOT 5
- Cilex/Silex ServiceProvider Incompatibility HOT 3
- Update ConsoleServiceProvider to use Pimple's ServiceProviderInterface HOT 2
- Replace PharCompiler with box-project HOT 2
- cilex.phar has errors
- cilex.phar has errors HOT 3
- Generating loads of commands dynamically from config files HOT 1
- ReadTheDocs.org HOT 1
- Add dependency support for pimple ~2.0 HOT 6
- Need new label HOT 1
- Impossible install branch develop HOT 1
- Is this package still being maintained ?
- Nested commands HOT 1
- Update the download link for box
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cilex.