PHPackages                             rexlabs/laravel-smokescreen - 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. [Database &amp; ORM](/categories/database)
4. /
5. rexlabs/laravel-smokescreen

ActiveLibrary[Database &amp; ORM](/categories/database)

rexlabs/laravel-smokescreen
===========================

4.3.0(1y ago)44181[2 issues](https://github.com/rexlabsio/smokescreen-laravel-php/issues)MITPHPPHP &gt;=7.4 &lt;8.5CI failing

Since Jan 4Pushed 1y ago4 watchersCompare

[ Source](https://github.com/rexlabsio/smokescreen-laravel-php)[ Packagist](https://packagist.org/packages/rexlabs/laravel-smokescreen)[ RSS](/packages/rexlabs-laravel-smokescreen/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (6)Versions (35)Used By (0)

Laravel Smokescreen
===================

[](#laravel-smokescreen)

[![License: MIT](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://opensource.org/licenses/MIT)[![Build Status](https://camo.githubusercontent.com/1aee297d2d072bc644064961dccff6ad3dd6d86ff60e4c6c6ce89fe07d271a69/68747470733a2f2f7472617669732d63692e6f72672f7265786c616273696f2f736d6f6b6573637265656e2d6c61726176656c2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rexlabsio/smokescreen-laravel-php)[![Code Coverage](https://camo.githubusercontent.com/d214e7508665aa68390f8f7696288af62580a6477d82da586a185c44fe0fc372/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7265786c616273696f2f736d6f6b6573637265656e2d6c61726176656c2d7068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rexlabsio/smokescreen-laravel-php/?branch=master)[![Packagist](https://camo.githubusercontent.com/a0d08f6c793d55a3bfe647b42a355553df119aaf0e9ae959192fd4b9df0a1415/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7265786c6162732f6c61726176656c2d736d6f6b6573637265656e2e737667)](https://packagist.org/packages/rexlabs/laravel-smokescreen)

Overview
--------

[](#overview)

Laravel Smokescreen is a package for transforming your Laravel models, and other entities.

- Transform API responses
- Transform Job and Event payloads
- Minimal boiler-plate and bootstrap
- Supports complex relationships for embedded data
- Supports eager loading of relationships
- Allows transforming different types of resources
- Can handle serializing to customisable formats

This package tightly integrates the [rexlabs/smokescreen](https://github.com/rexlabsio/smokescreen-php) (Vanilla PHP) package with the Laravel framework, to provide the convenience and minimal boilerplate when working with Laravel applications.

Usage
-----

[](#usage)

```
