Download the PHP package mk990/mkapi without Composer

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

MkApi

GitHub stars

GitHub license


๐Ÿš€ API Development with Laravel MkApi

MkApi is a Laravel-based CLI tool that simplifies API development by generating essential files like models, controllers, and Swagger documentation โ€” all with a single command. Itโ€™s designed to help you build faster, cleaner, and more documented APIs. ๐Ÿงฐโœจ


๐Ÿ“ฆ Packages Used

This project utilizes the following packages to boost development and maintain high standards:

๐Ÿ“ฆ Package Name ๐Ÿ“ Description ๐Ÿ”ข Version
l5-swagger Swagger API documentation generator for Laravel. ^8.6
jwt-auth JSON Web Token (JWT) authentication for secure APIs. ^2.7
larastan Static analysis tool to catch bugs early using PHPStan for Laravel. ^3.0
laravel-backup Seamless backup of databases and files in Laravel apps. ^9.1
laravel-pulse Real-time performance insights for Laravel applications. ^1.4
laravel-telescope Debugging assistant for Laravel. Monitors requests, logs, queries, mail, jobs, and more. ^5.8
laravel-persian-validation Persian-specific validation rules for form requests. ^2.0
verta Date handling between Solar and Gregorian calendars. ^8.5
turnstile Easy integration with Cloudflare Turnstile for bot protection. ^2.0

โš™๏ธ Installation

๐Ÿ“ฅ Install MkApi Tool

๐Ÿ”ง The following packages are installed by default:


๐ŸŽ›๏ธ Install Optional Packages

Use the interactive install command to choose additional tools:

๐Ÿ“Œ Available packages:


๐Ÿ› ๏ธ Usage

MkApi provides easy-to-use artisan commands to generate models and controllers with Swagger support.

๐Ÿงฑ Generate a Model

โœ… Examples:


๐ŸŽฎ Generate a Controller

โœ… Examples:


๐Ÿงฉ Command Options

๐Ÿ” --force: Overwrite Existing Files

This will replace any existing ProductModel.php file.


๐Ÿงพ --code: Add Swagger Documentation & Controller Logic

๐Ÿง  Example generated method in ProductController.php:

โžก๏ธ Explore more generated methods in the TestController file.


๐Ÿค Contributing

We love contributions! If you have ideas or improvements, feel free to:


๐Ÿ“ License

This project is licensed under the MIT License.


๐Ÿ‘ฅ Contributors



All versions of mkapi with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
illuminate/support Version ^10|^11|^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 mk990/mkapi contains the following files

Loading the files please wait ....