Download the PHP package devs-poetadigital/laravel-api-generator without Composer

On this page you can find all versions of the php package devs-poetadigital/laravel-api-generator. 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-api-generator

code_generator_php/code_generator

code generator

Installation

Install this package as a dependency using Composer.

Generate code CRUD api with api:crud

After cloning this repository locally, execute the following commands to create a CRUD for model:

model_name : the model which you want to generate code

action_name(optional): your custom action you want to generate eg: CreateWithAdminRole

your_action: it are belong in c(Create), r(Read), u(Update), d(Delete), s(Search)

eg: php artisan api:cruds Post GetAll --only=cu

Now, you are ready to develop!

Remove code with api:remove

After cloning this repository locally, execute the following commands to create a CRUD for model:

model_name : the model which you want to generate code

action_name: your custom action you want to generate eg: CreateWithAdminRole

your_action: it are belong in c(Create), r(Read), u(Update), d(Delete), s(Search)

eg: php artisan api:remove Post GetAll --only=cu

Now, you are ready to develop!

Refresh Swagger for Model Dto

class_name_dto : the class you want to refresh

eg: php artisan api:swagger CreatePostResponseDto

Regenerate Model Dto

model_name : the model which you want to generate code

action_name(optional): your custom action you want to generate eg: CreateWithAdminRole

eg: php artisan api:dto User Create

Create a service api by model name and action name

After cloning this repository locally, execute the following commands to create a servive api for model:

model_name : the model which you want to generate code

action_name(optional): your custom action you want to generate eg: CreateWithAdminRole

--query: it support generate code with sql command

eg: php artisan api:make Post search --query

Copyright and License

The devs-poetadigital/laravel-api-generator library is free and unencumbered software released into the public domain. Please see MIT for more information.

About us

https://poetadigital.com/


All versions of laravel-api-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 || ^8.0
laravel/framework Version ^9.0
doctrine/dbal Version ^3.0
zircote/swagger-php Version 3.*
swagger-api/swagger-ui Version ^3.0
darkaonline/l5-swagger Version ^8.0.5
symfony/yaml Version ^5.0
spatie/data-transfer-object Version ^2.5
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 devs-poetadigital/laravel-api-generator contains the following files

Loading the files please wait ....