You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="https://packagist.org/packages/wayofdev/laravel-symfony-serializer"><imgalt="Commits since latest release"src="https://img.shields.io/github/commits-since/wayofdev/laravel-symfony-serializer/latest?style=flat-square"></a>
19
19
</div>
20
-
21
20
<br>
22
21
23
-
# Laravel Package Template
22
+
# Laravel Symfony Serializer
24
23
25
-
This is minimal Laravel template which is used by other PHP projects in wayofdev organization.
24
+
## 📄 About
26
25
27
-
If you **like/use** this package, please consider **starring** it. Thanks!
26
+
This package integrates the Symfony Serializer component into Laravel, providing a powerful tool for serializing and deserializing objects into various formats such as JSON, XML, CSV, and YAML.
28
27
29
-

28
+
Detailed documentation on the Symfony serializer can be found on their [official page](https://symfony.com/doc/current/components/serializer.html).
30
29
31
-
## 💿 Installation
30
+
### → Purpose
31
+
32
+
This package brings the power of the Symfony Serializer component to Laravel. While Laravel does not have a built-in serializer and typically relies on array or JSON transformations, this package provides more advanced serialization capabilities. This includes object normalization, handling of circular references, property grouping, and format-specific encoders.
33
+
34
+
If you are building a REST API, working with queues, or have complex serialization needs, this package will be especially useful. It allows you to use objects as payload instead of simple arrays, and supports various formats such as JSON, XML, CSV, and YAML. This documentation will guide you through the installation process and provide examples of how to use the package to serialize and deserialize your objects.
32
35
33
-
### → Using composer
36
+
<br>
37
+
38
+
🙏 If you find this repository useful, please consider giving it a ⭐️. Thank you!
0 commit comments