PHPackages                             synga/laravel-service-provider-helper - 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. synga/laravel-service-provider-helper

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

synga/laravel-service-provider-helper
=====================================

The package can add service providers to your app.php when composer update finishes

1.0.3(10y ago)224MITPHPPHP &gt;=5.4

Since May 8Pushed 10y ago2 watchersCompare

[ Source](https://github.com/synga-nl/laravel-service-provider-helper)[ Packagist](https://packagist.org/packages/synga/laravel-service-provider-helper)[ RSS](/packages/synga-laravel-service-provider-helper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

Laravel service provider helper
===============================

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

Finds all service providers in your project and lets you add them easily to your app.php config file

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

[](#installation)

Add (for the last time!) the service provider

```
Synga\ServiceProviderHelper\ServiceProviderHelperServiceProvider::class

```

to your app.php config file.

Add the following line to you composer.json file. Make sure it is the last entry in the `post-update-cmd`

```
"post-update-cmd": [
    ...
    "Synga\\ServiceProviderHelper\\Command\\AddServiceProviderComposerCommand::addServiceProvider"
]

```

After you add the service provider to your app.php config file you need to run:

```
php artisan vendor:publish

```

From this moment, everytime you do a composer update this package checks if there are new service providers. When there are new service providers it will ask if you want to add them. You can add multiple service providers at once. The service providers are added after you choose `exit`.

Usage
-----

[](#usage)

This package can also be used as a standalone CLI command.

```
php artisan service-provider:add

```

You can add the `--composer` or `-c` option to run the command in composer mode (which will only add new service providers)

\##Acknowledgements:

- When you add a service provider, your app.php config file will have a slightly different formatting. I'm busy with finding a solution

Problems
--------

[](#problems)

If you get an error after composer update, make sure you have the latest version of composer. You can run

```
composer self-update

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~1 days

Total

4

Last Release

3653d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e45c601d996fd7a31774a40344991afd5b48c5fdf060d1baa45ae0b7abeaeeaf?d=identicon)[Synga](/maintainers/Synga)

---

Top Contributors

[![rpouls](https://avatars.githubusercontent.com/u/2946593?v=4)](https://github.com/rpouls "rpouls (15 commits)")[![synga-nl](https://avatars.githubusercontent.com/u/16606813?v=4)](https://github.com/synga-nl "synga-nl (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/synga-laravel-service-provider-helper/health.svg)

```
[![Health](https://phpackages.com/badges/synga-laravel-service-provider-helper/health.svg)](https://phpackages.com/packages/synga-laravel-service-provider-helper)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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