PHPackages                             outrightvision/api-model - 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. outrightvision/api-model

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

outrightvision/api-model
========================

Generate Laravel-like Api Models

v1.0.29(1y ago)5112.0k↓20.7%[1 PRs](https://github.com/OUTRIGHT-Vision/api-model/pulls)5MITPHPCI failing

Since Apr 5Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/OUTRIGHT-Vision/api-model)[ Packagist](https://packagist.org/packages/outrightvision/api-model)[ RSS](/packages/outrightvision-api-model/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (4)Versions (39)Used By (5)

[![Latest Stable Version](https://camo.githubusercontent.com/698d9d44b494ce193ec3cbccbdb4ddefcd58b8edd6fe07629ddbf66dc5e95306/68747470733a2f2f706f7365722e707567782e6f72672f6f75747269676874766973696f6e2f6170692d6d6f64656c2f762f737461626c65)](https://packagist.org/packages/outrightvision/api-model) [![Total Downloads](https://camo.githubusercontent.com/f0a911a07b8a8b0e0899a40deac4a41550008a90de2394095f1baf7186ac3fd5/68747470733a2f2f706f7365722e707567782e6f72672f6f75747269676874766973696f6e2f6170692d6d6f64656c2f646f776e6c6f616473)](https://packagist.org/packages/outrightvision/api-model) [![Build Status](https://camo.githubusercontent.com/19cf5529270e71c00e7d7dd9dc2d7ee5d13da2ff279772ba69548d66754efc04/68747470733a2f2f7472617669732d63692e6f72672f6a6d6172636865722f6170692d6d6f64656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jmarcher/api-model) [![codecov](https://camo.githubusercontent.com/c59e5f5561d90447d2a5ed43398058f6fb2082fead75df9fb5fbffc433bd46f7/68747470733a2f2f636f6465636f762e696f2f67682f6a6d6172636865722f6170692d6d6f64656c2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/jmarcher/api-model)

Laravel-like Api Models
=======================

[](#laravel-like-api-models)

This library allows you to cast any API response (or any array) into Laravel-like Models.

Disclaimer
==========

[](#disclaimer)

The library is still under development, feel free to open pull requests or suggest any changes.

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

[](#installation)

1. Add to your composer file with: `composer require outrightvision/api-model`
2. Ready to use.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance70

Regular maintenance activity

Popularity35

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 71% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~77 days

Recently: every ~113 days

Total

29

Last Release

440d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/706a6137b467884874de2d5421ae177948565d936936c8be8da240be30f36d77?d=identicon)[jmarcher](/maintainers/jmarcher)

---

Top Contributors

[![jmarcher](https://avatars.githubusercontent.com/u/686843?v=4)](https://github.com/jmarcher "jmarcher (110 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (45 commits)")

---

Tags

apilaraveleloquentmodels

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/outrightvision-api-model/health.svg)

```
[![Health](https://phpackages.com/badges/outrightvision-api-model/health.svg)](https://phpackages.com/packages/outrightvision-api-model)
```

###  Alternatives

[kreait/laravel-firebase

A Laravel package for the Firebase PHP Admin SDK

1.3k16.5M42](/packages/kreait-laravel-firebase)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[mopo922/laravel-treats

A collection of goodies for Laravel 5.

108451.6k1](/packages/mopo922-laravel-treats)[io238/laravel-iso-countries

Ready-to-use Laravel models and relations for country (ISO 3166), language (ISO 639-1), and currency (ISO 4217) information with multi-language support.

5462.3k](/packages/io238-laravel-iso-countries)

PHPackages © 2026

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