Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Antonella's avatar

Command "php" is not defined. for NOva

php artisan php artisan make:policy UserPolicy -m User

Command "php" is not defined.

i am trying to create a policy on Nova but i get this strange error

0 likes
2 replies
Antonella's avatar

i found the typo i had put php artisan twice

Please or to participate in this conversation.