PHPackages                             julien-r44/laravel-boilerplate-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. julien-r44/laravel-boilerplate-api

AbandonedArchivedProject[Authentication &amp; Authorization](/categories/authentication)

julien-r44/laravel-boilerplate-api
==================================

An API laravel boilerplate.

03[8 PRs](https://github.com/Julien-R44/laravel-boilerplate-api/pulls)PHP

Since Aug 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Julien-R44/laravel-boilerplate-api)[ Packagist](https://packagist.org/packages/julien-r44/laravel-boilerplate-api)[ RSS](/packages/julien-r44-laravel-boilerplate-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

Laravel-boilerplate-api
=======================

[](#laravel-boilerplate-api)

Built on top of :

- [Laradock](https://github.com/laradock/laradock)
- [Laravel-cors](https://github.com/barryvdh/laravel-cors)
- [JWT-auth](https://github.com/tymondesigns/jwt-auth)
- [Laravel-uuid](https://github.com/webpatser/laravel-uuid) (to use UUID as PK for some models)
- [Telescope](https://github.com/laravel/telescope) (only for dev environnement)

Requirements
------------

[](#requirements)

You must have docker and composer installed.

Setup
-----

[](#setup)

By default the boilerplate is using PostgreSQL as RDBMS and Nginx, but you can change it for anything you want. Check the laradock documentation for launching the needed containers. This setup documentation assumes you will using PostgreSQL and Nginx.

```
# Create project from this repository
composer create-project julien-r44/laravel-boilerplate-api myProjectName -s dev
cd myProjectName

# Set the .env file of Laradock. You can customize it for matching your needs.
cp laradock/env-example laradock/.env

# If you run docker on windows check this issue related to postgres container and update your docker-compose.yml https://github.com/laradock/laradock/issues/1188

# Run Nginx, Redis, Postgres and Pgadmin containers
composer dockerize

# Set .env file of laradock project. You may have to edit it according to your needs.
cp .env.example .env

# Access the laradock workspace to run artisan's commands
docker exec -it laradock_workspace_1 bash

# Generate secret keys
php artisan key:generate
php artisan jwt:secret

# Migrate the database
php artisan migrate:fresh --seed

```

You can also access PgAdmin by typing `localhost:5050` in your browser and login with following default credentials ( defined in laradock/.env ) :

-  / admin

Telescope is available by default in : `localhost/telescope`. Telescope is configured to be available only in local environnement.

By default, the Users table is configured to use Uuid as primary key.

Publish it to your git repository
---------------------------------

[](#publish-it-to-your-git-repository)

```
git init
git add *
git remote add origin https://github.com/yourName/yourProject
git push -u origin master

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/54ebd2f66c3c4c67948c4cb90b989f58e2ca3cf0eecfdfedf65ba2d7f4488cee?d=identicon)[Julien-R44](/maintainers/Julien-R44)

---

Top Contributors

[![Julien-R44](https://avatars.githubusercontent.com/u/8337858?v=4)](https://github.com/Julien-R44 "Julien-R44 (13 commits)")

---

Tags

api-restboilerplatecorsjwtlaradocklaravel

### Embed Badge

![Health badge](/badges/julien-r44-laravel-boilerplate-api/health.svg)

```
[![Health](https://phpackages.com/badges/julien-r44-laravel-boilerplate-api/health.svg)](https://phpackages.com/packages/julien-r44-laravel-boilerplate-api)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
