PHPackages                             silverhand7/laravel-artisan-maker - 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. silverhand7/laravel-artisan-maker

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

silverhand7/laravel-artisan-maker
=================================

A simple package that can help you to create a boilerplate of a service or action class.

v3.0.1(2y ago)2310.7k↑55.6%5MITPHPPHP ^8.1

Since Oct 8Pushed 4mo ago1 watchersCompare

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

READMEChangelog (4)Dependencies (2)Versions (7)Used By (0)

Laravel Artisan Maker
=====================

[](#laravel-artisan-maker)

[![Packagist Downloads](https://camo.githubusercontent.com/dfe86a34680660f28815875a8bed32188a7db9232ecd1c01d4642a3c270a925b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696c76657268616e64372f6c61726176656c2d6172746973616e2d6d616b6572)](https://camo.githubusercontent.com/dfe86a34680660f28815875a8bed32188a7db9232ecd1c01d4642a3c270a925b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696c76657268616e64372f6c61726176656c2d6172746973616e2d6d616b6572)

A simple package that can help you create a boilerplate of a service, action, interface and facade class with artisan command.

Example usage:

```
php artisan make:action UserStoreAction
php artisan make:service UserService
php artisan make:interface UserServiceInterface
php artisan make:facade UserFacade

```

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

[](#installation)

```
composer require silverhand7/laravel-artisan-maker
```

Usage
-----

[](#usage)

### Create a service class:

[](#create-a-service-class)

Run the following command:

```
php artisan make:service {YourService}

```

The service will be created and can be found at app/Services/{YourService}.php
For example: `php artisan make:service UserService`

#### Additionally, you can create a service that implements an interface class

[](#additionally-you-can-create-a-service-that-implements-an-interface-class)

```
php artisan make:service {YourService} --interface={YourInterface}

```

or

```
php artisan make:service {YourService} -i {YourInterface}

```

### Create an action class:

[](#create-an-action-class)

Run the following command:

```
php artisan make:action {YourAction}

```

The action will be created and can be found at app/Actions/{YourAction}.php
For example: `php artisan make:action UserStoreAction`

### Create an interface class:

[](#create-an-interface-class)

Run the following command:

```
php artisan make:interface {YourInterface}

```

The interface will be created and can be found at app/Contracts/{YourInterface}.php
For example: `php artisan make:interface UserServiceInterface`

### Create a facade class:

[](#create-a-facade-class)

Run the following command:

```
php artisan make:facade {YourFacade}

```

The facade will be created and can be found at app/Facades/{YourFacade}.php
For example: `php artisan make:facade UserFacade`

Custom your namespace and generated file location
-------------------------------------------------

[](#custom-your-namespace-and-generated-file-location)

You can easily customize where you want to locate your Service, Action, Interface or Facade class. You can do that by publishing the config file using the following command:

```
php artisan vendor:publish --tag=artisan-maker-config

```

You can customize it in `config/artisan-maker.php`, for example:

```
'service_interface' => 'App\MyOwnServices'
'service_directory' => 'app/MyOwnServices'

```

Your next generated service will be in the `app/MyOwnServices` folder and your namespace for service will be `App\MyOwnServices`.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance52

Moderate activity, may be stable

Popularity35

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.1% 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 ~21 days

Total

5

Last Release

864d ago

Major Versions

v1.0.1 → v2.0.02023-10-19

v2.0.0 → v3.0.02023-12-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/f0b2a1a8be7846dd50cb9ad5f77d9a9832c54c7caca24888f4680ee71ff0fb23?d=identicon)[silverhand7](/maintainers/silverhand7)

---

Top Contributors

[![silverhand7](https://avatars.githubusercontent.com/u/30499443?v=4)](https://github.com/silverhand7 "silverhand7 (49 commits)")[![ezra-obiwale](https://avatars.githubusercontent.com/u/2762623?v=4)](https://github.com/ezra-obiwale "ezra-obiwale (2 commits)")

---

Tags

laravelsilverhand7laravel-artisan-maker

### Embed Badge

![Health badge](/badges/silverhand7-laravel-artisan-maker/health.svg)

```
[![Health](https://phpackages.com/badges/silverhand7-laravel-artisan-maker/health.svg)](https://phpackages.com/packages/silverhand7-laravel-artisan-maker)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[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)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[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)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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