infyom skip -файлы.
// file list: migration|model|controllers|api_controller|scaffold_controller|scaffold_requests|routes|api_routes|scaffold_routes|views|tests|menu|dump-autoload
php artisan infyom:api_scaffold Post --skip=routes,migration,model
Pleasant Polecat