PHPackages                             nazonhou/laravel-service-creator - 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. nazonhou/laravel-service-creator

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

nazonhou/laravel-service-creator
================================

A package that help you to create easily business services for your application

1.0.0(3y ago)166[4 PRs](https://github.com/cmdtaz94/Laravel-Service-Creator/pulls)MITPHPPHP ^8.1

Since Aug 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/cmdtaz94/Laravel-Service-Creator)[ Packagist](https://packagist.org/packages/nazonhou/laravel-service-creator)[ Docs](https://github.com/nazonhou/laravel-service-creator)[ RSS](/packages/nazonhou-laravel-service-creator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (13)Versions (6)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

A package that help you to create easily business services for your application
===============================================================================

[](#a-package-that-help-you-to-create-easily-business-services-for-your-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8b50541ec2d8829e4c9cf193d22f8a524ebde695b1c34cfabe03ecb309733eaf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e617a6f6e686f752f6c61726176656c2d736572766963652d63726561746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nazonhou/laravel-service-creator)[![GitHub Tests Action Status](https://camo.githubusercontent.com/1f0be5c0ffd8642d33cdf4217512c7d5afd5d2160ea61c86d80f15e7727a6f4b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6e617a6f6e686f752f6c61726176656c2d736572766963652d63726561746f722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/nazonhou/laravel-service-creator/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/df0ee687db271ce17ce9513f0c6f6fdadb922fb71e9e2e0fd6a099a47904c87a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6e617a6f6e686f752f6c61726176656c2d736572766963652d63726561746f722f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/nazonhou/laravel-service-creator/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/267e6623fe559748f921d98c34b03e6aeb681b402a6eb8faee93f1255b2aab82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e617a6f6e686f752f6c61726176656c2d736572766963652d63726561746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nazonhou/laravel-service-creator)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/03265bddb51728d19f1291468b343793d39591091958f1b5450e6fad93cc91e5/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f4c61726176656c2d536572766963652d43726561746f722e6a70673f743d31)](https://spatie.be/github-ad-click/Laravel-Service-Creator)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require nazonhou/laravel-service-creator
```

Usage
-----

[](#usage)

You can create a service file with his contract and service provider by running:

```
php artisan make:service
```

This command will create :

- A NameService.php file in the app/Services directory with is the service contract (an interface)
- A NameServiceImplementation.php file in the app/Services directory which implement NameService
- A NameServiceProvider.php file in app/Providers directory which is a service provider which contains the binding from the NameService to the NameServiceImplementation in the service container

You can only generate a service file by running.

```
php artisan make:service  --no-contract
```

You can also generate a service file with his contract without their service provider file by running.

```
php artisan make:service  --no-provider
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/cmdtaz94/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [AZONHOU Nelson](https://github.com/cmdtaz94)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

1376d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64a026397e715e0f9c80bd86cd8fb1dc0ed98e46371eb5d742c1423332bd4a18?d=identicon)[cmdtaz94](/maintainers/cmdtaz94)

---

Top Contributors

[![cmdtaz94](https://avatars.githubusercontent.com/u/54703157?v=4)](https://github.com/cmdtaz94 "cmdtaz94 (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

laravelnazonhoularavel-service-creator

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nazonhou-laravel-service-creator/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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