PHPackages                             dannyvilla/artisan-commands - 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. dannyvilla/artisan-commands

ActiveLibrary[CLI &amp; Console](/categories/cli)

dannyvilla/artisan-commands
===========================

This package provides a set of artisan commands for Laravel

v1.2.1(4y ago)35.9k↑263.6%3MITPHPPHP &gt;=7.0.0

Since Sep 13Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Danny-Villa/artisan-commands)[ Packagist](https://packagist.org/packages/dannyvilla/artisan-commands)[ RSS](/packages/dannyvilla-artisan-commands/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (8)Used By (0)

Davinet/Artisan-commands
========================

[](#davinetartisan-commands)

This package provides a set of new artisan commands for Laravel

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install dannyvilla/artisan-commands

```
composer require dannyvilla/artisan-commands
```

Usage
-----

[](#usage)

### View command

[](#view-command)

#### Generate an empty view

[](#generate-an-empty-view)

```
php artisan make:view folder.subfolder.view
```

#### Generate a view with a layout

[](#generate-a-view-with-a-layout)

```
php artisan make:view folder.subfolder.view --layout=app
```

### Repository command

[](#repository-command)

#### Generate an empty repository file

[](#generate-an-empty-repository-file)

```
php artisan make:repository UserRepository
```

#### Generate a repository with a model

[](#generate-a-repository-with-a-model)

```
php artisan make:repository UserRepository --model=User
```

OR

```
php artisan make:repository UserRepository --model=App\Models\User
```

### Service command

[](#service-command)

#### Generate a serfvice class

[](#generate-a-serfvice-class)

```
php artisan make:service PayPalPaymentService
```

### Lang command

[](#lang-command)

#### Generate a new locale file

[](#generate-a-new-locale-file)

```
php artisan make:lang myFilanem --locale=es
```

#### Generate a new json locale file

[](#generate-a-new-json-locale-file)

```
php artisan make:lang --locale=es --json
```

### Class command

[](#class-command)

#### Generate a class

[](#generate-a-class)

```
php artisan make:class App\Handlers\UserHandlers
```

or you can use a dot(.) as separator

```
php artisan make:class App.Handlers.UserHandlers --separator=.
```

#### Generate a trait

[](#generate-a-trait)

```
php artisan make:class App\Traits\MyTrait --kind=trait
```

#### Generate an interface

[](#generate-an-interface)

```
php artisan make:class App\Contracts\IClassable --kind=interface
```

### File command

[](#file-command)

#### Generate a generic file

[](#generate-a-generic-file)

```
php artisan make:file folder.subfolder1.subfolder2.filename --ext=php
```

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

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.3% 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 ~162 days

Recently: every ~198 days

Total

7

Last Release

1467d ago

Major Versions

v0.0.1 → v1.02019-11-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/00139237ed3773e10d2866f46f8f17b214b489595f9d124dc613cc06e61612cb?d=identicon)[Danny Villa](/maintainers/Danny%20Villa)

---

Top Contributors

[![Danny-Villa](https://avatars.githubusercontent.com/u/49371019?v=4)](https://github.com/Danny-Villa "Danny-Villa (21 commits)")[![danny-villa-schoolap](https://avatars.githubusercontent.com/u/117824004?v=4)](https://github.com/danny-villa-schoolap "danny-villa-schoolap (2 commits)")

---

Tags

artisan-commandslaravellaravel-package

### Embed Badge

![Health badge](/badges/dannyvilla-artisan-commands/health.svg)

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

###  Alternatives

[acdphp/laravel-schedule-police

Stop, start or execute scheduled commands from a simple dashboard without redeploying, while maintaining the visibility, control, and reviewability of the configurations in your codebase.

5116.9k](/packages/acdphp-laravel-schedule-police)[jakyeru/laravel-shell

Laravel-Shell adds a terminal interface to your web application, allowing you to run shell commands directly from your browser.

166.1k](/packages/jakyeru-laravel-shell)

PHPackages © 2026

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