PHPackages                             felipetti/service-layer - 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. [Framework](/categories/framework)
4. /
5. felipetti/service-layer

ActiveLibrary[Framework](/categories/framework)

felipetti/service-layer
=======================

This package is for creating a service layer in Laravel projects

v3.0.0(1y ago)01.7k↓33.3%MITPHPPHP ^8.2

Since Nov 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/guille1988/service-layer)[ Packagist](https://packagist.org/packages/felipetti/service-layer)[ RSS](/packages/felipetti-service-layer/feed)WikiDiscussions main Synced 1mo ago

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

Installation and usage instructions:
====================================

[](#installation-and-usage-instructions)

What it does:
-------------

[](#what-it-does)

This package allows you to create the service layer of a Laravel project, or all the layers necessary for the development of an application; in a fast and personalized way. You can put the name you want to this layer, Services, Repositories, Actions or anything you want; it's your choice. Look at the configuration section, to personalize this package and adapt it your preferences =).

Installation:
-------------

[](#installation)

```
composer require felipetti/service-layer
```

Usage instructions:
-------------------

[](#usage-instructions)

To build a service layer, example:

```
php artisan make:service UserService
```

To build all layers, example:

```
php artisan make:all Post
```

You can modify the creation of layers and other stuff, publishing config:

```
php artisan vendor:publish --tag=service-layer-config
```

To publish stub and personalize the service file:

```
php artisan vendor:publish --tag=service-layer-stub
```

Configuration:
--------------

[](#configuration)

You can put the destination path of your service file here:

```
'service_folder_path' => app_path('Services')
```

You can put the destination path of your stub file here:

```
'stub_folder_path' => base_path('stub')
```

You can put the parameters passed by to \[make:all\] command here:

```
'parameters' => '-mfsc'
```

Comments:
---------

[](#comments)

Despite not containing a very difficult logic, this package was thought to help optimize the creation of the service layer and the others too, so used every day by developers who love using Laravel. If you like this package, please don't hesitate to star me, it will really help a lot =).

Security:
---------

[](#security)

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

Issues:
-------

[](#issues)

For any issues, questions or suggestions, please don't hesitate to post it in issues or send a mail to the one above.

Credits:
--------

[](#credits)

Special thanks to [Francisco Panozzo](https://github.com/franpanozzo) who greatly helped me along the way =).

License:
--------

[](#license)

The MIT License (MIT).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance46

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~189 days

Total

9

Last Release

421d ago

Major Versions

v1.0.4 → v2.0.02024-04-12

v2.0.2 → v3.0.02025-03-23

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/58360e0c63e45b0392c03f527aa3af59e7c531a96279edd8986995942793cf30?d=identicon)[guille1988](/maintainers/guille1988)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/felipetti-service-layer/health.svg)

```
[![Health](https://phpackages.com/badges/felipetti-service-layer/health.svg)](https://phpackages.com/packages/felipetti-service-layer)
```

###  Alternatives

[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[ecotone/laravel

Laravel integration for Ecotone

21307.6k3](/packages/ecotone-laravel)

PHPackages © 2026

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