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 2w ago

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 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

2686d 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

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M38.9k](/packages/orchestra-testbench)[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2228.3k](/packages/guanguans-laravel-soar)[spurwork/spectator

Testing helpers for your OpenAPI spec

3041.5k](/packages/spurwork-spectator)[phpcurl/curlwrapper

The simplest OOP wrapper for curl, curl\_multi, curl\_share functions. Use CURL as a dependency, not hard-coded!

11111.6k3](/packages/phpcurl-curlwrapper)[ybelenko/openapi-data-mocker

Library that generates fake data from Swagger 2.0|Openapi 3.0 spec

1234.3k1](/packages/ybelenko-openapi-data-mocker)[mominalzaraa/filament-localization

The first and only automatic Filament localization package with intelligent resource scanning, structured translation files, and comprehensive testing

101.6k](/packages/mominalzaraa-filament-localization)

PHPackages © 2026

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