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

ActiveLibrary

lozemc/laravel-services
=======================

Simple command to create Service class in Laravel

11.0(2y ago)1135MITPHPPHP ^8.2|^8.3

Since Apr 19Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Laravel Service Command
=======================

[](#laravel-service-command)

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

[](#installation)

To get started with Laravel Service Command, simply require the package via [Composer](https://packagist.org/packages/lozemc/laravel-services):

```
composer require lozemc/laravel-services
```

### Installation for Laravel 10.x

[](#installation-for-laravel-10x)

Next, add the following line to the $commands array in your `/app/Console/Kernel.php` file:

```
protected $commands = [

    // ...

    \App\Console\Commands\ServiceMakeCommand::class,
];
```

If the protected $commands array does not exist, you will need to add it.

### Installation for Laravel 11.x

[](#installation-for-laravel-11x)

Then add the following line to the returned array in `/bootstrap/providers.php`:

```
return [

    // ...

    Lozemc\Services\Providers\MakeServiceProvider::class,
];
```

Usage
-----

[](#usage)

Once installed and configured, you can use the artisan command to create a new service:

```
php artisan make:service PostService
```

This will generate a new service class named `PostService` in the `App\Services` namespace. You can then implement your business logic within this service class.

### Other

[](#other)

- [Laravel Action Command](https://github.com/lozemc/laravel-actions)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Total

2

Last Release

751d ago

Major Versions

10.0 → 11.02024-04-21

PHP version history (2 changes)10.0PHP &gt;=8.2

11.0PHP ^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e34f1dc417ca9493590aec620c02eeb79538a19a78391a35aac6216ee5bae3a?d=identicon)[lozemc](/maintainers/lozemc)

---

Top Contributors

[![lozemc](https://avatars.githubusercontent.com/u/44927153?v=4)](https://github.com/lozemc "lozemc (5 commits)")

---

Tags

commandcommandslaravelserviceserviceslaravelservicecommandservicescommands

### Embed Badge

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

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

###  Alternatives

[prevailexcel/laravel-action-service-trait

A simple Laravel package to create actions, traits and services using artisan commands

143.0k](/packages/prevailexcel-laravel-action-service-trait)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

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