PHPackages                             tommus/sprout - 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. [Database &amp; ORM](/categories/database)
4. /
5. tommus/sprout

ActiveLibrary[Database &amp; ORM](/categories/database)

tommus/sprout
=============

Grow your Laravel seeders.

1.0.1(7y ago)39MITPHP

Since Feb 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tmus/sprout)[ Packagist](https://packagist.org/packages/tommus/sprout)[ RSS](/packages/tommus-sprout/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Sprout
======

[](#sprout)

Grow your Laravel seeders.

Sprout allows you to write more modular, reuseable seeders for specific scenarios in your app.

For example, creating a "full event" by creating an event and ten bookings. Or, creating an "empty event" by creating just an event.

Usage
-----

[](#usage)

1. Pull in the package with composer:

```
composer require tommus/sprout
```

Laravel will automatically discover the Sprout Service Provider, meaning you don't need to manually add it.

2. Publish the Sprout vendor files:

```
php artisan vendor:publish --tag=sprout
```

3. Create a new Sprout:

```
php artisan sprout:make Example
```

This will make a new Sprout at `App/Sprouts/Example.php`. In the `run()`method, you can add any factories or calls you'd like.

You can call another Sprout by using `$this->call(Sprout::class)` from within the called Sprout. This happens recursively.

Optionally, you can add a `beforeRun()` and `afterRun()` method to a Sprout to build up and tear down specific config.

You can add a `protected $description = 'Custom Title';` to a Sprout.

4. Add the Sprout to `config/sprout.php`:

```
return [
  'list' => [
    \App\Sprouts\Example::class,
  ],
];
```

5. Run the Sprout:

```
php artisan sprout:run
```

This allows you to choose a Sprout to run from the list defined in the Sprout config.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

2655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5105649342f569b5021874d6cc51ffb18a66ad8fa27b3ba9bb9aecdc005e07f1?d=identicon)[tmus](/maintainers/tmus)

---

Top Contributors

[![tmus](https://avatars.githubusercontent.com/u/3391005?v=4)](https://github.com/tmus "tmus (9 commits)")

### Embed Badge

![Health badge](/badges/tommus-sprout/health.svg)

```
[![Health](https://phpackages.com/badges/tommus-sprout/health.svg)](https://phpackages.com/packages/tommus-sprout)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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