PHPackages                             rschaaphuizen/laravel-services - 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. rschaaphuizen/laravel-services

ActiveLibrary

rschaaphuizen/laravel-services
==============================

Package to create services with artisan

1.0.1(8y ago)11071MITPHPPHP ^7.0

Since Nov 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rschaaphuizen/laravel-services)[ Packagist](https://packagist.org/packages/rschaaphuizen/laravel-services)[ RSS](/packages/rschaaphuizen-laravel-services/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Package to create services with artisan
=======================================

[](#package-to-create-services-with-artisan)

This Laravel package creates an artisan command to generate services.

```
php artisan make:service NameService
```

Optionally, you can create the service as an abstract class by adding the option:

```
php artisan make:service NameService --abstract
```

Register the created Service in the ServiceProvider (ex ServicesServiceProvider)

```
app->bind('NameService', function ($app) {
            return new NameService();
        });
    }
}
```

> **Registering the Service is not needed if the Service is created as an abstract class**

Inject your service through your constructor of the desired controller

```
nameService = $nameService;
    }

    // the rest of your controller

}
```

Installation and usage
----------------------

[](#installation-and-usage)

This package requires PHP 7 and Laravel 5.5 or higher. Install the package by running the following command in your console;

```
composer require rschaaphuizen/laravel-services
```

### Changelog

[](#changelog)

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

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ruud Schaaphuizen](https://github.com/rschaaphuizen)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

3108d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82ce7bc7a8e1a99b2deafa4ef6ab8310102a032cf7be5ea194405e3277fd7a8f?d=identicon)[rschaaphuizen](/maintainers/rschaaphuizen)

---

Tags

laravelartisanservices

### Embed Badge

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

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

###  Alternatives

[timwassenburg/laravel-service-generator

Generate Laravel services

104233.1k2](/packages/timwassenburg-laravel-service-generator)

PHPackages © 2026

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