Download the PHP package wadakatu/laravel-spectrum without Composer

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

Laravel Spectrum

Latest Version

Tests Code Coverage Latest Stable Version Total Downloads License PHP Version Require

🎯 Zero-annotation API documentation generator for Laravel & Lumen

Transform your existing Laravel/Lumen APIs into comprehensive OpenAPI documentation without writing a single annotation or modifying your code.

✨ Key Features

### 🚀 **Zero Configuration** Automatically detects and documents your API routes without any annotations or comments ### 📝 **Smart Request Analysis** - Laravel FormRequest automatic parsing - Lumen inline validation support - Type inference from validation rules - Custom messages & attributes ### 📦 **Flexible Response Handling** - Laravel API Resources analysis - Fractal Transformer support - Automatic includes detection - Multiple format compatibility ### 🛡️ **Complete Error Documentation** - 422 validation errors auto-generation - Authentication errors (401/403) detection - Custom error response mapping
### 🔐 **Security & Authentication** - Bearer Token auto-detection - API Key authentication support - Sanctum/Passport compatibility - Security scheme generation ### 🔥 **Developer Experience** - **Real-time preview** with hot-reload - File change auto-detection - WebSocket live updates - Intelligent caching system

📸 Demo

Laravel Spectrum Demo

🔧 Requirements

📦 Installation

That's it! No configuration needed to get started.

🚀 Quick Start

1. Generate Documentation

2. Real-time Preview (Development)

3. View with Swagger UI

📖 Usage Examples

Laravel FormRequest Example

Laravel API Resource Example

Fractal Transformer Example

Lumen Inline Validation Example

Authentication Configuration

⚙️ Configuration

Publish the configuration file for advanced customization:

Configuration Options

🎯 Advanced Features

Custom Type Mappings

Automatic Tag Generation

Laravel Spectrum automatically generates tags for your API endpoints to keep them organized:

Response Examples

Error Response Customization

🔧 Troubleshooting

Common Issues

Q: Documentation is not generating for some routes

Q: FormRequest validation rules not detected

Q: Fractal includes not appearing

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

📄 License

The MIT License (MIT). Please see License File for more information.


Made with ❤️ by Wadakatu
Star ⭐ this repo if you find it helpful!


All versions of laravel-spectrum with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0
nikic/php-parser Version ^5.5
spatie/fork Version ^1.2
symfony/finder Version ^6.0|^7.0
workerman/workerman Version ^5.1
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 wadakatu/laravel-spectrum contains the following files

Loading the files please wait ....