PHPackages                             nasrulhazim/artisanmakers - 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. nasrulhazim/artisanmakers

Abandoned → [cleaniquecoders/artisan-makers](/?search=cleaniquecoders%2Fartisan-makers)Library

nasrulhazim/artisanmakers
=========================

Laravel Artisan Makers

v1.0.2(8y ago)542MITPHP

Since Nov 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/nasrulhazim/artisanmakers)[ Packagist](https://packagist.org/packages/nasrulhazim/artisanmakers)[ RSS](/packages/nasrulhazim-artisanmakers/feed)WikiDiscussions master Synced today

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

About Artisan Makers
--------------------

[](#about-artisan-makers)

This package extend the capbilities of Laravel Artisan Make Command.

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

[](#installation)

```
composer require nasrulhazim/artisanmakers

```

Open up `app/Providers/AppServiceProvider.php` and register the service provider as following:

```
if ($this->app->environment() !== 'production') {
    $this->app->register(\NasrulHazim\ArtisanMakers\ArtisanMakersServiceProvider::class);
}
```

Usage
-----

[](#usage)

Type `php artisan --help` for more details.

Available Commands
------------------

[](#available-commands)

- Contracts: `php artisan make:contract ContractName`
- Exceptions: `php artisan make:exception NewExceptionClassName`
- Macros: `php artisan make:macro ClassName`
- Model: `php artisan make:mode ModelName`

    - This will create models under `app/Models` directory instead of `app` directory by default.
    - **Register manually** in your application in `app/Console/Kernel.php` in `$commands` property. Not sure why the command didn't load in the package. Probably it's loaded, by overwrite by default `make:model` command.

    ```
     protected $commands = [
         \NasrulHazim\ArtisanMakers\Console\Commands\MakeModelCommand::class,
     ];
    ```
- Observer: `php artisan make:observer ObserverClassName ModelToObserve`

    **TODO**

    - Create `ObserverServiceProvider`
    - Create `Observer` class
    - Register `ObserverServiceProvider` in `config/app.php`
    - Include model &amp; observer namespace in `ObserverServiceProvider`
    - Bootstrap Observer in `ObserverServiceProvider`
- Presenters: `php artisan make:presenter PresenterClassName`
- Processors: `php artisan make:processor ProcessorClassName`
- Repositories: `php artisan make:repository RepositoryClassName`
- Resourceful: `php artisan make:resourceful ClassName`
- Services: `php artisan make:service ServiceClassName`
- Traits: `php artisan make:trait TraitClassName`
- Transformers: `php artisan make:transformer TransformerClassName`

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

3061d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b57069d0f4b634f65eccc6e5d5848990e25968d45ec2cf46d626c6a4658f944b?d=identicon)[nasrulhazim.m](/maintainers/nasrulhazim.m)

---

Top Contributors

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

---

Tags

artisancommandlaravelmakemodelobserverprocessorservice

### Embed Badge

![Health badge](/badges/nasrulhazim-artisanmakers/health.svg)

```
[![Health](https://phpackages.com/badges/nasrulhazim-artisanmakers/health.svg)](https://phpackages.com/packages/nasrulhazim-artisanmakers)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k19.8M136](/packages/laravel-jetstream)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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