Download the PHP package php-etl/metadata without Composer

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

PHP Data Structures Meta

Quality PHPUnit Mutations PHPStan level 5 PHPStan level 6 PHPStan level 7 PHPStan level 8 PHP

What is it about?

This component aims at describing data structures in order to help other packages to auto-configure and handle data transformation and data manipulation.

Installation

To use this package in your application, require it via composer:

Run the tests

There are PHPSpec tests declared in this package to ensure everything is running fine.

Use this package to read metadata of existing code

In order to read the metadata of existing PHP code, you may use the automatic type guesser. It can be initialised with the following code:

Then, use the instance as a functor to automatically discover the types metadata.

Example of a DTO class metadata fetcher:

Automatic class metadata guessing

In order to simplify the class metadata building, there is a metadata guesser you can use to ease the building of metadata.

PHP version and typed properties

This package works from php 7.2+.

In case you are running it with a version prior to 7.4, the property type hinting is not active and a dummy metadata reader can replace the standard one.

Additionally, it you don't want the PHPDocs to be considered, you may use another dummy metadata reader for this specific part.

Documentation

To go further and see the DTO structure, check the object reference.


All versions of metadata with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
phpactor/docblock Version ^0.3.0@dev
nikic/php-parser Version ^4.9@dev
doctrine/inflector Version ^2.0
php-etl/metadata-contracts Version 0.2.*
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 php-etl/metadata contains the following files

Loading the files please wait ....