Download the PHP package dogukantokgoz/route-to-postman without Composer

On this page you can find all versions of the php package dogukantokgoz/route-to-postman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package route-to-postman

Route to Postman for Laravel

Latest Version

Generate organized Postman collections directly from your Laravel routes with intelligent automation.

Route to Postman

Features

📂 Smart File Structure

The package automatically organizes your Postman collection based on your route prefixes.

📝 Intelligent Body Generation

The package analyzes your code to generate sample request bodies for POST, PUT, and PATCH requests.

  1. FormRequest: If a method uses a FormRequest, validation rules are used to generate the body.
  2. Model Inference: If no FormRequest is used, the package infers the Model from the Controller name (e.g., ProductController -> Product model). It then uses the model's fillable attributes to generate the request body.

🔐 Automated Authentication

Forget about manually copying and pasting tokens!

  1. Login Detection: The package automatically finds routes ending in login or containing auth/login.
  2. Auto-Script Injection: A Postman test script is injected into the login request to capture the token.
  3. Smart Bearer Token Assignment: Bearer token is automatically added to routes that have middleware assigned. Public routes (without middleware) and excluded routes will not receive bearer token authentication.

Expected Login Response: The script expects the token to be in data.token. Example:

Once you run the Login request in Postman, the token is automatically saved and used for all other requests.

Bearer Token Rules:

Excluded Routes Configuration: You can configure which routes should not receive bearer token in config/postman.php:

⚙️ Configuration

Installation

Publish the configuration file:

Usage

Run the command to generate your collection:

The collection will be saved to storage/postman/route_collection.json. Import this file into Postman.

License

MIT


All versions of route-to-postman with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
symfony/console Version ^6.0|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dogukantokgoz/route-to-postman contains the following files

Loading the files please wait ...