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

API Development with Laravel MKAPI

MkApi is a Laravel-based tool designed to streamline the creation of API-related files, including models, controllers, and Swagger documentation. This project simplifies API development by providing a set of commands to generate the necessary files with Swagger support.

Here’s the updated Packages Used section with your provided packages. I've included descriptions and versions for clarity:


Packages Used

This project utilizes the following packages to enhance functionality and streamline development:

Package Name Description Version
php-open-source-saver/jwt-auth JWT (JSON Web Token) authentication for Laravel APIs. ^2.7
darkaonline/l5-swagger Swagger API documentation generator for Laravel. ^8.6
laravel-persian-validation Persian-specific validation rules for Laravel applications. -
larastan/larastan Static analysis tool for Laravel applications to detect issues in code. ^3.0
spatie/laravel-backup Backup tool for Laravel applications, including databases and files. ^9.1

How to Install Packages

You can install these packages using Composer. Run the following command to install all dependencies:


Installation

Install the MkApi Tool

Run the following command to install the MkApi tool:


Key Commands

Generate Base Controller with Swagger Support

To create a base controller with Swagger support, use the following command:


Generate Model with Swagger Support

To generate a model with Swagger support, use the command below. Replace YOUR_MODEL_NAME with the desired model name.


Generate Controller with Swagger Support

To create a controller with Swagger support, use the following command. Replace YOUR_CONTROLLER_NAME with the desired controller name.


Command Options

--force

Overwrite existing files using this option:


--backup

Add backup packages to the project:


--iran

Add Persian-specific packages (e.g., laravel-persian-validation) to the project:


--code

Add Swagger documentation and code to controllers:


Project Setup

  1. Ensure Laravel is installed on your system.
  2. Install the MkApi tool using the following command:

  3. Generate models and controllers for your project using the relevant commands:

Contributing

We welcome contributions! If you have suggestions or improvements, feel free to:


Contributors



All versions of mkapi with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
illuminate/support Version ^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 ....