PHPackages                             halimzidoune/laravel-postman-api - 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. halimzidoune/laravel-postman-api

ActiveLibrary[API Development](/categories/api)

halimzidoune/laravel-postman-api
================================

This package allow to export all API routes from your laravel project to be used in postman and make tests manualy.

v1.0.3(3y ago)8108[3 PRs](https://github.com/halimzidoune/laravel-postman-api/pulls)MITPHPPHP ^8.1

Since Apr 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/halimzidoune/laravel-postman-api)[ Packagist](https://packagist.org/packages/halimzidoune/laravel-postman-api)[ Docs](https://github.com/halimzidoune/laravel-postman-api)[ RSS](/packages/halimzidoune-laravel-postman-api/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (13)Versions (7)Used By (0)

Export Laravel API Routes into a postman Collection.
====================================================

[](#export-laravel-api-routes-into-a-postman-collection)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ba27b2b8f69ce053b0b0c0ecca250bc48453eac891375c3987667b3014c53f7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68616c696d7a69646f756e652f6c61726176656c2d706f73746d616e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/halimzidoune/laravel-postman-api)[![GitHub Tests Action Status](https://camo.githubusercontent.com/46c9135577bbf9eb24d746eedaf4e77c1471dbd5655cfb7923ef12048e2a602f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f68616c696d7a69646f756e652f6c61726176656c2d706f73746d616e2d6170692f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/halimzidoune/laravel-postman-api/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/72639879460bc642e00c3c39721c12daefc2caa0fb1c19d3ac9a9399f15fd5b9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f68616c696d7a69646f756e652f6c61726176656c2d706f73746d616e2d6170692f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/halimzidoune/laravel-postman-api/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/8ef9f4eebb9b76943243f5430973339508079b3e14e2b151bef63599e8bd41ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68616c696d7a69646f756e652f6c61726176656c2d706f73746d616e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/halimzidoune/laravel-postman-api)

With this command: `php artisan routes:export collection_name`, a json file will be generated and can be imported from postman, for a good separation between the API modules, folders and subfolders tree will be generated , this division is based on the paths of the urls.

In `POST` and `PUT` Methods, if the controller action use a FormRequest, all rules attributes will be extracted and created in postman body request.

[![](https://github.com/halimzidoune/laravel-postman-api/raw/main/laravel-api-to-postman-featured.png)](https://github.com/halimzidoune/laravel-postman-api/blob/main/laravel-api-to-postman-featured.png)

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

[](#installation)

You can install the package via composer:

```
composer require halimzidoune/laravel-postman-api
```

You can publish the config file with:

```
php artisan vendor:publish --tag="postman-api-config"
```

This is the contents of the published config file:

```
return [
    'base_url' => 'http://localhost:8000', // API Host url
    'export_folder' => 'postman', // The destination folder where the collection.json file will be generated
];
```

Usage
-----

[](#usage)

```
php artisan routes:export collection_name
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [zidoune halim](https://github.com/halimzidoune)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.2% 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 ~3 days

Total

3

Last Release

1168d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24246363?v=4)[Zidoune Halim](/maintainers/halimzidoune)[@halimzidoune](https://github.com/halimzidoune)

---

Top Contributors

[![halimzidoune](https://avatars.githubusercontent.com/u/24246363?v=4)](https://github.com/halimzidoune "halimzidoune (32 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelhalimzidounelaravel-postman-api

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/halimzidoune-laravel-postman-api/health.svg)

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

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M99](/packages/dedoc-scramble)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[lettermint/lettermint-laravel

Official Lettermint driver for Laravel

1190.2k1](/packages/lettermint-lettermint-laravel)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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