Giter Club home page Giter Club logo

silex-doctrine-migrations-provider's People

Contributors

breenie avatar hkdobrev avatar mbezhanov avatar mikesimonson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

silex-doctrine-migrations-provider's Issues

PSR-4

Autoloading could be changed from PSR-0 to PSR-4. That would keep the same namespaces, but would reduce the nested folders.

Support Pimple 3.x without Silex

@breenie What do you think of supporting Pimple-only installation when Silex is not present? I think this is the recommended way as it's more portable and could be used in projects using Doctrine and Pimple without using Silex. That's why the service provider was moved from Silex to Pimple and also why Silex now publish their providers as a separate Composer package.

This means not using the BootableProviderInterface. We could move everything to register() and make things more lazy. Getting the configuration object would be lazy through Pimple. The only obstacle is adding the commands - if we add them in the register method then the configuration would be retrieved from the container before any option overriding from the user has been applied. So we could still add the commands in the boot method, but if you are not using Silex you'd just need to add the commands yourself or even better - call the boot method on the provider yourself and it'd add the commands for you.

How do you feel about that? Do you want me to make a PR with the described suggestions so we could discuss a concrete implementation?

Howto

Hi all,

I am not totally sure that your tool is what I am looking for.

Can I generate the migration diff from the current database state? If yes, how should I proceed?

Thanks for your help.
Timothée

Develop branch

Could you clarify which branch should be used to base pull requests against? I see you are merging things to the develop branch, but the default branch of the repo is master.

Personally I don't see why you'd need both branches in a small repository such as this. For me the GitHub flow of merging into master and tagging releases from there is working fine.

Anyway, using the develop branch or not is up to you, but a clarification of what to base PRs against would be very welcome. Probably in CONTRIBUTING.md.

Thanks!

Silex 2.x support

This service provider supports only Silex 1.x. It would be great if it's migrated to support Silex 2.x with the new structure of service providers.

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.