PHPackages                             cruxinator/responsemodels - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. cruxinator/responsemodels

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cruxinator/responsemodels
=========================

Encapsulate content leaving Laravel framework

0114[3 PRs](https://github.com/cruxinator/responsemodels/pulls)PHP

Since Aug 26Pushed 2y ago2 watchersCompare

[ Source](https://github.com/cruxinator/responsemodels)[ Packagist](https://packagist.org/packages/cruxinator/responsemodels)[ RSS](/packages/cruxinator-responsemodels/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Encapsulate content leaving Laravel framework
=============================================

[](#encapsulate-content-leaving-laravel-framework)

[![Latest Version on Packagist](https://camo.githubusercontent.com/815de5906e86b00432032d7751e1f3048b60e59d174933202b6f6f1f4239d5fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63727578696e61746f722f726573706f6e73656d6f64656c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cruxinator/responsemodels)[![run-tests](https://github.com/cruxinator/laravel-strings/actions/workflows/run-tests.yml/badge.svg)](https://github.com/cruxinator/responsemodels/actions/workflows/run-tests.yml)[![Check & fix styling](https://github.com/cruxinator/laravel-strings/actions/workflows/php-cs-fixer.yml/badge.svg)](https://cruxinator/responsemodels/laravel-strings/actions/workflows/php-cs-fixer.yml)[![PHPStan](https://github.com/cruxinator/laravel-strings/actions/workflows/phpstan.yml/badge.svg)](https://github.com/cruxinator/responsemodels/actions/workflows/phpstan.yml)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require cruxinator/responsemodels
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="responsemodels-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="responsemodels-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="responsemodels-views"
```

Usage
-----

[](#usage)

```
$responseModel = new Cruxinator\ResponseModel();
echo $responseModel->echoPhrase('Hello, Cruxinator!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Alex Goodwin](https://github.com/cruxinator)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/660f28cae8e83d7fa7ebc774ed57430be88f4b66b9f7e4ff07591c74297a7d15?d=identicon)[CyberiaResurrection](/maintainers/CyberiaResurrection)

---

Top Contributors

[![CyberiaResurrection](https://avatars.githubusercontent.com/u/9083866?v=4)](https://github.com/CyberiaResurrection "CyberiaResurrection (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

### Embed Badge

![Health badge](/badges/cruxinator-responsemodels/health.svg)

```
[![Health](https://phpackages.com/badges/cruxinator-responsemodels/health.svg)](https://phpackages.com/packages/cruxinator-responsemodels)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
