Giter Site home page Giter Site logo

ConfigServiceProvider missing about cilex HOT 5 OPEN

cilex avatar cilex commented on July 19, 2024 5
ConfigServiceProvider missing

from cilex.

Comments (5)

olorton avatar olorton commented on July 19, 2024

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.

Wirone avatar Wirone commented on July 19, 2024

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.

Wirone avatar Wirone commented on July 19, 2024

@pemedina: @henrikbjorn's comment shows that igorw/ConfigServiceProvider can be used as replacement.

from cilex.

pemedina avatar pemedina commented on July 19, 2024

@Wirone , Thanks. Actually i solved this just implementing this provider manually:
screenshot 2017-11-10 a la s 11 26 12

, 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.

henrikbjorn avatar henrikbjorn commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.