PHPackages                             jiange/laravel-make-service - 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. [CLI &amp; Console](/categories/cli)
4. /
5. jiange/laravel-make-service

ActiveLibrary[CLI &amp; Console](/categories/cli)

jiange/laravel-make-service
===========================

this is create service by command

v1.0.0(2y ago)115MITPHPPHP &gt;=8.0

Since Aug 29Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

laravel-make-service
====================

[](#laravel-make-service)

- 此 package 仅适用于 laravel 框架
- laravel 版本要求大于等于 8.0

```
    composer require jiange/laravel-make-service
```

首先，确保已经将你的 Composer 包安装到了 Laravel 项目中，并且在 composer.json 文件中正确地配置了包的信息。

接下来，打开你的 Laravel 项目的控制台（终端）并运行 composer dump-autoload 命令，以确保 Composer 已经正确地加载了你的自定义命令文件。

然后，打开 app/Console/Kernel.php 文件，找到 protected $commands 数组，确保你的自定义命令添加到了该数组中。你可以像这样添加：

```
protected $commands = [
    \Jiange\LaravelMakeService\MakeServiceCommand::class,
];
```

最后，在你的 Laravel 项目的控制台中运行 php artisan 命令，你应该能够看到 make:service 命令列在可用的命令列表中。

现在，你可以在你的 Laravel 项目中使用 php artisan make:service 命令来创建服务类了。例如，运行以下命令来创建一个名为 ExampleService 的服务类：

```
    php artisan make:service ExampleService
```

这将在你指定的命名空间中生成一个服务类文件。

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

987d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f6673ce92098ae679eb64cbcece7d2ad63144faefebc95a1d7af17e23db70dc?d=identicon)[jinJian888](/maintainers/jinJian888)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/jiange-laravel-make-service/health.svg)

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

###  Alternatives

[acdphp/laravel-schedule-police

Stop, start or execute scheduled commands from a simple dashboard without redeploying, while maintaining the visibility, control, and reviewability of the configurations in your codebase.

5116.9k](/packages/acdphp-laravel-schedule-police)[jakyeru/laravel-shell

Laravel-Shell adds a terminal interface to your web application, allowing you to run shell commands directly from your browser.

166.1k](/packages/jakyeru-laravel-shell)

PHPackages © 2026

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