Download the PHP package backbrain/php-automapper without Composer

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

PHP AutoMapper

PHP AutoMapper is a library designed to simplify the mapping of data between objects, inspired by the popular .NET library AutoMapper. It aims to reduce boilerplate code necessary for transferring data from one object structure to another, making your PHP application cleaner and maintenance easier.

Note: This project is still in alpha development and may not yet support all features of the original AutoMapper library. Interfaces and methods may change even in minor releases until a stable version v1.x is reached.

Installation

Use Composer to install PHP AutoMapper into your project:

Features

PHP AutoMapper strives to implement the core functionalities of the original .NET AutoMapper library. Here's a list of supported features:

Please note that due to differences between C# and PHP, not all features from the original AutoMapper library are applicable or have been implemented at this stage.

Documentation

For a detailed documentation, please refer to the PHP AutoMapper Documentation site.

For general usage patterns and understanding AutoMapper concepts, please refer to the original AutoMapper documentation:

.NET AutoMapper Documentation

The concepts and configurations explained in the original documentation serve as a basis for understanding how to use PHP AutoMapper effectively. Where PHP AutoMapper diverges or extends the original library's functionality, specific documentation and examples will be provided within this project's wiki or documentation directory.

Usage Example

Here's a simple example of how to use PHP AutoMapper to map data between two objects. For more examples and detailed usage instructions, please refer to the examples directory.

The dump shows the new ProfileDTO with the mapped properties:

For more examples and detailed usage instructions, please refer to the examples directory.

Contributing

Contributions to PHP AutoMapper are welcome! Whether it's adding new features, improving existing ones, or writing documentation, your help is appreciated. Please refer to the CONTRIBUTING.md file for guidelines on how to contribute to this project.

Commit messages

We are using Angular Commit Message Conventions.

The <type> must be one of the following:

License

PHP AutoMapper is open-sourced software licensed under the MIT license.


This project is not affiliated with the original AutoMapper project but is inspired by its functionality and aims to bring similar capabilities to the PHP community.


All versions of php-automapper with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
psr/log Version ^3.0
psr/cache Version ^3.0
symfony/property-access Version ^6.0|^7.0
symfony/property-info Version ^6.0|^7.0
symfony/finder Version ^6.0|^7.0
symfony/expression-language Version ^6.0|^7.0
symfony/uid Version ^6.0|^7.0
symfony/clock Version ^6.0|^7.0
phpstan/phpdoc-parser Version ^1.26|^2.0
phpdocumentor/type-resolver Version ^1.8
phpdocumentor/reflection-docblock Version ^5.3
jawira/case-converter Version ^3.5
nikic/php-parser Version ^4.0|^5.0
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 backbrain/php-automapper contains the following files

Loading the files please wait ....