PHPackages                             medianet-dev/api-tool-kit - 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. medianet-dev/api-tool-kit

ActiveLibrary[API Development](/categories/api)

medianet-dev/api-tool-kit
=========================

Set of tools to build an api with laravel

1.5.0(1y ago)01.3k↑16.7%MITPHPPHP ^8.0|^8.1|^8.2

Since Jan 31Pushed 1y agoCompare

[ Source](https://github.com/Medianet-Tunisia/api-tool-kit)[ Packagist](https://packagist.org/packages/medianet-dev/api-tool-kit)[ RSS](/packages/medianet-dev-api-tool-kit/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (8)Versions (9)Used By (0)

 MEDIANET API tool kit
======================

[](#-medianet-api-tool-kit)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ed0f692be6c46bc18eed48f4dace2eed582448f047a861f3de6dfab4be506d76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4d656469616e65742f6170692d746f6f6c2d6b69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/medianet-dev/api-tool-kit)[![Total Downloads](https://camo.githubusercontent.com/80c3e8f64220f785a21e7a0660ecfbcd9c3c365c7fcbab827ff310f691162b83/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4d656469616e65742f6170692d746f6f6c2d6b69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/medianet-dev/api-tool-kit)

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

[](#introduction)

Elevate your development journey with high-performance APIs using the API Toolkit. Supercharge your API development with standardized responses, dynamic pagination, advanced filtering, and a one-click full CRUD setup. Let's take your APIs to the next level!

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

[](#installation)

to install the package using Composer:

```
composer require medianet-dev/api-tool-kit

```

Why Choose the Laravel API Toolkit?
-----------------------------------

[](#why-choose-the-laravel-api-toolkit)

### Consistent Responses, Less Hassle

[](#consistent-responses-less-hassle)

The API Response feature simplifies generating consistent JSON responses. It provides a standardized format for your api responses:

```
{
    "base_url": "APP_URL",
    "status": true,
    "message": "OK",
    "status_code": 200,
    "message": "your message",
    "data": [
      ...
    ]
}
```

### Pagination Done Right

[](#pagination-done-right)

Don't fuss over managing the number of results per page. The dynamic pagination feature adapts effortlessly to your needs, giving you control without complications.

```
$users = User::dynamicPaginate();
```

### Simplified Filtering

[](#simplified-filtering)

Refine query results with simplicity. The powerful filtering system lets you filter, sort, search, and even include relationships with ease.

```
Car::useFilters()->get();
```

### Simplify API Setup with the API Generator

[](#simplify-api-setup-with-the-api-generator)

The API Generator automates file setup, creating key files from migrations to controllers. Use one command to kickstart your API development.

```
php artisan api:generate ModelName --all

```

#### Schema Support

[](#schema-support)

Enhance the API Generator with schema support, allowing you to define your database table structure directly from the command line. Generate factory model migrations, requests, and data based on this schema.

```
php artisan api:generate ModelName "column1:string|column2:integer|column3:datetime"

```

 [![](api-generator.png)](api-generator.png)

### Logic Made Clear

[](#logic-made-clear)

Tackle complex business logic with Actions. These gems follow the command pattern, boosting readability and maintenance for your code.

```
app(CreateCar::class)->execute($data);
```

### Media? Handled.

[](#media-handled)

Handle file uploads and deletions like a pro. The Media Helper streamlines media management, leaving you with clean and organized file handling.

```
$filePath = MediaHelper::uploadFile($file, $path);
```

### Enums for Clarity

[](#enums-for-clarity)

The Enum class provides a way to work with enumerations, eliminating hardcoded values in your code:

```
namespace App\Enums;

class UserTypes extends Enum
{
    public const ADMIN = 'admin';
    public const STUDENT = 'student';
}
```

License
-------

[](#license)

By contributing to the Laravel API Toolkit, you agree that your contributions will be licensed under the project's [MIT License](LICENSE.md).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance46

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Recently: every ~116 days

Total

7

Last Release

407d ago

PHP version history (2 changes)1.0.0PHP ^8.0|^8.1

1.4.0PHP ^8.0|^8.1|^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30412331?v=4)[MaherMehri](/maintainers/MaherMehri)[@MaherMehri](https://github.com/MaherMehri)

![](https://www.gravatar.com/avatar/2eb9bdda1104ed71dc2dcad92dac5a10e3cee1866b73968e74b98cdb70392e2d?d=identicon)[medianet-dev](/maintainers/medianet-dev)

![](https://www.gravatar.com/avatar/82f3e9f3252c687e1a38e41413c9439ff4993ecee0cd02a192bbc127921d9dcb?d=identicon)[adelstiti](/maintainers/adelstiti)

---

Top Contributors

[![medianet-dev](https://avatars.githubusercontent.com/u/57226389?v=4)](https://github.com/medianet-dev "medianet-dev (13 commits)")

---

Tags

apilaraveltoolsfiltersapi-generatordynamic-pagination

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/medianet-dev-api-tool-kit/health.svg)

```
[![Health](https://phpackages.com/badges/medianet-dev-api-tool-kit/health.svg)](https://phpackages.com/packages/medianet-dev-api-tool-kit)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[essa/api-tool-kit

set of tools to build an api with laravel

53390.1k](/packages/essa-api-tool-kit)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.0k1](/packages/mike-bronner-laravel-model-caching)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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