Download the PHP package stratadox/hydrate without Composer

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

Hydrate

Build Status

The Hydrate module contains all that is needed to hydrate objects from arbitrary data. This data could come from a sql database, a document store, a web API or any other source.

Installation

Install using composer:

composer require stratadox/hydrate

Basic Usage

  1. Use the Mapper to create a hydrator that can can build your domain model from the input data:

  2. Load the data from the data source:

  3. All done! Your objects, in this case a bunch of books, are now hydrated as fully fledged object graphs, each containing their related objects, like a Title, an Isbn and an Author.

In fact, the above mapping would transform a query result like this:

...into an object structure like this:

Features

The example above is only the top of the iceberg of possibilities. The Hydrate package provides great (and often unique) features, such as:

Subpackages

The Hydrate package contains no source code (save some integration tests) Instead it composes several sub-packages. These packages are listed below.

Hydrator

Produces objects, complete with data in their properties, without calling constructor functions.

Source Code Implements Build Status Coverage Status Scrutinizer Code Quality Latest Stable Version License

Hydration mapping

Provides instructions to the hydrators on how to map the input data to the object properties.

Source Code Implements Build Status Coverage Status Scrutinizer Code Quality Latest Stable Version License

Proxy

Provides proxy functionality for lazy loading of objects whose data is not loaded into the system yet.

Source Code Implements Build Status Coverage Status Scrutinizer Code Quality Latest Stable Version License

Hydration mapper

Tools to ease the construction of hydration maps.

Source Code Implements Build Status Coverage Status Scrutinizer Code Quality Latest Stable Version License


All versions of hydrate with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
stratadox/hydration Version ^1.8
stratadox/hydration-mapper Version ^1.2
stratadox/hydration-mapping Version ^1.4
stratadox/hydration-proxies Version ^1.3
stratadox/hydrator Version ^1.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 stratadox/hydrate contains the following files

Loading the files please wait ....