PHPackages                             saritasa/dingo-api-custom - 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. saritasa/dingo-api-custom

AbandonedArchivedLibrary[API Development](/categories/api)

saritasa/dingo-api-custom
=========================

Saritasa customizations for Dingo/Api library

3.0.0(1y ago)116.6k↓50%13MITPHPPHP &gt;=7.1

Since Apr 7Pushed 1y ago5 watchersCompare

[ Source](https://github.com/Saritasa/php-dingo-api-custom)[ Packagist](https://packagist.org/packages/saritasa/dingo-api-custom)[ RSS](/packages/saritasa-dingo-api-custom/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (28)Used By (3)

Dingo API customization
=======================

[](#dingo-api-customization)

[![PHP Unit](https://github.com/Saritasa/php-dingo-api-custom/workflows/PHP%20Unit/badge.svg)](https://github.com/Saritasa/php-dingo-api-custom/actions)[![PHP CodeSniffer](https://github.com/Saritasa/php-dingo-api-custom/workflows/PHP%20Codesniffer/badge.svg)](https://github.com/Saritasa/php-dingo-api-custom/actions)[![codecov](https://camo.githubusercontent.com/8b66da6b10c33f432c20113837c28c595cd21541461885afbd8ddf512024d7a3/68747470733a2f2f636f6465636f762e696f2f67682f53617269746173612f7068702d64696e676f2d6170692d637573746f6d2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Saritasa/php-dingo-api-custom)[![Release](https://camo.githubusercontent.com/3a7e54ca32942cd536b90c509a5bffb548d706c3fdbc1648f78da10bb4b6304c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f73617269746173612f7068702d64696e676f2d6170692d637573746f6d2e737667)](https://github.com/Saritasa/php-dingo-api-custom/releases)[![PHPv](https://camo.githubusercontent.com/13c9fd986a02b48f17f5089907a5b991eea5dff4376b2685fcdfbba6ec140cc8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73617269746173612f64696e676f2d6170692d637573746f6d2e737667)](http://www.php.net)[![Downloads](https://camo.githubusercontent.com/7fb64f8d8b81076741b72e0bbe458c40e795bce3d62df7902fa9446adc669f16/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73617269746173612f64696e676f2d6170692d637573746f6d2e737667)](https://packagist.org/packages/saritasa/dingo-api-custom)

Custom settings and extensions for Dingo/Api package

See

Laravel 5.x/6x
--------------

[](#laravel-5x6x)

Install the `saritasa/dingo-api-custom` package:

```
$ composer require saritasa/dingo-api-custom
```

If you use Laravel 5.4 or less, or 5.5+ with [package discovery](https://laravel.com/docs/5.5/packages#package-discovery) disabled, add the BladeDirectivesServiceProvider service provider in `config/app.php`:

```
'providers' => array(
    // ...
    Saritasa\DingoApi\SaritasaDingoApiServiceProvider::class,
)
```

Customizations
--------------

[](#customizations)

Registers **CustomArraySerializer** instead of **ArraySerializer**:

- Does not add 'meta' key for metadata, all metadata output to root.

Registers custom ApiExceptionHandler with specific handling of exceptions, defined in [saritasa/php-common](https://github.com/Saritasa/php-common) package

Changes format of JSON output for handled validation exceptions.

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

[](#contributing)

1. Create fork, checkout it
2. Develop locally as usual. **Code must follow [PSR-1](http://www.php-fig.org/psr/psr-1/), [PSR-2](http://www.php-fig.org/psr/psr-2/)** - run [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) to ensure, that code follows style guides
3. **Cover added functionality with unit tests** and run [PHPUnit](https://phpunit.de/) to make sure, that all tests pass
4. Update [README.md](README.md) to describe new or changed functionality
5. Add changes description to [CHANGES.md](CHANGES.md) file. Use [Semantic Versioning](https://semver.org/) convention to determine next version number.
6. When ready, create pull request

### Make shortcuts

[](#make-shortcuts)

If you have [GNU Make](https://www.gnu.org/software/make/) installed, you can use following shortcuts:

- `make cs` (instead of `php vendor/bin/phpcs`) - run static code analysis with [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)to check code style
- `make csfix` (instead of `php vendor/bin/phpcbf`) - fix code style violations with [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)automatically, where possible (ex. PSR-2 code formatting violations)
- `make test` (instead of `php vendor/bin/phpunit`) - run tests with [PHPUnit](https://phpunit.de/)
- `make install` - instead of `composer install`
- `make all` or just `make` without parameters - invokes described above **install**, **cs**, **test** tasks sequentially - project will be assembled, checked with linter and tested with one single command

Resources
---------

[](#resources)

- [Bug Tracker](http://github.com/saritasa/php-dingo-api-custom/issues)
- [Code](http://github.com/saritasa/php-dingo-api-custom)
- [Changes History](CHANGES.md)
- [Authors](http://github.com/saritasa/php-dingo-api-custom/contributors)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 80.8% 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 ~107 days

Recently: every ~488 days

Total

26

Last Release

650d ago

Major Versions

1.0.15 → 2.0.02018-02-09

2.2.2 → 3.0.02024-08-06

PHP version history (2 changes)1.0.0PHP &gt;=7.0

2.2.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/b7632cf2eb5dd552ace9d66947ed6919e19c6a2fdb5dc73b8c71e0f9886ccc83?d=identicon)[saritasa](/maintainers/saritasa)

---

Top Contributors

[![populov](https://avatars.githubusercontent.com/u/3766033?v=4)](https://github.com/populov "populov (59 commits)")[![maxermolenko](https://avatars.githubusercontent.com/u/11438109?v=4)](https://github.com/maxermolenko "maxermolenko (10 commits)")[![hollow-en](https://avatars.githubusercontent.com/u/87475798?v=4)](https://github.com/hollow-en "hollow-en (4 commits)")

---

Tags

dingo-apilaravelphpapilaravelrestfuldingo

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/saritasa-dingo-api-custom/health.svg)

```
[![Health](https://phpackages.com/badges/saritasa-dingo-api-custom/health.svg)](https://phpackages.com/packages/saritasa-dingo-api-custom)
```

###  Alternatives

[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)[laravie/api

A RESTful API package for the Laravel and Lumen frameworks.

1624.4k1](/packages/laravie-api)

PHPackages © 2026

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