PHPackages                             cleaniquecoders/artisan-extended - 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. cleaniquecoders/artisan-extended

Abandoned → [https://github.com/cleaniquecoders/artisan-makers](/?search=https%3A%2F%2Fgithub.com%2Fcleaniquecoders%2Fartisan-makers)ArchivedLibrary[CLI &amp; Console](/categories/cli)

cleaniquecoders/artisan-extended
================================

Laravel Artisan Extended Commands

v1.1.8(9y ago)2593[5 issues](https://github.com/cleaniquecoders/artisan-extended/issues)1MITPHP

Since Nov 21Pushed 9y agoCompare

[ Source](https://github.com/cleaniquecoders/artisan-extended)[ Packagist](https://packagist.org/packages/cleaniquecoders/artisan-extended)[ RSS](/packages/cleaniquecoders-artisan-extended/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (4)Versions (18)Used By (1)

Laravel Artisan Extended
========================

[](#laravel-artisan-extended)

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

[](#installation)

```
composer require cleaniquecoders/artisan-extended

```

Register Service Provider
-------------------------

[](#register-service-provider)

Open up `config/app.php` and register `CleaniqueCoders\ArtisanExtended\ArtisanExtendedServiceProvider::class,` in `providers` key.

Publishing Reusable Components and Layouts
------------------------------------------

[](#publishing-reusable-components-and-layouts)

Run following command to publish reusable components:

```
php artisan vendor:publish --tag=artisan-extended-views

```

p/s: Scaffold / Resourceful views require reusable components, hence you need to publish the `artisan-extended-views`.

Important Notes
---------------

[](#important-notes)

On production, only `php artisan clear:cache` available for use, other than that if your application running on `local` or `staging`, all the Artisan Extended commands available for you on artisan console.

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

[](#available-commands)

### Create a New Scaffold

[](#create-a-new-scaffold)

You may create single or multiple Model at one time.

```
php artisan make:scaffold Post

```

OR

```
php artisan make:scaffold Post Like Video Photo Reaction

```

p/s: Please take note that, for now you still need to update the model `$fillable` property, `ModelFactory.php` and model's migration scripts.

### Clear All Caches

[](#clear-all-caches)

```
php artisan clear:cache

```

### Clear All Caches and Serve the Application

[](#clear-all-caches-and-serve-the-application)

```
php artisan clear:serve

```

**In case you need to run at different port:**

```
php artisan clear:serve --port=9000

```

### Create a New Route

[](#create-a-new-route)

```
php artisan make:route RouteName

```

Options available:

1. `-a` - Create a new route for API
2. `-p` - Set prefix for the route
3. `-m` - Set middleware for the route. Each middleware separated by comma(,)
4. `-r` - Create a new resourceful controller

#### Create an API Route

[](#create-an-api-route)

```
php artisan make:route -a Post

```

#### Create an API Route with Version

[](#create-an-api-route-with-version)

```
php artisan make:route -a -p v1 Post

```

#### Create an API Route with Version and Middlewares

[](#create-an-api-route-with-version-and-middlewares)

```
php artisan make:route -a -p v1 -m auth:auth,jwt Post

```

### Create a new View

[](#create-a-new-view)

Generate a view extending default layout, `app`.

```
php artisan make:view welcome

```

Generate a new `admin`'s `dashboard` with layouts of `admin`.

```
php artisan make:view admin.dashboard -p admin

```

Generate a resourceful view, by passing a `-r` option and ommit the specific blade files.

```
php artisan make:view users -r

```

This command will create a directory named `users` in `resources/views`. There will be:

1. `index.blade.php`,
2. `show.blade.php` and
3. `form.blade.php`.

You may want to create a resourceful controller by running `php artisan make:resourceful UserController`.

### Create Event &amp; Listener

[](#create-event--listener)

```
php artisan make:eventlistener Post

```

### Secure your Cookies

[](#secure-your-cookies)

This command only for the new project only, as this command will change the default value of the `cookie` name to random string and set `encrypt` to true. It's recommended to change your application's cookie name and encrypt it.

```
php artisan secure:cookie

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity72

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

Total

17

Last Release

3415d 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 (45 commits)")

### Embed Badge

![Health badge](/badges/cleaniquecoders-artisan-extended/health.svg)

```
[![Health](https://phpackages.com/badges/cleaniquecoders-artisan-extended/health.svg)](https://phpackages.com/packages/cleaniquecoders-artisan-extended)
```

###  Alternatives

[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[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)
