PHPackages                             cloudcake/laravel-shovel - 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. [API Development](/categories/api)
4. /
5. cloudcake/laravel-shovel

ActiveLibrary[API Development](/categories/api)

cloudcake/laravel-shovel
========================

A minimal package for shovelling data from an API to clients, for Laravel.

v2.1.6(6y ago)961964MITPHPCI failing

Since Sep 18Pushed 6y ago5 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (30)Used By (0)

Laravel Shovel
==============

[](#laravel-shovel)

[![downloads](https://camo.githubusercontent.com/6e6b024bf9259484164ccbce2e45b6dc01496114cc127fe9b9b0482dd7545906/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374657068656e6c616b652f6c61726176656c2d73686f76656c2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/6e6b024bf9259484164ccbce2e45b6dc01496114cc127fe9b9b0482dd7545906/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374657068656e6c616b652f6c61726176656c2d73686f76656c2e7376673f7374796c653d666c61742d737175617265)[![license](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)

**Laravel Shovel** is a minimalist package providing Laravel response macros to assist in rapid API development by transforming models, resources, collections, paginated objects and errors into a concise API response format. DRY.

Getting Started
---------------

[](#getting-started)

Install the package via composer.

```
composer require cloudcake/laravel-shovel

```

Transform `Post::paginate();` into

```
{
  "meta": {
    "status": "success",
    "message": "OK",
    "code": 200,
    "pagination": {
      "records": 42312,
      "page": 1,
      "pages": 2821,
      "limit": 15
    }
  },
  "data": [{...},{...},{...}]
}

```

Using regular methods, `response(Post::paginate());` or `response(Resource::collection(Post::paginate())`.

See [documentation](https://cloudcake.github.io/laravel-shovel/#/) for more information.

License
-------

[](#license)

This library is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~15 days

Recently: every ~27 days

Total

29

Last Release

2365d ago

Major Versions

v0.0.6 → v1.0.02018-10-23

v1.4.1 → v2.0.82019-07-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1300442?v=4)[Stephen Lake](/maintainers/stephenlake)[@stephenlake](https://github.com/stephenlake)

---

Top Contributors

[![stephenlake](https://avatars.githubusercontent.com/u/1300442?v=4)](https://github.com/stephenlake "stephenlake (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cloudcake-laravel-shovel/health.svg)

```
[![Health](https://phpackages.com/badges/cloudcake-laravel-shovel/health.svg)](https://phpackages.com/packages/cloudcake-laravel-shovel)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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