PHPackages                             petrelli/live-statics-addons - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. petrelli/live-statics-addons

ActiveLibrary[Testing &amp; Quality](/categories/testing)

petrelli/live-statics-addons
============================

Addons to extend petrelli/live-statics with new functionalities

v0.0.2-alpha(7y ago)013MITPHPPHP ^7.1

Since Feb 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ferpetrelli/live-statics-addons)[ Packagist](https://packagist.org/packages/petrelli/live-statics-addons)[ RSS](/packages/petrelli-live-statics-addons/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

About Live-Statics Addons
=========================

[](#about-live-statics-addons)

Live-Statics is an open source Laravel package that will help you quickly build prototypes and static pages facilitating data injection into real views. Because all mocked objects will behave as the real ones you won't have to spend any time with integration tasks.

This package provides new Classes, Traits, Faker providers and Modules for you to use.

Install
=======

[](#install)

1. Include the package

You can run the command:

```
composer require petrelli/live-statics-addons
```

Or directly add it to your composer.json

```
"petrelli/live-statics-addons": "^0.0.1@alpha"
```

And run `composer update`.

2. Publish configuration files and the Service Provider

```
php artisan vendor:publish --provider="Petrelli\LiveStaticsAddons\BaseServiceProvider"

```

Usage
=====

[](#usage)

Classes
-------

[](#classes)

```
use \Petrelli\LiveStaticsAddons\BaseMock;

class BookMock extends BaseMock implements BookInterface
{
    #...
}
```

Traits
------

[](#traits)

Let's include the `HasImages` to emulate images from `Twill` as an example.

```
use \Petrelli\LiveStatics\BaseMock;
use \Petrelli\LiveStaticsAddons\Traits\Twill\HasImages;

class BookMock extends BaseMock implements BookInterface
{
    use HasImages;

    #...
}
```

TODO
====

[](#todo)

Documentation:

- Interface Mapper
- Twill Blocks
- Twill Images

License
=======

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Total

2

Last Release

2638d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fc70d39bb6fe2c649062145018204aba8004821722ec6699cb456c18f4db005?d=identicon)[petrelli](/maintainers/petrelli)

---

Top Contributors

[![ferpetrelli](https://avatars.githubusercontent.com/u/421480?v=4)](https://github.com/ferpetrelli "ferpetrelli (7 commits)")

---

Tags

injectiondatamockcontrollerservicesstatics

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/petrelli-live-statics-addons/health.svg)

```
[![Health](https://phpackages.com/badges/petrelli-live-statics-addons/health.svg)](https://phpackages.com/packages/petrelli-live-statics-addons)
```

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[nelmio/alice

Expressive fixtures generator

2.5k43.4M133](/packages/nelmio-alice)[php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

36918.1M98](/packages/php-mock-php-mock)[brain/monkey

Mocking utility for PHP functions and WordPress plugin API

33412.5M350](/packages/brain-monkey)[php-http/mock-client

Mock HTTP client

719.7M781](/packages/php-http-mock-client)

PHPackages © 2026

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