Looking to hire Laravel developers? Try LaraJobs

laravel-api-starter-kit maintained by jonas-amilton

Description
API-only starter kit in Laravel 13 with JWT auth, OpenAPI docs, and JSON root endpoints.
Last update
2026/11/29 00:28 (dev-main)
License
Links
Downloads
4

Comments
comments powered by Disqus

Laravel API Starter Kit

An API-only starter kit built with Laravel 13, featuring JWT authentication (php-open-source-saver/jwt-auth), automatic OpenAPI 3.1 documentation (dedoc/scramble), and clean JSON root endpoints without frontend tooling overhead.

Installation

You can create a new project using either the Laravel Installer or Composer (create-project).

Using Laravel Installer (--using)

  1. Create a new project from this starter kit:
laravel new project-name --using=jonas-amilton/laravel-api-starter-kit
  1. Enter the project directory, configure your database credentials in .env, and generate the JWT secret key:
cd project-name
php artisan jwt:secret
php artisan migrate

Using Composer (create-project)

  1. Scaffold the project directly via Composer:
composer create-project jonas-amilton/laravel-api-starter-kit project-name
  1. Enter the directory, configure your .env database settings, and generate the JWT secret:
cd project-name
php artisan jwt:secret
php artisan migrate

(Note: This is an API-only starter kit—no Node.js or npm build step is required.)

Running the Application

Start the local development server:

php artisan serve
  • API Status: http://127.0.0.1:8000/ and http://127.0.0.1:8000/api
  • OpenAPI Documentation (Scramble): http://127.0.0.1:8000/docs
  • OpenAPI JSON Spec: http://127.0.0.1:8000/docs.json
  • Test Suite: php artisan test

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

In addition, Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

You can also watch bite-sized lessons with real-world projects on Laravel Learn, where you will be guided through building a Laravel application from scratch while learning PHP fundamentals.

Agentic Development

Laravel's predictable structure and conventions make it ideal for AI coding agents like Claude Code, Cursor, and GitHub Copilot. Install Laravel Boost to supercharge your AI workflow:

composer require laravel/boost --dev

php artisan boost:install

Boost provides your agent 15+ tools and skills that help agents build Laravel applications while following best practices.

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.