Download the PHP package ensi/laravel-openapi-client-generator without Composer

On this page you can find all versions of the php package ensi/laravel-openapi-client-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-openapi-client-generator

Laravel OpenApi Client Generator

Latest Version on Packagist Tests Total Downloads

A package for Laravel that generates http clients to the service using OpenApi Generator. At the moment, there is support for one platform: PHP.

Installation

You can install the package via composer:

Publish the config file with:

Version Compatibility

Laravel OpenApi Client Generator Laravel PHP
^0.0.1 ^7.x ^7.1.3
^0.2.0 - ^0.8.3 ^7.x ^7.1.3
^0.8.4 ^7.x ^7.2.0
^0.9.0 ^7.x || ^8.x ^7.2.0
^0.10.0 - ^0.12.0 ^7.x || ^8.x ^7.2 || ^8.0
^0.12.1 ^8.x || ^9.x ^7.2 || ^8.0
^0.13.0 ^8.x || ^9.x ^8.1
^0.13.1 ^8.x || ^9.x || ^10.x ^8.1
^0.13.5 ^8.x || ^9.x || ^10.x|| ^11.x ^8.1
^0.14.0 ^9.x || ^10.x|| ^11.x ^8.1

Basic Usage:

  1. Before launching, make sure that the api description structure meets these requirements.

  2. Configure the generation parameters (if the default ones are not suitable).

  3. Client Generation:

    • php
  4. After successful generation, the client code will appear along the path <output_dir_template>-php, which can be put into git, the git_push script will be at the root, which is convenient to use for this. The corresponding repositories should already be created in the appropriate version control system. The full name of the repository is formed as follows: <git_user>/<git_repo_template>-php.

Limitations

The package currently does not support generation in a Windows environment.

Contributing

Please see CONTRIBUTING for details.

Testing

  1. composer install
  2. npm install
  3. composer test

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-openapi-client-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
laravel/framework Version ^9.0 || ^10.0 || ^11.0
nette/php-generator Version ^3.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 ensi/laravel-openapi-client-generator contains the following files

Loading the files please wait ....