Download the PHP package codersandip/telescope-exporter without Composer

On this page you can find all versions of the php package codersandip/telescope-exporter. 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 telescope-exporter

Laravel Telescope Exporter

Convert captured Laravel Telescope request entries into Postman Collection v2.1 JSON and formatted cURL commands.

Package name:

Features

Requirements

Composer will still enforce the PHP and framework requirements of the Laravel and Telescope versions installed in your application.

Installation

Install the package with Composer:

Laravel package discovery registers the service provider automatically.

If package discovery is disabled, add the provider manually in config/app.php:

Telescope Setup

This package reads request entries from Telescope's storage. Make sure Telescope is installed and migrated:

Telescope must be recording request entries. If your application filters Telescope entries, confirm that request entries are not being filtered out.

Publishing Config

Publish the config file:

The published file is:

Default config:

You may change the route prefix with:

Publishing Views

Publish the Blade view if you want to customize the export screen:

The published view will be placed at:

Routes

The default route prefix is /telescope-api.

Method URI Description
GET /telescope-api/export Browser form for pasting a full Telescope request URL
GET /telescope-api/export/resolve?telescope_url=... Extracts the request UUID and redirects to the export page
GET /telescope-api/export/{uuid} Browser export page with preview and download buttons
GET /telescope-api/export/{uuid}/json JSON response containing both cURL and Postman exports
GET /telescope-api/export/{uuid}/download/curl Downloads a .sh file containing the cURL command
GET /telescope-api/export/{uuid}/download/postman Downloads a Postman Collection v2.1 JSON file

The {uuid} value must be the UUID of a Telescope entry where type is request.

Usage

Open the exporter page:

Paste the full Telescope request URL, for example:

The package extracts the UUID and redirects to:

The browser page displays:

You can also open a UUID directly:

When using the pasted URL flow, the package keeps the source domain in the generated links. If Telescope stored a relative URI like /api/users, the cURL output will use a full URL like https://your-app.test/api/users.

JSON Response

Request:

Example response:

Exported Data

The package reads the Telescope content column for request entries and maps:

Payload arrays are encoded as JSON.

The captured Host header is intentionally omitted from generated exports. cURL and Postman derive the host from the request URL, which avoids conflicts when the source domain is resolved or changed.

If the captured Telescope URL is relative, the package resolves it against:

  1. The domain from the pasted Telescope request URL.
  2. config('app.url').
  3. The current request host.

Internally, the package reads request entries through Telescope's storage model:

Security

Routes are registered with:

By default, this means the export routes use the same authorization gate and middleware stack as Telescope. Users who cannot access Telescope should not be able to access these export routes.

Review exported requests before sharing them. Telescope may contain headers, cookies, bearer tokens, API keys, or request payload fields captured from your application.

Laravel 8 Notes

Laravel 8 is supported by the package constraints:

If Composer cannot resolve dependencies in a Laravel 8 application, check the installed Telescope version and PHP version first. Older Laravel 8 projects commonly need a Telescope 4 release, while newer PHP 8 based Laravel 8 projects may resolve newer Telescope versions.

Package Structure

Troubleshooting

If the export route returns 404, confirm the UUID belongs to a Telescope entry where type is request.

If the pasted URL form cannot find a UUID, confirm the URL contains a standard UUID value from a Telescope request detail page.

If the export route returns 403, check your Telescope authorization gate and middleware.

If the route does not exist, clear cached routes:

If a request body is missing, confirm Telescope captured the request payload and that your Telescope configuration is not hiding or filtering the field.

If you see Class "Laravel\Telescope\Models\EntryModel" not found, update the package code to use Telescope's correct model namespace:

License

MIT


All versions of telescope-exporter with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
laravel/telescope Version ^4.0|^5.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 codersandip/telescope-exporter contains the following files

Loading the files please wait ...