PHPackages                             idler8/laravel-just-it - 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. [Framework](/categories/framework)
4. /
5. idler8/laravel-just-it

ActiveLibrary[Framework](/categories/framework)

idler8/laravel-just-it
======================

Rapid development kit for application interfaces based on Laravel

1.0.5(5mo ago)06MITPHP

Since Jan 2Pushed 5mo ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (5)Used By (0)

Laravel Just it
===============

[](#laravel-just-it)

Introduction
------------

[](#introduction)

Rapid development toolkit for application programming interfaces based on Laravel.
Use it to avoid repetitive CRUD development and not hinder your normal development habits.
Use it to generate standard documentation for your API.

Getting Started
---------------

[](#getting-started)

`composer require idler8/laravel-just-it`

```
Route::middleware('api')
    ->namespace('Justit')
    ->prefix('r')
    ->group(function () {
        Route::get("/", function(){
            $apis = \Justit\ApiDocument::document('api');
            $resources = \Justit\Resource::document();
            return [ 'apis' => $apis,'resources'=> $resources];
        });

        Route::post("{name}", "Controller@store");
        Route::delete("{name}/{id}", "Controller@destroy");
        Route::put("{name}/{id}", "Controller@update");
        Route::get("{name}/{id}", "Controller@show");
        Route::get("{name}", "Controller@index");
        Route::get("{name}/{pre_page}/{page}", "Controller@paginate");
    });
```

For the configuration of Route, please refer to the official documentation of [Laravel](https://laravel.com/docs/routing#parameters-and-dependency-injection)

```
/**
 * This method is used to extract API documentation
 * Methods without general annotations will not be extracted
 */
dd(\Justit\ApiDocument::document('api'/** prefix of middleware */));
[[
    "key" => "Controller@method",
    "name" => "From the first line of the general comment on the method",
    "describe" => "From the latter line of the general comment on the method",
    "parameters" =>  [[
        "key" => "The first part from @param",
        "name" => "The latter part from @param"
    ]],
    "urls" => ["METHOD:uri"]
]]
/**
 * This method extracts Model class documents from all app/Models directories
 * Classes that are not Model or have no general annotations will not be extracted
 */
dd(\Justit\Resource::document('App\\Models\\'/** prefix of namespace */));
[[
    "key" => "Name of Model (using. instead of subfolders delimiter)",
    "name" => "From the first line of the general comment on the class",
    "describe" => "From the latter line of the general comment on the class",
    "parameters" => [[
        "key"=>"Data table field names",
        "name"=>"Data table field comments"
    ],[
        "key"=>"(:)prefix to scope name",
        "name"=>"Function Comments"
    ],[
        "key"=>"-/+",
        "name"=>"Special parameters"
    ]],
    "relations" => [[
        "key"=>"The name of the method that will explicitly output a Relation(hasOne/hasMany)",
        "name"=>"Function Comments "
    ]]
]]
/**
 * Retrieve all resource data
 */
Http::get('/r/{resource.key}?key=value');
/**
 * Retrieve resource pagination data
 */
Http::get('/r/{resource.key}/{per_page}/{page}?key=value');
/**
 * Retrieve single resource pagination data
 */
Http::get('/r/{resource.key}/{id/+/-}?key=value');
/**
 * Destroy single resource pagination data
 */
Http::delete('/r/{resource.key}/{id/+/-}?key=value');
/**
 * Update single resource pagination data
 * Query is only used for retrieval
 */
Http::put('/r/{resource.key}/{id/+/-}?key=value',['key'=>'value']);
/**
 * Insert single resource pagination data
 */
Http::post('/r/{resource.key}',['key'=>'value');
```

For more practical methods, please refer to the [source code](/src) or [test cases](/docker/tests)

Test Environment
----------------

[](#test-environment)

```
# Run a Docker testing environment
docker run --rm -it -v $PWD:/app $(docker build -f ./docker/Dockerfile . -q)
# Copy test cases & Run test
php artisan justit
```

If files in the [docker](/docker) directory are deleted, it is recommended to restart the Docker based testing environment.

License
-------

[](#license)

Laravel Just it is open-sourced software licensed under the [MIT license](LICENSE.md).

Why develop it
--------------

[](#why-develop-it)

This is one of the achievements of my years of development experience. I have used it in many projects and it has helped me develop multiple new full stack projects simultaneously in a very short period of time. I included it in my college graduation thesis, but my teacher criticized it as useless. I want to know the public's opinion on this, so I put it here.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance72

Regular maintenance activity

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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 ~111 days

Total

4

Last Release

160d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d53e9490c078e173b9cc0951e8305b78cac6855edd03fbfa210b8a47e75082d?d=identicon)[idler8](/maintainers/idler8)

---

Top Contributors

[![idler8](https://avatars.githubusercontent.com/u/50684820?v=4)](https://github.com/idler8 "idler8 (12 commits)")

---

Tags

laravelrestfuljustit

### Embed Badge

![Health badge](/badges/idler8-laravel-just-it/health.svg)

```
[![Health](https://phpackages.com/badges/idler8-laravel-just-it/health.svg)](https://phpackages.com/packages/idler8-laravel-just-it)
```

###  Alternatives

[laravel/nightwatch

The official Laravel Nightwatch package.

3486.1M13](/packages/laravel-nightwatch)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11812.4k21](/packages/kompo-kompo)

PHPackages © 2026

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