Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel artisan command run in route

public function store(Request $request)
{
   Artisan::call("php artisan infyom:scaffold {$request['name']} --fieldsFile=public/Product.json");
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #artisan #command #run #route
ADD COMMENT
Topic
Name
2+8 =