Download the PHP package mrsuner/laravel-api-boilerplate without Composer

On this page you can find all versions of the php package mrsuner/laravel-api-boilerplate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-api-boilerplate

Laravel API Boilerplate

A robust starter template designed to streamline RESTful API development with Laravel 13. This boilerplate comes pre-configured with essential tools and libraries to ensure code quality, documentation, and maintainability.

Tests Latest Version on Packagist

Why another boilerplate?

Recently I have discovered some baas services and project, e.g. supabase, firebase, pocketbase and Tailbase. They are great and can help developers a lot to sketch up a prototype quickly.

However, AI has been bring in a huge changes with the development workflow, and those baas services' advantages are becoming less obvious. With AI, developers can generate code snippets, database schemas, and even entire modules in seconds. This significantly reduces the time and effort required to build backend services from scratch. And the most important part is that Laravel provides a clean and elegant syntax, making it easier to read and maintain the code, a better development experience and native scalability -- you don't need to worry about outgrowing the platform's limitations and vendor lock-in.

This boilerplate is target to let any developers familiar with Laravel to quickly start a new API project with best practices and essential tools pre-configured, so they can focus on building features and delivering value. it may not suit for all scenarios, but it's a better replacement for those BaaS services for most projects.

🚀 Features

📚 Documentation

Per-feature docs live in docs/. The index links every module — start there or jump straight to what you need:

Area Doc
Auth overview & route reference docs/authentication.md
OTP / passwordless docs/otp.md
OAuth / social login docs/social-auth.md
Email verification docs/email-verification.md
Password policy docs/password-policy.md
Rate limiting docs/rate-limiting.md
API responses & exception envelope docs/api-responses.md
RBAC (roles & permissions) docs/rbac.md
File uploads (TTL + cleanup) docs/files.md
Auth event email notifications docs/notifications.md
Roadmap memo docs/devlog/2026-05-10-boilerplate-roadmap.md

🛠 Installation

Choose one of the following installation paths.

GitHub Template

Click Use this template on the GitHub repository, create your application repository, then clone it locally. This is the recommended path when you want a fresh Git history and GitHub repository workflow.

Composer

Composer creates a clean application without the boilerplate's Git history, copies .env.example, generates APP_KEY, creates the default SQLite database, and runs migrations.

Git clone

Clone preserves the boilerplate repository history. Remove or replace the origin remote before starting your own project.

Finish a Template or clone installation

SQLite works by default. Configure another database in .env before migration when required.

⚡ Usage

Development Server

Start the local development server:

Or separately:

Running Tests

Execute the test suite using PHPUnit:

Code Formatting

Fix code style issues using Laravel Pint:

Generating API Documentation

Generate static HTML documentation:

📦 Key Packages

📄 License

Laravel API Boilerplate is open-sourced software licensed under the MIT license.


All versions of laravel-api-boilerplate with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
knuckleswtf/scribe Version ^5.6
laravel-notification-channels/fcm Version ^6.1
laravel/framework Version ^13.0
laravel/sanctum Version ^4.0
laravel/socialite Version ^5.24
laravel/tinker Version ^3.0
santigarcor/laratrust Version ^8.5
spatie/laravel-data Version ^4.18
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mrsuner/laravel-api-boilerplate contains the following files

Loading the files please wait ...