Download the PHP package kariricode/transformer without Composer

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

KaririCode Framework: Transformer Component

PHP Docker PHPUnit

A powerful and flexible data transformation component for PHP, part of the KaririCode Framework. It uses attribute-based transformation with configurable processors to ensure consistent data transformation and formatting in your applications.

Table of Contents

Features

Installation

You can install the Transformer component via Composer:

Requirements

Usage

Basic Usage

  1. Define your data class with transformation attributes:

  2. Set up the transformer and use it:

Advanced Usage: Data Formatting

Here's an example of how to use the KaririCode Transformer in a real-world scenario, demonstrating various transformation capabilities:

Available Transformers

String Transformers

Data Transformers

Array Transformers

Composite Transformers

Configuration

Transformers can be configured globally or per-instance. Example of configuring the NumberTransformer:

Integration with Other KaririCode Components

The Transformer component integrates with:

Registry Example

Complete registry setup example:

Development and Testing

Similar development setup as the Validator component, using Docker and Make commands.

Available Make Commands

Contributing

Contributions are welcome! Please see our Contributing Guide.

License

MIT License - see LICENSE file.

Support and Community


Built with ❤️ by the KaririCode team. Transforming data with elegance and precision.


All versions of transformer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
kariricode/contract Version ^2.7
kariricode/processor-pipeline Version ^1.1
kariricode/property-inspector Version ^1.0
kariricode/exception Version ^1.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 kariricode/transformer contains the following files

Loading the files please wait ....