Download the PHP package rekalogika/mapper without Composer

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

rekalogika/mapper

rekalogika/mapper is an object mapper for PHP and Symfony, also commonly known as an automapper. It maps an object to another object. Primarily used to map an entity to a DTO, but also useful for other mapping purposes. It removes the complexity of mapping an object to another object, and even an object graph to another object graph.

Full documentation is available at rekalogika.dev/mapper.

Installation

Usage

Why Use a Mapper?

Why do we need to use a mapper to save a few keystrokes, and not just use something simple like this?

Everyone must have that idea at some point. However, as the project grows, the target classes (DTOs) may start to reference each other, and become a rich object graph. Your code will start to have many special cases, and is no longer as simple as you thought it would be. It becomes harder to maintain, and then eventually forces you to sit back and try to resolve the problem. When (if?) you successfully engineer a solution, you will end up with something that resembles a mapping framework anyway.

Mapping can be simple, but can also become a highly complex task. A mapper is created out of necessity to handle the complexity, not just as a means of saving a few keystrokes.

Features

General

Custom Mapping

Object Lazy-Loading

Arrays and Array-Like Objects

Array-Like Lazy-Loading

Development Experience (DX)

To-Do List

Documentation

rekalogika.dev/mapper

License

MIT


All versions of mapper with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
doctrine/collections Version ^2.1
phpdocumentor/reflection-docblock Version ^5.3
phpstan/phpdoc-parser Version ^1.25
psr/container Version ^2.0
symfony/cache Version ^6.4 || ^7.0
symfony/clock Version ^6.4 || ^7.0
symfony/config Version ^6.4 || ^7.0
symfony/console Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4.11 || ^6.5 || ^7.1.4 || ^7.2
symfony/filesystem Version ^6.4 || ^7.0
symfony/finder Version ^6.4 || ^7.0
symfony/property-access Version ^6.4 || ^7.0
symfony/property-info Version 6.4.0 - 6.4.8 || ^6.4.10 || ^6.5 || 7.0.0 - 7.0.8 || 7.1.0 - 7.1.1 || ^7.1.3 || ^7.2
symfony/serializer Version ^6.4 || ^7.0
symfony/service-contracts Version ^3.0
symfony/var-exporter Version ^6.4.1 || ^6.5 || ^7.0.1 || ^7.1
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 rekalogika/mapper contains the following files

Loading the files please wait ....