PHPackages                             sapioweb/crudhelper - 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. sapioweb/crudhelper

ActiveLibrary[API Development](/categories/api)

sapioweb/crudhelper
===================

Helper provider to assist in general crud functions of a restful controller

1.3.1(10y ago)1197MITPHP

Since Jan 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/SapioBeasley/crudHelper)[ Packagist](https://packagist.org/packages/sapioweb/crudhelper)[ RSS](/packages/sapioweb-crudhelper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (21)Used By (0)

Crud Helper for Laravel 5+
--------------------------

[](#crud-helper-for-laravel-5)

[![Latest Stable Version](https://camo.githubusercontent.com/13e7d800c72bab919caab35db3822eaa9264154ac83942ab524785e1cd9c7f61/68747470733a2f2f706f7365722e707567782e6f72672f736170696f7765622f6372756468656c7065722f762f737461626c65)](https://packagist.org/packages/sapioweb/crudhelper)[![Total Downloads](https://camo.githubusercontent.com/97bb43bc7c4965707453a5832cff129b69b80845c9ec6f44712c1c69f600fa84/68747470733a2f2f706f7365722e707567782e6f72672f736170696f7765622f6372756468656c7065722f646f776e6c6f616473)](https://packagist.org/packages/sapioweb/crudhelper)[![Latest Unstable Version](https://camo.githubusercontent.com/929dfd72df2a5bc0904facc56f58d4a544ff7b5d95bd7d664f9a6287ce607584/68747470733a2f2f706f7365722e707567782e6f72672f736170696f7765622f6372756468656c7065722f762f756e737461626c65)](https://packagist.org/packages/sapioweb/crudhelper)[![License](https://camo.githubusercontent.com/40a07cfe472609ea989e6f411b91c45398d71b49f1f5c36321d8bd5ea867c723/68747470733a2f2f706f7365722e707567782e6f72672f736170696f7765622f6372756468656c7065722f6c6963656e7365)](https://packagist.org/packages/sapioweb/crudhelper)

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

[](#installation)

Include into your `config/app.php`, `Sapioweb\CrudHelper\CrudHelperServiceProvider::class,`

Use the helper in any controller you plan to use it in, `use Sapioweb\CrudHelper\CrudyController as CrudHelper;`

Usage
-----

[](#usage)

`use Sapioweb\CrudHelper\CrudyController as CrudHelper;`

`dd(CrudHelper::index());`

Available Methods
-----------------

[](#available-methods)

Grab all data for a given resource

`CrudHelper::index($model, $relations = null)`

Stores you data for a resource

`CrudHelper::store($model, $createData)`

Show a single resource

`CrudHelper::show($model, $field = 'id', $id, $relations = null)`

Preform a where query on relationships

`CrudHelper::relationshipQuery($model, $relationships, $relationField = null, $relationshipQuery = null)`

Create or update a resource

`CrudHelper::createOrUpdate($model, $field, $id, $inputData)`

Destroy a resource

`CrudHelper::destroy($model, $field = 'id', $id)`

Turn a regular string into a slug string

`CrudHelper::slugify($text)`

### License

[](#license)

This software is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT). For questions please email  or  or visit [Sapioweb.com](https://sapioweb.com/) to learn more and get in contact

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity72

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 ~1 days

Total

20

Last Release

3752d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b2dcde35ce666b8c302d89d26b9b0207ac0ca2b14d98fcc3455488d4aeb28d2?d=identicon)[SapioBeasley](/maintainers/SapioBeasley)

---

Top Contributors

[![SapioBeasley](https://avatars.githubusercontent.com/u/8516439?v=4)](https://github.com/SapioBeasley "SapioBeasley (28 commits)")

---

Tags

apilaravelhelpergoogleindexservice providercrudupdatedeleteservice providerscreateshoweditbeasleysapioweb

### Embed Badge

![Health badge](/badges/sapioweb-crudhelper/health.svg)

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

###  Alternatives

[mbarwick83/shorty

Google Url Shortener API Package for Laravel 5.1

31204.9k](/packages/mbarwick83-shorty)

PHPackages © 2026

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