PHPackages                             dtech-lar-cli/cli - 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. dtech-lar-cli/cli

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

dtech-lar-cli/cli
=================

The make code by script for laravel5

1.0.x-dev(7y ago)231MITPHPPHP &gt;=5.6

Since Oct 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/doan281/laravel5-dtech-lar-cli)[ Packagist](https://packagist.org/packages/dtech-lar-cli/cli)[ RSS](/packages/dtech-lar-cli-cli/feed)WikiDiscussions master Synced 3d ago

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

DTECH CLI
---------

[](#dtech-cli)

The package same as artisan command in Laravel

### Install

[](#install)

##### Step 1: install package

[](#step-1-install-package)

Config in composer.json

```
"require":
{
     ...,
     "dtech-lar-cli/cli": "dev-master"
},

```

then run command:

```
composer install

```

or run command:

```
composer update

```

##### Step 2: create dtech as artisan

[](#step-2-create-dtech-as-artisan)

- Copy "dtech" file from "/vendor/dtech-lar-cli/cli" into root folder.

### Show command list

[](#show-command-list)

In root folder, run command

```
php dtech make

```

then show comand list

```
make:controller          Create controller in folder app/Http/Controllers/
make:function            Create store function in folder database/migrations/
make:model               Create model in folder app/Models/
make:procedure           Create store procedure in folder database/migrations/
make:repository          Create repository in folder app/Repositories/
make:request             Create request in folder app/Htpp/Requests/
make:scope               Create scope in folder app/Scopes/
make:trait               Create trait in folder app/Traits/
make:trigger             Create trigger in folder database/migrations/

```

### Usage

[](#usage)

- Make Controller: base folder "/app/Http/Controllers"

```
php dtech make:controller Product

```

> File: app/Http/Controllers/ProductController.php will be created

or:

```
php dtech make:controller Admin/Product

```

> File: app/Http/Controllers/Admin/ProductController.php will be created

- Make Model: base folder "/app/Models"

```
php dtech make:model Product

```

> File: app/Models/Product.php will be created

or:

```
php dtech make:model Admin/Product

```

> File: app/Models/Admin/Product.php will be created

- Make Repository: base folder "/app/Repositories"

```
php dtech make:repository Product

```

> File: app/Repositories/ProductRepository.php will be created

or:

```
php dtech make:repository Admin/Product

```

> File: app/Repositories/Admin/ProductRepository.php will be created

- Make Request: base folder "/app/Http/Requests"

```
php dtech make:request Product

```

> File: app/Http/Requests/ProductRequest.php will be created

or:

```
php dtech make:request Admin/Product

```

> File: app/Http/Requests/Admin/ProductRequest.php will be created

- Make Scope: base folder "/app/Scopes"

```
php dtech make:scope Product

```

> File: app/Scopes/ProductScope.php will be created

or:

```
php dtech make:scope Admin/Product

```

> File: app/Scopes/Admin/ProductScope.php will be created

- Make Trait: base folder "/app/Traits"

```
php dtech make:trait Product

```

> File: app/Traits/ProductTrait.php will be created

or:

```
php dtech make:trait Admin/Product

```

> File: app/Traits/Admin/ProductTrait.php will be created

- Make Store function: base folder "/database/migrations". Params: function name.

```
php dtech make:function get_user_list

```

> File: database/migrations/2018\_10\_18\_012236\_function\_get\_user\_list.php will be created

- Make Store procedure: base folder "/database/migrations". Params: procedure name.

```
php dtech make:procedure user_count

```

> File: database/migrations/2018\_10\_18\_012811\_procedure\_user\_count.php will be created

- Make Trigger: base folder "/database/migrations". Params: trigger name and table name.

```
php dtech make:trigger after_insert users

```

> File: database/migrations/2018\_10\_18\_012822\_trigger\_after\_insert.php will be created

### Author

[](#author)

- [Phạm Văn Đoan](https://github.com/doan281?tab=repositories)
- Email:

### Refer to

[](#refer-to)

- [Vu Thanh Tai](https://github.com/thanhtaivtt/taiscript)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2769d ago

### Community

Maintainers

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

---

Top Contributors

[![doan281](https://avatars.githubusercontent.com/u/5410749?v=4)](https://github.com/doan281 "doan281 (2 commits)")

### Embed Badge

![Health badge](/badges/dtech-lar-cli-cli/health.svg)

```
[![Health](https://phpackages.com/badges/dtech-lar-cli-cli/health.svg)](https://phpackages.com/packages/dtech-lar-cli-cli)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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