sk4yb3n
sk4yb3n

Reputation: 254

Unable to install Laravel's 5 cashier/stripe packages

I have put the "laravel/cashier": "~5.0" line in my composer.json file, updated it;

Next, I have put the line 'Laravel\Cashier\CashierServiceProvider' into $providers array in, app.php

Then, in cmd when I try to migrate table, php artisan cashier:table builder, i get the message:

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

Then, when I type: php artisan, there is no cashier:table command, what and where is the problem?

Upvotes: 3

Views: 903

Answers (1)

gghughunishvili
gghughunishvili

Reputation: 66

I had same problem and when I run that commands php artisan config:cache and php artisan clear-compiled it worked...

Upvotes: 2

Related Questions