PHPackages                             jdlxnl/jdlx - 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. jdlxnl/jdlx

ActiveLibrary[API Development](/categories/api)

jdlxnl/jdlx
===========

Foundation for rest APIs in Laravel

1.1.9(3y ago)01.3k12MITPHPPHP &gt;=8

Since Dec 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jdlxnl/jdlx)[ Packagist](https://packagist.org/packages/jdlxnl/jdlx)[ RSS](/packages/jdlxnl-jdlx/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (19)Used By (2)

Package
=======

[](#package)

This packages offers a set of tools to support a REST API. It is very biased and does not offer much in the way of configuration.

It can:

- Outputs all responses according to API Responses:
- Generate swagger documentation, by compiling JSON files in a documentation folder
- Assumes sanctum and spatie wildcard permissions

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

[](#installation)

Add the package by loading it through composer.

```
composer require jdlxnl/jdlx
```

Run the following commands to setup the database

```
php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
php artisan vendor:publish --provider="Jdlx\JdlxServiceProvider"

## By default files won't be overwritten. This is good for existing intallations
## For new installation use force to overwrite the following:
##  - router/api.php
##  - app/Models/User.php
##  - app/Exception/Handler.php
##
php artisan vendor:publish --provider="Jdlx\JdlxServiceProvider" --force

php artisan migrate
```

Generate the User scaffold

```
php artisan api:scaffold User
```

Add to `config/app.php` to enable formatted responses

```
    /*
     * Package Service Providers...
     */
     Jdlx\Providers\ResponseServiceProvider::class,
```

Update to `config/permission.php` to allow wildcards

```
    'enable_wildcard_permission' => true,
```

Add to `.env`

```
SANCTUM_STATEFUL_DOMAINS=*.local.me,localhost,localhost:8000,localhost:3000,127.0.0.1,127.0.0.1:8000,::1
SESSION_SECURE_COOKIE=false

```

###### Tips and tricks

[](#tips-and-tricks)

- In JetBreans mark the `publish` folder as excluded to prevent clashes

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.8% 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 ~20 days

Recently: every ~32 days

Total

17

Last Release

1265d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76caab2626cdfa35e2b169e284e6975c83b495f659cd1b21539d4b904f2af071?d=identicon)[jeroendelau](/maintainers/jeroendelau)

---

Top Contributors

[![jeroendelau](https://avatars.githubusercontent.com/u/5286898?v=4)](https://github.com/jeroendelau "jeroendelau (45 commits)")[![Amonhen](https://avatars.githubusercontent.com/u/3227800?v=4)](https://github.com/Amonhen "Amonhen (1 commits)")

### Embed Badge

![Health badge](/badges/jdlxnl-jdlx/health.svg)

```
[![Health](https://phpackages.com/badges/jdlxnl-jdlx/health.svg)](https://phpackages.com/packages/jdlxnl-jdlx)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[rupadana/filament-api-service

A simple api service for supporting filamentphp

204103.8k7](/packages/rupadana-filament-api-service)

PHPackages © 2026

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