PHPackages                             laravel/roster - 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. [Framework](/categories/framework)
4. /
5. laravel/roster

ActiveLibrary[Framework](/categories/framework)

laravel/roster
==============

Detect packages &amp; approaches in use within a Laravel project

v0.5.1(2mo ago)15510.4M—0.5%19[3 issues](https://github.com/laravel/roster/issues)[1 PRs](https://github.com/laravel/roster/pulls)6MITPHPPHP ^8.2CI passing

Since Jul 21Pushed today2 watchersCompare

[ Source](https://github.com/laravel/roster)[ Packagist](https://packagist.org/packages/laravel/roster)[ Docs](https://github.com/laravel/roster)[ RSS](/packages/laravel-roster/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (20)Versions (24)Used By (6)

Laravel Roster
==============

[](#laravel-roster)

[![Build Status](https://github.com/laravel/roster/workflows/tests/badge.svg)](https://github.com/laravel/roster/actions)[![Total Downloads](https://camo.githubusercontent.com/6f3f71ab4253089feba05670289fcff1d846f199146d312b4cc5262a3c906c64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2f726f73746572)](https://packagist.org/packages/laravel/roster)[![Latest Stable Version](https://camo.githubusercontent.com/d83b9c29743dfb7b500c887df886b513e81b98466b28f88c84c1a629e516bed1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2f726f73746572)](https://packagist.org/packages/laravel/roster)[![License](https://camo.githubusercontent.com/fcde7a997fbd11b0ae3ed21bfdeb9c5b4ea0a28d0a74587065378336e2c0ab4e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c61726176656c2f726f73746572)](https://packagist.org/packages/laravel/roster)

Introduction
------------

[](#introduction)

Laravel Roster detects which Laravel ecosystem packages are in use within a project, and gives you an easy to use API to work with that data.

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

[](#installation)

To get started, install Roster via Composer:

```
composer require laravel/roster --dev
```

Usage
-----

[](#usage)

**Scan a directory**

Get a roster of installed packages by scanning a directory:

```
use Laravel\Roster\Roster;

$roster = Roster::scan($directory);
```

**Query the roster**

```
use Laravel\Roster\Packages;

// Get all packages
$roster->packages();

// Get only packages that will be used in production
$roster->packages()->production();

// Packages that are only used for dev
$roster->packages()->dev();

// Check if a package is in use
$roster->uses(Packages::INERTIA);

// Check if a particular version of a package is in use
$roster->usesVersion(Packages::INERTIA, '2.0.0', '>=');

// Detect which JavaScript package manager is in use
$packageManager = $roster->nodePackageManager();
```

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

[](#contributing)

Thank you for considering contributing to Roster! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

Code of Conduct
---------------

[](#code-of-conduct)

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

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

[](#security-vulnerabilities)

Please review [our security policy](https://github.com/laravel/roster/security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

Laravel Roster is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance93

Actively maintained with recent releases

Popularity65

Solid adoption and visibility

Community30

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.9% 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 ~15 days

Recently: every ~23 days

Total

16

Last Release

75d ago

PHP version history (2 changes)v0.1.0PHP ^8.2

v0.2.0PHP ^8.1|^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/463230?v=4)[Taylor Otwell](/maintainers/taylorotwell)[@taylorotwell](https://github.com/taylorotwell)

---

Top Contributors

[![ashleyhindle](https://avatars.githubusercontent.com/u/454975?v=4)](https://github.com/ashleyhindle "ashleyhindle (63 commits)")[![pushpak1300](https://avatars.githubusercontent.com/u/31663512?v=4)](https://github.com/pushpak1300 "pushpak1300 (18 commits)")[![HichemTab-tech](https://avatars.githubusercontent.com/u/84734617?v=4)](https://github.com/HichemTab-tech "HichemTab-tech (16 commits)")[![jjoek](https://avatars.githubusercontent.com/u/35167093?v=4)](https://github.com/jjoek "jjoek (5 commits)")[![joetannenbaum](https://avatars.githubusercontent.com/u/2702148?v=4)](https://github.com/joetannenbaum "joetannenbaum (3 commits)")[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (2 commits)")[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (1 commits)")[![soleinjast](https://avatars.githubusercontent.com/u/117115652?v=4)](https://github.com/soleinjast "soleinjast (1 commits)")[![srinathreddydudi](https://avatars.githubusercontent.com/u/10626045?v=4)](https://github.com/srinathreddydudi "srinathreddydudi (1 commits)")[![webard](https://avatars.githubusercontent.com/u/855788?v=4)](https://github.com/webard "webard (1 commits)")[![ylynfatt](https://avatars.githubusercontent.com/u/19831?v=4)](https://github.com/ylynfatt "ylynfatt (1 commits)")[![AmadulHaque](https://avatars.githubusercontent.com/u/92516695?v=4)](https://github.com/AmadulHaque "AmadulHaque (1 commits)")[![zcuric](https://avatars.githubusercontent.com/u/1560102?v=4)](https://github.com/zcuric "zcuric (1 commits)")[![chris-ware](https://avatars.githubusercontent.com/u/19684457?v=4)](https://github.com/chris-ware "chris-ware (1 commits)")[![duncanmcclean](https://avatars.githubusercontent.com/u/19637309?v=4)](https://github.com/duncanmcclean "duncanmcclean (1 commits)")[![jackbayliss](https://avatars.githubusercontent.com/u/13621738?v=4)](https://github.com/jackbayliss "jackbayliss (1 commits)")[![laserhybiz](https://avatars.githubusercontent.com/u/100562257?v=4)](https://github.com/laserhybiz "laserhybiz (1 commits)")[![mathieutu](https://avatars.githubusercontent.com/u/11351322?v=4)](https://github.com/mathieutu "mathieutu (1 commits)")

---

Tags

devlaravellaraveldev

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laravel-roster/health.svg)

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

###  Alternatives

[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k10.6M274](/packages/laravel-boost)[laravel/sail

Docker files for running a basic Laravel application.

1.9k186.9M1.0k](/packages/laravel-sail)[laravel/tinker

Powerful REPL for the Laravel framework.

7.4k423.8M1.8k](/packages/laravel-tinker)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)

PHPackages © 2026

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