PHPackages                             dropelikeit/laravel-jms-serializer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. dropelikeit/laravel-jms-serializer

Abandoned → [dropelikeit/laravel-responsefactory](/?search=dropelikeit%2Flaravel-responsefactory)Library[Parsing &amp; Serialization](/categories/parsing)

dropelikeit/laravel-jms-serializer
==================================

Integration JMS Serializer in Laravel / Lumen

v6.0.1(2y ago)36.8k↓57.1%1MITPHPPHP ^8.1|^8.2|^8.3CI failing

Since Feb 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Dropelikeit/laravel-jms-serializer)[ Packagist](https://packagist.org/packages/dropelikeit/laravel-jms-serializer)[ RSS](/packages/dropelikeit-laravel-jms-serializer/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (17)Versions (22)Used By (0)

[![Gitworkflow](https://github.com/Dropelikeit/laravel-jms-serializer/actions/workflows/ci.yml/badge.svg)](https://github.com/Dropelikeit/laravel-jms-serializer/actions/workflows/ci.yml/badge.svg)[![Coverage Status](https://camo.githubusercontent.com/714565ff7ecef25e48af376ed6da5d449db94b3a71665d03a5f5462f115293d1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f44726f70656c696b6569742f6c61726176656c2d6a6d732d73657269616c697a65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Dropelikeit/laravel-jms-serializer?branch=master)[![Monthly Downloads](https://camo.githubusercontent.com/cef7bed74cf019deb341ae8d6e41f1c3f1dc1eb48c0f4d5a5b46b2f328eeb4e1/68747470733a2f2f706f7365722e707567782e6f72672f64726f70656c696b6569742f6c61726176656c2d6a6d732d73657269616c697a65722f642f6d6f6e74686c79)](https://packagist.org/packages/dropelikeit/laravel-jms-serializer)[![Daily Downloads](https://camo.githubusercontent.com/c8eade63d064dead5f66ea93432ca0192112f9e5fc3aded4b140d712e1921851/68747470733a2f2f706f7365722e707567782e6f72672f64726f70656c696b6569742f6c61726176656c2d6a6d732d73657269616c697a65722f642f6461696c79)](https://packagist.org/packages/dropelikeit/laravel-jms-serializer)[![Total Downloads](https://camo.githubusercontent.com/07b62abea5b0b490ce13a45d6cbdeff35d16552b240217e32102d85ccaf4c174/68747470733a2f2f706f7365722e707567782e6f72672f64726f70656c696b6569742f6c61726176656c2d6a6d732d73657269616c697a65722f646f776e6c6f616473)](https://packagist.org/packages/dropelikeit/laravel-jms-serializer)[![Latest Stable Version](https://camo.githubusercontent.com/64b1a621afa0bf80bf9743351846db881c147e8b8e68e728e1f3fa07300d2191/68747470733a2f2f706f7365722e707567782e6f72672f64726f70656c696b6569742f6c61726176656c2d6a6d732d73657269616c697a65722f762f737461626c65)](https://packagist.org/packages/dropelikeit/laravel-jms-serializer)[![Total Downloads](https://camo.githubusercontent.com/07b62abea5b0b490ce13a45d6cbdeff35d16552b240217e32102d85ccaf4c174/68747470733a2f2f706f7365722e707567782e6f72672f64726f70656c696b6569742f6c61726176656c2d6a6d732d73657269616c697a65722f646f776e6c6f616473)](https://packagist.org/packages/dropelikeit/laravel-jms-serializer)[![License](https://camo.githubusercontent.com/6d76a7e2f4671f7ae0ef45ee7b138a9ccfab5370994a3998f320a8d6234b2a14/68747470733a2f2f706f7365722e707567782e6f72672f64726f70656c696b6569742f6c61726176656c2d6a6d732d73657269616c697a65722f6c6963656e7365)](https://packagist.org/packages/dropelikeit/laravel-jms-serializer)[![composer.lock](https://camo.githubusercontent.com/49437cc19930968cad2288e4d2e7a48f4d88fe6c0391e457d1b06e24fcf4e48a/68747470733a2f2f706f7365722e707567782e6f72672f64726f70656c696b6569742f6c61726176656c2d6a6d732d73657269616c697a65722f636f6d706f7365726c6f636b)](https://packagist.org/packages/dropelikeit/laravel-jms-serializer)[![Mutation testing badge](https://camo.githubusercontent.com/a64dd8e0048e405c4c283420dce7b726675dbd1cab31e1850a009a16cbf82fe1/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d25324644726f70656c696b6569742532466c61726176656c2d6a6d732d73657269616c697a65722532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/Dropelikeit/laravel-jms-serializer/master)

JMS Serializer for Laravel
==========================

[](#jms-serializer-for-laravel)

This package integrates the JMS serializer into Laravel.

JMS-Serializer:

You are also welcome to use the Issue Tracker to set bugs, improvements or upgrade requests.

> Please use the new package  in the future. The new package contains some new and useful functions! This package will only be supported until the end of Laravel 11. Until then, you should use the new package.

### Installation

[](#installation)

`composer require dropelikeit/laravel-jms-serializer`

### Support note

[](#support-note)

LaravelPHPPackage VersionStatus118.2, 8.3v6.x.xSupport108.1, 8.2, 8.3&gt;=v5.x.xSupport98.0, 8.1, 8.2v4.x.x - v5.1.0Not supported87.3, 7.4, 8.0, 8.1v3.x.x - v4.0.0Not supported77.2, 7.3, 7.4, 8.0v2.x.x - v3.0.0Not supported67.2, 7.3, 7.4, 8.0v1.x.x - v3.0.0Not supported### How to use

[](#how-to-use)

Laravel uses Package Auto-Discovery, so you do not need to add the service provider manually.

For example, to use the JMS serializer in a controller, add the ResponseFactory in the constructor.

```
