Download the PHP package gheb/api-platform-config-converter-bundle without Composer

On this page you can find all versions of the php package gheb/api-platform-config-converter-bundle. 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-platform-config-converter-bundle

Configuration Converter

CircleCI Coverage Status

Do not worry about your configuration at first.

When you start working on your project, the documentation (because it's easy to make a POC with) shows you how to configure your resources with annotations. And it's usually a good practice to use annotations.

But when your project is growing, you start to realize that you need to change for a more suitable, maintainable format like XML or YAML. It's time consuming, not painless, and not error free.

This bundle is meant for this occasion.

WARNING: As the API-Platform and Serializer component evolves, there might be uncovered options. Always double check the output for missing pieces, and if you find ones, please help us filling the gaps.

Installation

Register the bundle.

For symfony < 3.4

For symfony > 4

Configuration

Configure the bundle, here are the default values:

Usage

By default we recommend the 'XML' configuration format.

To convert every single one of your entities configuration in xml.

To convert a specific entity configuration in xml.

To use another format, use --format|-f option.

By default, you'll need to copy and paste the configuration from the CLI output, but you can export the format to a specific directory. For API-Platform, use --api-platform-output|-apo option. By default it will export to config/packages/api-platform directory. For the serialization groups, use --serializer-groups-output|-sgo option. By default it will export to config/packages/serialization directory.

By default, the bundle will try to convert the API-Platform and the attributes groups. If you only want to convert one or the other, use the --configurations|-c option.

Contributing

Fork the project, create a branch according to your contribution, code and follow the contributing.md.

Here is the way I see the next versions, any help is welcome :)


All versions of api-platform-config-converter-bundle with dependencies

PHP Build Version
Package Version
Requires api-platform/core Version >=2.4.3 <=2.4.7
symfony/http-foundation Version ^4.3
symfony/serializer Version ^4.3
symfony/config Version ^4.3
symfony/dependency-injection Version ^4.3
symfony/http-kernel Version ^4.3
symfony/console Version ^4.3
symfony/yaml Version ^4.3
symfony/event-dispatcher Version ^4.3
doctrine/annotations Version ^1.6
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 gheb/api-platform-config-converter-bundle contains the following files

Loading the files please wait ....