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

ActiveLibrary[API Development](/categories/api)

webscientist/postman-laravel
============================

v1.0.0-beta.7(4y ago)17MITPHPPHP ^7.4|^8.0

Since Dec 12Pushed 4y agoCompare

[ Source](https://github.com/web-scientist/postman-laravel)[ Packagist](https://packagist.org/packages/webscientist/postman-laravel)[ RSS](/packages/webscientist-postman-laravel/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (2)Dependencies (5)Versions (9)Used By (0)

Postman Laravel
===============

[](#postman-laravel)

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

[](#installation)

1. Install the package into your laravel application.

    ```
    composer require webscientist/postman-laravel --dev
    ```
2. Publish the config file by using the following command.

    ```
    php artisan vendor:publish --tag=postman-laravel
    ```
3. Register the Service Provider in `config/app.php`

    ```
     'providers' => [
        ...
        ...
        WebScientist\PostmanLaravel\PostmanLaravelServiceProvider::class,
    ],
    ```
4. Generate a Postman API key and put it in `.env` (optional)

    ```
    POSTMAN_API_KEY=
    ```

Commands
--------

[](#commands)

The following commands can be used to get the Postman Collection

1. Create Collection on Postman workspace

    ```
    php artisan postman:create
    ```

    - Use `-e` for creating environment as well
2. Export Collection in `storage/app/postman/`

    ```
    php artisan postman:export
    ```

    - Use `-e` for exporting environment file as well

Note: You can use a `name` argument to define a custom name for Collection/File. If not specified, the `APP_NAME` will be used from `.env`

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

[](#configuration)

### Postman Environment

[](#postman-environment)

By default only a single variable of `BASE_URL` is used in generation of environment file. The same can be added in the `environment.variables` array.

```
'variables' => [
    [
        'key' => 'BASE_URL',
        'value' => env('APP_URL', ''),
        'type' => 'default',
        'enabled' => true,
    ],
    // Other Variables
]
```

The type can be set to `'default'` or `'secret'`. Secret will hide the value in Postman UI.

### Request Grouping

[](#request-grouping)

By default the routes are grouped/nested on the basis of route names. That can be set to a custom key BY changing the `request.group_by` value.

### Route Filtering

[](#route-filtering)

Any route having a closure will automatically be filtered out.

#### Inclusions

[](#inclusions)

By default the routes having the `api middleware` will be included. It can be overridden in the `request.inclusion.middleware` array.

#### Exclusion

[](#exclusion)

Certain routes can be excluded by their prefixes by defining them in the `request.exclusion.prefix` array.

Coventions
----------

[](#coventions)

The following Laravel conventions are expected to be followed while building your application to get accurate results in your postman collection.

// WIP

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Recently: every ~8 days

Total

8

Last Release

1512d ago

Major Versions

v0.2.0-alpha → v1.0.0-beta.12022-02-13

PHP version history (2 changes)v1.0.0-beta.2PHP ^8.0

v1.0.0-beta.5PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/51654c14a4ee2015b6fdc0006da24c048533f68081ed29647685640591da3f8c?d=identicon)[chinmay](/maintainers/chinmay)

---

Top Contributors

[![chinmaypurav](https://avatars.githubusercontent.com/u/70144052?v=4)](https://github.com/chinmaypurav "chinmaypurav (53 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M106](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

71510.9M66](/packages/laravel-mcp)[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

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

Automatic API documentation for your Laravel app — zero annotations, OpenAPI 3.0 JSON &amp; Swagger UI.

103.5k](/packages/provydon-docs-generate)

PHPackages © 2026

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