PHPackages                             dynamics-unlimited/laravel-api-template - 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. [API Development](/categories/api)
4. /
5. dynamics-unlimited/laravel-api-template

ActiveProject[API Development](/categories/api)

dynamics-unlimited/laravel-api-template
=======================================

Generic API template for Kairnial projects.

1.0.1(3y ago)026PHPPHP ^8.1

Since Apr 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dynamics-unlimited/laravel-api-template)[ Packagist](https://packagist.org/packages/dynamics-unlimited/laravel-api-template)[ RSS](/packages/dynamics-unlimited-laravel-api-template/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Notifications preferences micro-service

Installation
------------

[](#installation)

- Install the [WSL with UbuntuV22.04](https://github.com/dynamics-unlimited/wsl-install)
- If Postgresql and its php drivers are not installed in the WSL, install them
- Create a new Postgresql database using the `init-db.sh` script (adjust the user and database name inside)
- From your Ubuntu terminal, navigate to the root of the project, and execute

```
composer install

```

- Then execute the database's migrations

```
php artisan migrate

```

- To add some test data to your database, execute

```
php artisan db:seed

```

Creating a project from this template
-------------------------------------

[](#creating-a-project-from-this-template)

Use composer to create a new project based on this template using:

```
composer create-project dynamics-unlimited/laravel-api-template

```

Environment variables
---------------------

[](#environment-variables)

Copy/paste .env.example then rename the new file into '.env'. Update the content of the file according to your environment.

JWT key
-------

[](#jwt-key)

Copy the **public** key for the appropriate environment to `storage/app/keys/public` (public being a file).

Api documentation
-----------------

[](#api-documentation)

To generate the api documentation use:

```
php artisan l5-swagger:generate

```

The swagger documentation is accessible using this route {{url}}/api/documentation

The redoc documentation is accessible using this route {{url}}/api/redoc

Notes for deploy
----------------

[](#notes-for-deploy)

Execute the following command:

```
php artisan l5-swagger:generate

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~8 days

Total

2

Last Release

1117d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecc7ff277a409834ccb2abc0a923a70bf57477a3865309dc04cf25cceafde151?d=identicon)[kairnial](/maintainers/kairnial)

---

Top Contributors

[![nicolas-girod](https://avatars.githubusercontent.com/u/28865054?v=4)](https://github.com/nicolas-girod "nicolas-girod (2 commits)")

---

Tags

apikairnialchange-me

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dynamics-unlimited-laravel-api-template/health.svg)

```
[![Health](https://phpackages.com/badges/dynamics-unlimited-laravel-api-template/health.svg)](https://phpackages.com/packages/dynamics-unlimited-laravel-api-template)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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