Closed pedrambehroozi closed 9 years ago
Make sure you have done the follow, 1.Include "torann/currency": "dev-master" in the composer.js file 2.Include the provides key in the providers array 'Torann\Currency\CurrencyServiceProvider' inside the app/config/app.php file 3.Include the alliases key in the alliases array 'Currency' => 'Torann\Currency\Facades\Currency' inside the app/config/app.php file 4.Create the configuration file running php artisan config:publish torann/currency command from terminal 5.Generate the migration running the php artisan migrate --package=torann/currency command 6.Update the composer running the composer update,or comproser.phar update, command from terminal Hope that helps, I follow those steps without problems using laravel v.4.2.11.
If that doesn't help you make sure to take a look at this, which is a similar situation: http://laravel.io/forum/06-17-2014-artisan-cronjob-there-are-no-commands-defined-in-the-xyz-namespace
Sounds like Currency wasn't added to alliases in the app config
Hi, I followed the installation steps but when I tried to run
php artisan currency:update
it throws anInvalidArgumentException
withThere are no commands defined in the "currency" namespace.
message.Is there something I missed? Thanks Laravel v.4.1.30