Download the PHP package ismayil-dev/api-doc-kit without Composer

On this page you can find all versions of the php package ismayil-dev/api-doc-kit. 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 api-doc-kit

API Doc Kit for Laravel

API Doc Kit is a developer-friendly package designed to simplify API documentation for Laravel projects. It automates the generation of robust OpenAPI documentation while allowing developers to retain flexibility and control. This package reduces the repetitive effort of manually defining API specs, making the process intuitive, maintainable, and efficient.


Key Features

Feature Description Status
Semi-Automated Documentation Leverages PHP attributes to generate OpenAPI documentation with minimal configuration. ✅ Available
Model-Aware Operations Automatically associates routes and parameters with Eloquent models for intelligent documentation generation. ✅ Available
Flexible Parameter Management Detects route parameters, automatically assigns types, and generates descriptions with the ability to override globally. ✅ Available
Request & Response Handling Automates OpenAPI property definitions for request classes and resource responses based on rules and model attributes. Detects file-upload rules and emits multipart/form-data bodies (format: binary); see Request Bodies. ✅ Available
Built-in Validation Ensures all controllers, request classes, and responses adhere to defined documentation rules and highlights discrepancies. ✅ Available
SDK Generation Generates TypeScript SDKs for front-end integration, including prebuilt methods for API calls (e.g., createUser()). 🚀 Coming Soon
Predefined Responses Comes with customizable default responses like ValidationError, Unauthorized, and more. ✅ Available
Customizable Workflow Supports custom route discovery, parameter overrides, and developer-defined extensions for unique project needs. ✅ Available
Global Configuration Offers configuration for overriding parameter definitions, request behavior, and other package behavior. ✅ Available
CLI Warnings and Reports Highlights issues like undefined parameters or missing descriptions directly in the CLI. ✅ Available

Installation

⚠️ This package is currently in active development and NOT production-ready.

Install via Composer:

Publish the config file:

Development Notice: This is an MVP release for testing and gathering feedback. APIs and features may change significantly. Use in production at your own risk.


Quick Start

1. Mark your controller methods

2. Generate documentation

3. View generated OpenAPI docs

Your OpenAPI YAML will be at storage/app/documentation/openapi.yaml

Import this into Swagger UI, Postman, or any OpenAPI-compatible tool.


Why API Doc Kit?


✅ What's Already Working

This MVP release includes:


🚀 Coming Soon

Features in active development:


📚 Documentation

Detailed guides for advanced features:

More documentation coming soon as features are added!


How It Works

API Doc Kit uses a combination of PHP attributes and smart defaults to document your API. Developers can define documentation attributes directly in controllers, request classes, and resources, while the package handles the heavy lifting.


Contributing

Contributions are welcome! If you have ideas, bug reports, or feature requests, feel free to open an issue or submit a pull request.


License

Laravel Doc Kit is open-source software licensed under the MIT license.


All versions of api-doc-kit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
zircote/swagger-php Version ^5.0
laravel/framework 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 ismayil-dev/api-doc-kit contains the following files

Loading the files please wait ...