PHPackages                             obitel-generators/laravel-postman - 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. obitel-generators/laravel-postman

ActiveLibrary[API Development](/categories/api)

obitel-generators/laravel-postman
=================================

Export laravel API routes to postman

v1.1.4(6y ago)030MITPHPPHP &gt;=5.4

Since Nov 22Pushed 6y agoCompare

[ Source](https://github.com/obitel-generators/laravel-postman)[ Packagist](https://packagist.org/packages/obitel-generators/laravel-postman)[ Docs](https://github.com/obitel-generators/laravel-postman)[ RSS](/packages/obitel-generators-laravel-postman/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (10)Used By (0)

laravel-postman
===============

[](#laravel-postman)

This package allows you to export your API routes to a postman import json file

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

[](#installation)

Install the package via composer

`composer require --dev jimenezmaximiliano/laravel-postman`

Then add the service provider in config/app.php:

### PHP &gt;= 5.5

[](#php--55)

`JimenezMaximiliano\LaravelPostman\LaravelPostmanServiceProvider::class`

### PHP &lt; 5.5

[](#php--55-1)

`JimenezMaximiliano\LaravelPostman\LaravelPostmanServiceProvider`

Configuration
-------------

[](#configuration)

First, publish the package configuration file:

`php artisan vendor:publish`

Note: publishing the configuration file is optional, you can use de default package options.

### Options

[](#options)

#### apiURL

[](#apiurl)

This is the base URL for your postman routes

default value: config('app.url')

#### collectionName

[](#collectionname)

This is the postman collection name

default value: the command will ask for it

#### collectionDescription

[](#collectiondescription)

This is the postman collection description

default value: the command will ask for it

#### apiPrefix

[](#apiprefix)

This is the prefix by which we identify the routes to export

default value: 'api'

#### skipHEAD

[](#skiphead)

This avoids creating routes for HEAD method

default value: true

#### exportDirectory

[](#exportdirectory)

The directory to which the postman.json file will be exported

Usage
-----

[](#usage)

### Configuring controllers

[](#configuring-controllers)

Add a property to your entity controller like this:

`public $postmanModel = 'App\MyEntityModel';`

### Add a public method to your model class like this:

[](#add-a-public-method-to-your-model-class-like-this)

`public function getPostmanParams() { return $this->fillable; }`

This array of params will be used to fill POST and PUT urlencoded form data section in postman. The previous method is just an example, you should return the array of params that you want to see in postman.

### Export

[](#export)

`php artisan laravelPostman:export`

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~171 days

Recently: every ~299 days

Total

8

Last Release

2261d ago

PHP version history (2 changes)v1.0.0PHP ~5.6|~7.0

v1.1.0PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e5f7b1d8e05103613eb8f93313e40343ba6689d49d63c28b5fc6ba8097f20cc?d=identicon)[RSivakov](/maintainers/RSivakov)

---

Top Contributors

[![RSivakov](https://avatars.githubusercontent.com/u/1380666?v=4)](https://github.com/RSivakov "RSivakov (5 commits)")[![sojeda](https://avatars.githubusercontent.com/u/17851841?v=4)](https://github.com/sojeda "sojeda (2 commits)")

---

Tags

apilaravelexportgithubPostmanjimenezmaximiliano

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/obitel-generators-laravel-postman/health.svg)

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

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

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

Generate beautiful API documentation from your Laravel application

3.5k3.1M12](/packages/mpociot-laravel-apidoc-generator)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[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)
