PHPackages                             smart-contact/sc-utils - 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. smart-contact/sc-utils

ActiveLibrary

smart-contact/sc-utils
======================

SmartContact Utils

v1.1.1(4y ago)051MITPHP

Since May 6Pushed 4y agoCompare

[ Source](https://github.com/smart-contact/utils)[ Packagist](https://packagist.org/packages/smart-contact/sc-utils)[ Docs](https://github.com/smart-contact/utils)[ RSS](/packages/smart-contact-sc-utils/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

Responses
=========

[](#responses)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c8ed5f4b059a356a05d91edefbdbcfffe864c78c9c7cd66da8ed5964248998a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736d6172742d636f6e746163742f726573706f6e7365732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/smart-contact/responses)[![Total Downloads](https://camo.githubusercontent.com/1864c41d9fc7a7c09ca417ef2c40a20c31d8048ec2d6912a38bb84cc248189b0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736d6172742d636f6e746163742f726573706f6e7365732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/smart-contact/responses)[![License](https://camo.githubusercontent.com/96020877b97428680d7284d5882a42ea2ef571256b5c0ceb4186736bca4167e2/68747470733a2f2f706f7365722e707567782e6f72672f736d6172742d636f6e746163742f726573706f6e7365732f6c6963656e7365)](//packagist.org/packages/smart-contact/responses)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require smart-contact/responses
```

Usage
-----

[](#usage)

Include Trait `SmartContact\Responses\Traits\HasResponses` on desired Controller

Extends App\\Exceptions\\Handler with:

```
class Handler extends \SmartContact\Responses\Exceptions\Handler
{
    ...

    //only if you add custom exceptions
    public function register()
    {
        $this->setOverride(true);
        ...
        Other Report And Render
        ...
        $this->renderable(function (\ErrorException $e) {
            return response($this->retrieveResponse($e), 500);
        });
    }
}
```

Change log
----------

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

- [author name](https://github.com/smart-contact)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

25

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Total

5

Last Release

1768d ago

### Community

Maintainers

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

---

Top Contributors

[![sc-andreaortu](https://avatars.githubusercontent.com/u/57093164?v=4)](https://github.com/sc-andreaortu "sc-andreaortu (7 commits)")

---

Tags

laravelutils

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/smart-contact-sc-utils/health.svg)

```
[![Health](https://phpackages.com/badges/smart-contact-sc-utils/health.svg)](https://phpackages.com/packages/smart-contact-sc-utils)
```

PHPackages © 2026

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