aliaslani/apilex

Automatic generation of API documentation for Laravel applications.

Maintainers

Package info

github.com/aliaslanii/apilex

Homepage

pkg:composer/aliaslani/apilex

Transparency log

Statistics

Installs: 21

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.3.3 2026-07-27 12:16 UTC

This package is auto-updated.

Last update: 2026-07-27 12:16:17 UTC


README

Apilex automatically generates OpenAPI 3.1.0 specification and interactive documentation for Laravel projects without requiring you to manually write PHPDoc annotations or attributes.

Author & Maintainer

Developed and maintained by Ali Aslani (me@aliaslani.dev).

Introduction

The main objective of Apilex is to generate precise, zero-config API documentation directly from your code implementation.

This allows developers to focus on writing clean code and avoiding tedious manual annotations that frequently become outdated. By analyzing your codebase dynamically, Apilex keeps your API documentation always in sync with your real endpoints.

Features

  • 🚀 Zero-Config: Generates docs without mandatory code annotations.
  • âš¡ OpenAPI 3.1.0 Standard: Outputs strict, standardized schema definitions.
  • 🎨 Interactive UI: Built-in documentation UI viewer out-of-the-box.
  • 📦 Laravel Support: Supports Laravel 10.x, 11.x, 12.x, and 13.x.

Installation

You can install the package via Composer:

composer require aliaslani/apilex

Usage

After installation, the following default routes will be available in your application:

  • /docs/api - Interactive UI viewer for your API documentation.
  • /docs/api.json - OpenAPI specification document in JSON format.

By default, documentation routes are enabled in the local environment.

License

The MIT License (MIT). Please see LICENSE.md for more information.