Volicon / laravel-acl-rbac

Laravel Acl componnet which can filter urls/requests and models
MIT License
37 stars 11 forks source link

Error show up: There are no commands defined in the "acl" namespace. #4

Closed bennya8 closed 9 years ago

bennya8 commented 9 years ago

I'm using the laravel 4.2, but after type php artisan acl:install commond, the following errors show up, it's that a bug or sth else? please help me out thx

[InvalidArgumentException]
There are no commands defined in the "acl" namespace.

here's my composer.json file { "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "type": "project", "require": { "laravel/framework": "4.2.*", "barryvdh/laravel-debugbar": "~1.8", "gloudemans/shoppingcart": "~1.2", "creolab/laravel-modules": "~0.5.6", "scalia/sphinxsearch": "~0.1.1", "volicon/laravel-acl-rbac": "dev-master" }, "autoload": { "classmap": [ "app/modules", "app/queues", "app/commands", "app/controllers", "app/models", "app/database/migrations", "app/database/seeds", "app/tests/TestCase.php" ] }, "scripts": { "post-install-cmd": [ "php artisan clear-compiled", "php artisan optimize" ], "post-update-cmd": [ "php artisan clear-compiled", "php artisan optimize" ], "post-create-project-cmd": [ "php artisan key:generate" ] }, "config": { "preferred-install": "dist" }, "minimum-stability": "stable" }

nadavvin commented 9 years ago

Hello

Sorry for the late response, only now I noticed that there are issues in the project.

There was a problem that was fixed already, the project is active and maintenance.

I hope that you try again and I will make sure that I get the notices from this project better.

nadavvin commented 9 years ago

You must include the commands in app/start/artisan.php

Artisan::add(new \Volicon\Acl\Commands\InstallCommand); Artisan::add(new \Volicon\Acl\Commands\UpdateCommand);