andrzejkupczyk / html-encoder
This package is abandoned and no longer maintained.
No replacement package was suggested.
Encoder that encodes and decodes data in HTML
v1.0.0
2020-02-09 12:22 UTC
Requires
- php: ^7.2
Requires (Dev)
- symfony/dom-crawler: ^5.0
- symfony/serializer: ^5.0
Suggests
- symfony/dom-crawler: Needed to transform arrays into HTML and vice versa
This package is auto-updated.
Last update: 2020-11-14 14:46:27 UTC
README
Encoder that transforms arrays into HTML and vice versa.
Requires the DomCrawler component.
Installation
Using Composer:
composer require andrzejkupczyk/html-encoder
Example usage
<?php use Symfony\Component\Serializer; use WebGarden\Component\Serializer\Encoder\HtmlEncoder; $encoders = [new HtmlEncoder()]; $serializer = new Serializer([], $encoders);