Jaypee
Jaypee

Reputation: 53

Function "artisan" is not defined in laravel 5.0.35

Why is that the -php artisan command in composer is not working on laravel5? I don't have any idea with this. Can someone please help? Thanks.

Here is the error in composer:

[Symfony\Component\Console\Exception\CommandNotFoundException] Command "artisan" is not defined.

Upvotes: 0

Views: 1354

Answers (1)

Lijesh Shakya
Lijesh Shakya

Reputation: 2540

Try using the command

php -S localhost:8080 -t public/

Upvotes: 0

Related Questions