avanzu / AdminThemeBundle

Admin Theme based on the AdminLTE Template for easy integration into symfony
MIT License
281 stars 149 forks source link

Symfony doesn't found avanzu command #246

Closed Cellendhill closed 4 years ago

Cellendhill commented 6 years ago

BUG REPORT:

I just install this bundle in my composer: "avanzu/admin-theme-bundle": "dev-master" and it seems that symfony doesn't founds avanzu commands, by the way i added the bundle in my AppKernel.php.

Debug info

Component Version
Symfony version v4.1
AdminThemeBundle dev-master
Operating System GNU/Linux
oldy777 commented 6 years ago

Pull request on this issue wait from january ((( You can add commands in your service.yml file

Avanzu\AdminThemeBundle\Command\:
        resource: ../vendor/avanzu/admin-theme-bundle/Command
        tags: [console.command]
Cellendhill commented 6 years ago

Hello,

Thank you for your answer, I switch in the past to the repository "avanzu/admin-theme-bundle": "dev-kevinpapst", and it works, but yesterday, i've got an error on it, it doesn't have the directory "Command", so it canno't work anymore.

By the way, i switch back to "avanzu/admin-theme-bundle": "dev-master" and see your answer, so I add


    Avanzu\AdminThemeBundle\Command\InitializeCommand:
        tags: [console.command]
        public: true
    Avanzu\AdminThemeBundle\Command\BuildAssetsCommand:
        tags: [console.command]
        public: true
    Avanzu\AdminThemeBundle\Command\CompactVendorCommand:
        tags: [console.command]
        public: true
    Avanzu\AdminThemeBundle\Command\FetchVendorCommand:
        tags: [console.command]
        public: true

to my services.yml and it works again, thank you for your work.

shakaran commented 5 years ago

The branch with experimental support for symfony 4.x is under https://github.com/avanzu/AdminThemeBundle/tree/experimental-symfony-4.x

shakaran commented 4 years ago

To test experimental:

composer require avanzu/admin-theme-bundle:dev-experimental-symfony-4.x

or

composer require shakaran/admin-theme-bundle:dev-experimental-symfony-4.x

shakaran commented 4 years ago

@Cellendhill @oldy777 This is now solved is master branch. You can test if you want. Closing as solved