Skip to content

Laravel API GeneratorOne command. Your whole Laravel API.

Models, services, DTOs, policies, written tests and docs: generated in 30 seconds, with zero lock-in.

Laravel API GeneratorLaravel API Generator

30 seconds, start to finish

bash
composer require --dev nameless/laravel-api-generator

php artisan make:fullapi Post --fields="title:string,status:enum(draft,published)" --pest
php artisan test

Three commands, and the test suite is already green. The tests come with the API.

See it in action

make:fullapi terminal demo

make:fullapi turns one line into twelve files and a registered route: model, controller, service, DTO, requests, resources, policy, migration, factory, seeder and two test suites.

The make:fullapi command →