Download the PHP package onamfc/laravel-route-visualizer without Composer

On this page you can find all versions of the php package onamfc/laravel-route-visualizer. 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 laravel-route-visualizer

Laravel Route Visualizer

A comprehensive route visualization package for Laravel applications that provides an interactive web interface to explore, analyze, and export your application's routing structure with advanced validation and multiple visualization options.

Features

Requirements

Installation

Install the package via Composer:

The package will automatically register itself via Laravel's auto-discovery feature.

Quick Installation

Use the install command to publish all necessary files:

This command will publish the configuration file, views, and assets in one step.

Manual Installation

If you prefer to publish files individually:

Publish Configuration

Publish Views (Optional)

If you want to customize the views:

Publish Assets (Optional)

If you want to serve assets locally:

Configuration

The configuration file config/route-visualizer.php allows you to customize:

Usage

Web Interface

Once installed, visit the route visualizer dashboard:

The dashboard provides:

Artisan Commands

Install Package

Install and publish all package files:

Export Routes

Export your route structure to static files with advanced filtering:

Programmatic Usage

You can also use the route scanner programmatically:

API Endpoints

The package provides several API endpoints:

Query Parameters

Filter routes using query parameters:

Customization

Custom Views

After publishing views, you can customize the dashboard:

Edit the views in resources/views/vendor/route-visualizer/.

Custom Styling

You can customize colors and styling by:

  1. Publishing the views and modifying the CSS
  2. Overriding the Tailwind classes in your custom views
  3. Adding custom CSS to your application's stylesheets

Custom Export Templates

Create custom export templates by extending the base export view:

Network Visualization

The package uses Vis.js for interactive network graphs that show relationships between routes and controllers. The visualization provides:

Security Considerations

Production Usage

The visualizer is automatically disabled in production environments. To enable it:

Sensitive Routes

Configure patterns to hide sensitive routes:

Access Control

Add authentication middleware:

Performance

Caching

Enable caching for better performance with large route sets:

Pagination

The package includes built-in pagination and lazy loading:

Memory Usage

For applications with thousands of routes, consider:

Validation Features

The package automatically validates your routes and identifies:

Configure validation in your config file:

Laravel Telescope Integration

When Laravel Telescope is installed, the visualizer automatically adds direct links to route performance data:

Testing

Run the package tests:

The package includes comprehensive feature and unit tests covering:

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This package is open-sourced software licensed under the MIT license.


All versions of laravel-route-visualizer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.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 onamfc/laravel-route-visualizer contains the following files

Loading the files please wait ...