PHPackages                             jeroennoten/laravel-psp - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jeroennoten/laravel-psp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jeroennoten/laravel-psp
=======================

Laravel Package Service Provider for autoloading dependencies of packages in development

v2.0.2(10y ago)7371MITPHP

Since Oct 12Pushed 10y ago2 watchersCompare

[ Source](https://github.com/jeroennoten/Laravel-PSP)[ Packagist](https://packagist.org/packages/jeroennoten/laravel-psp)[ RSS](/packages/jeroennoten-laravel-psp/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

#### For Laravel 5.1 and older, use the [1.0 branch](https://github.com/JeroenNoten/Laravel-PSP/tree/1.0)

[](#for-laravel-51-and-older-use-the-10-branch)

Laravel Package Service Provider
================================

[](#laravel-package-service-provider)

Developing packages in Laravel 5 is easy: just create a subdirectory for your package in a directory `packages`, add the necessary autoload details in your `composer.json` file and you're good to go. Unless... your package has dependencies on other packages. Then you need to `require_once` the `vendor/autoload.php` file of each package. That is exactly what this package does. Of course, you can also use more heavy Laravel package development tools, such as [Studio](https://github.com/franzliedke/studio) or [Laravel Packager](https://github.com/Jeroen-G/laravel-packager), but if you (like me) don't really need all that additional stuff, you can use this package.

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

[](#installation)

1. Require the package using composer:

    ```
    composer require jeroennoten/laravel-psp

    ```
2. Add the service provider to the `providers` in `config/app.php`:

    ```
    JeroenNoten\LaravelPsp\ServiceProvider::class,
    ```
3. Create an empty `packages` directory in the root of your project.

Now you're ready to create your awesome packages.

Creating A New Package
----------------------

[](#creating-a-new-package)

1. In the `packages` directory, create a subdirectory for your new package, e.g. `packages/your-package`.
2. In your `composer.json` file, define the autoloading properties for your package like so (assuming that you use [PSR-4](http://www.php-fig.org/psr/psr-4/) autoloading from the `src` subdirectory in your package directory):

    ```
    "autoload": {
        "psr-4": {
            "YourVendorNamespace\\YourPackageNameSpace\\": "packages/your-package/src"
        }
    },
    ```

Done! You're now ready to develop your package.

> Note that this package assumes that your packages reside in a directory called `packages`. This is not (yet) configurable.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

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

Total

5

Last Release

3659d ago

Major Versions

v1.0.0 → v2.0.02016-03-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e723dd83f374215e85b05fa260826f267bcef0dfb1026246ca1d845ae4f3a39?d=identicon)[JeroenNoten](/maintainers/JeroenNoten)

---

Top Contributors

[![jeroennoten](https://avatars.githubusercontent.com/u/4370753?v=4)](https://github.com/jeroennoten "jeroennoten (12 commits)")

---

Tags

composerlaravelpackageautoloaddevelopmentpackagesdependencies

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[illuminate/session

The Illuminate Session package.

9939.3M849](/packages/illuminate-session)[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M200](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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