PHPackages                             square-bit/laravel-volition - 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. square-bit/laravel-volition

ActiveLibrary

square-bit/laravel-volition
===========================

Database-driven code execution: make your objects smart!

v12.1(1mo ago)1173↓100%[4 PRs](https://github.com/square-bit/laravel-volition/pulls)1MITPHPPHP ^8.3|^8.4CI passing

Since Aug 18Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/square-bit/laravel-volition)[ Packagist](https://packagist.org/packages/square-bit/laravel-volition)[ Docs](https://github.com/square-bit/laravel-volition)[ RSS](/packages/square-bit-laravel-volition/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (11)Versions (20)Used By (1)

This is my package laravel-volition
===================================

[](#this-is-my-package-laravel-volition)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b97f2574906b07b2c6a9eaff4a9af2c13a9a8434b355dde0b8fcaa77e54200b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7371756172652d6269742f6c61726176656c2d766f6c6974696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/square-bit/laravel-volition)[![GitHub Tests Action Status](https://camo.githubusercontent.com/348e3b84db4ad8b03d896a0828a0c4e40824e3ce4a328896a31f954ac8bdf6bc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7371756172652d6269742f6c61726176656c2d766f6c6974696f6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/square-bit/laravel-volition/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/a06e21a756b3c1df66ac0f91109921ea2667b24fc697365985f1d32476fd3212/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7371756172652d6269742f6c61726176656c2d766f6c6974696f6e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/square-bit/laravel-volition/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f67355c277eb49748a7189b93a5b141d6b4798501ecbe511265a1c5a528342c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7371756172652d6269742f6c61726176656c2d766f6c6974696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/square-bit/laravel-volition)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/d2b9ab76e3451a491cc2308f837a15eed0d62f4f542e9acf431b81c2766c3d0b/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d766f6c6974696f6e2e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-volition)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require square-bit/laravel-volition
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-volition-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-volition-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-volition-views"
```

Usage
-----

[](#usage)

```
$volition = new Squarebit\Volition();
echo $volition->echoPhrase('Hello, Squarebit!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Squarebit](https://github.com/square-bit)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance91

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 85.5% 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 ~64 days

Recently: every ~125 days

Total

15

Last Release

41d ago

Major Versions

v1.1.7 → v2.0.02024-09-11

v2.2 → v12.12026-02-09

PHP version history (3 changes)v1PHP ^8.1|^8.2

v2.0.1PHP ^8.2|^8.3

v12.1PHP ^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/01faacc649020a16c1cceb7ec2dd2cf579c5de812ee9a88aad11be04e41c54bf?d=identicon)[Squarebit](/maintainers/Squarebit)

---

Top Contributors

[![tiagof](https://avatars.githubusercontent.com/u/1729910?v=4)](https://github.com/tiagof "tiagof (59 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

---

Tags

laravelsquare-bitlaravel-volition

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/square-bit-laravel-volition/health.svg)

```
[![Health](https://phpackages.com/badges/square-bit-laravel-volition/health.svg)](https://phpackages.com/packages/square-bit-laravel-volition)
```

###  Alternatives

[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13662.4k1](/packages/ralphjsmit-laravel-helpers)[basillangevin/laravel-data-json-schemas

Transforms Spatie Data objects into JSON Schemas with built-in validation

136.9k1](/packages/basillangevin-laravel-data-json-schemas)

PHPackages © 2026

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