PHPackages                             judeufuoma/api-toolkit - 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. judeufuoma/api-toolkit

ActiveLibrary[API Development](/categories/api)

judeufuoma/api-toolkit
======================

A Laravel package that generates Postman-compatible API collections.

v1.0.2(1y ago)33MITPHPPHP ^8.0CI failing

Since May 7Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/jude4/laravel-api-toolkit)[ Packagist](https://packagist.org/packages/judeufuoma/api-toolkit)[ RSS](/packages/judeufuoma-api-toolkit/feed)WikiDiscussions main Synced 1mo ago

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

ApiToolkit - A Laravel API Collection Generator
===============================================

[](#apitoolkit---a-laravel-api-collection-generator)

[![Downloads](https://camo.githubusercontent.com/f9531c0ccc86e26d8868109d8142b055fba69bb1f5e06f75691074ce3db46038/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a7564657566756f6d612f6170692d746f6f6c6b69743f636f6c6f723d626c7565)](https://camo.githubusercontent.com/f9531c0ccc86e26d8868109d8142b055fba69bb1f5e06f75691074ce3db46038/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a7564657566756f6d612f6170692d746f6f6c6b69743f636f6c6f723d626c7565)**ApiToolkit** is a Laravel package designed to generate Postman-compatible API collections from your defined routes. It will automatically generate collections with API route details, query parameters, request bodies, headers, and authentication, making API testing and documentation easy.

Features
--------

[](#features)

- Automatically generates a Postman collection from Laravel API routes.
- Supports routes with `GET`, `POST`, `PUT`, `PATCH`, and `DELETE` methods.
- Generates query parameters, request bodies, and headers based on route documentation.
- Supports authentication headers (e.g., `Bearer {{token}}`).
- Outputs a JSON file that can be directly imported into Postman.

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

[](#installation)

To install **ApiToolkit**, follow these steps:

### 1. Install via Composer

[](#1-install-via-composer)

In your Laravel project, run:

```
composer require judeufuoma/api-toolkit
```

### 2. Generate the Postman Collection

[](#2-generate-the-postman-collection)

Once installed, you can generate the Postman collection by running the following command:

```
php artisan api-toolkit:generate
```

This command will:

- Scan your Laravel routes.
- Generate a Postman collection JSON file.
- Include all routes prefixed with api/

### Usage

[](#usage)

The ApiToolkit will generate a postman\_collection.json file in your project’s root directory. You can then import this file into Postman to get a detailed view of your API, including routes, query parameters, request bodies, and headers.

### Testing

[](#testing)

If you’re contributing to the development of this package or need to run tests, use PHPUnit:

```
vendor/bin/phpunit
```

Alternatively, if you need to run tests within the Laravel app that uses the package, run:

```
php artisan test
```

### Contributing

[](#contributing)

We welcome contributions! If you have suggestions or improvements, please fork the repository and submit a pull request. If you find any bugs or want to add a feature, please create an issue on GitHub.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance50

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

3

Last Release

369d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8bda89225717bd084d74b55c4e0931f0c2653f03b748771537f6d7ea89998cbc?d=identicon)[jude4](/maintainers/jude4)

---

Top Contributors

[![jude4](https://avatars.githubusercontent.com/u/38872489?v=4)](https://github.com/jude4 "jude4 (14 commits)")

---

Tags

apilaravelgeneratorcollectionPostman

### Embed Badge

![Health badge](/badges/judeufuoma-api-toolkit/health.svg)

```
[![Health](https://phpackages.com/badges/judeufuoma-api-toolkit/health.svg)](https://phpackages.com/packages/judeufuoma-api-toolkit)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[phpsa/laravel-postman

Export laravel API routes to postman

1014.7k](/packages/phpsa-laravel-postman)

PHPackages © 2026

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