Git Product home page Git Product logo

doctrine-enum-type-bundle's People

Contributors

danaki avatar thomascrepain avatar vdwijngaert avatar vilsafur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

doctrine-enum-type-bundle's Issues

Please release on Packagist

The package seems to work for me. I'd love to have it available on Packagist and properly tagged so that I don't have dev-master in my composer.json. Please release it!

Release for symfony 6

Hi, could you make a release for symfony 6?

composer require danaki/doctrine-enum-type-bundle
Using version ^0.2.2 for danaki/doctrine-enum-type-bundle
./composer.json has been updated
Running composer update danaki/doctrine-enum-type-bundle
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires danaki/doctrine-enum-type-bundle ^0.2.2 -> satisfiable by danaki/doctrine-enum-type-bundle[0.2.2].
    - danaki/doctrine-enum-type-bundle 0.2.2 requires symfony/framework-bundle ^5.0|^4.0 -> found symfony/framework-bundle[v4.0.0, ..., v4.4.34, v5.0.0, ..., v5.4.1] but it conflicts with your root composer.json require (6.0.*).

Thank you.

Namespace errors

Hi there,
Sorry in advance if this is a dumb question

I was giving this a try as a potentially cleaner way to get myclabs/php-enum and acelaya/doctrine-enum-type up and running with a Symfony 4 project I'm working on, but couldn't get it to load properly.
I've tried cloning the bundle under vendors and adding the following reference under config/bundles.php:
Danaki\DoctrineEnumTypeBundle\DanakiDoctrineEnumTypeBundle::class => ['all' => true]

But it still throws an error:

PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DanakiDoctrineEnumTypeBundle" from namespace "Danaki\DoctrineEnumTypeBundle".
Did you forget a "use" statement for another namespace? in /srv/api/src/Kernel.php:33
Stack trace:
#0 /srv/api/vendor/symfony/http-kernel/Kernel.php(405): App\Kernel->registerBundles()
#1 /srv/api/vendor/symfony/http-kernel/Kernel.php(120): Symfony\Component\HttpKernel\Kernel->initializeBundles()
#2 /srv/api/vendor/symfony/framework-bundle/Console/Application.php(65): Symfony\Component\HttpKernel\Kernel->boot()
#3 /srv/api/vendor/symfony/console/Application.php(145): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /srv/api/bin/console(39): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#5 {main}
thrown in /srv/api/src/Kernel.php on line 33

I'm wondering if it's related to the fact that DanakiDoctrineEnumTypeBundle.php has a reference to the container that doesn't seem to have been injected.

Any ideas? Or did you find another way to work with enums in Symfony 4?

php 8

Hi,

Can you take into account php 8?

Currently, when composing update, we have this message:

danaki/doctrine-enum-type-bundle 0.2.1 requires php ^7.1 -> your PHP version (8.0.0RC5) does not satisfy that requirement.

Release for symfony 5

Hi, could you make release for symfony 5?

Using version ^0.1.0 for danaki/doctrine-enum-type-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.0.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for danaki/doctrine-enum-type-bundle ^0.1.0 -> satisfiable by danaki/doctrine-enum-type-bundle[0.1].
    - danaki/doctrine-enum-type-bundle 0.1 requires symfony/framework-bundle ^4.0 -> no matching package found.

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.