PHPackages                             joshoangtien/laravel-more-command - 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. joshoangtien/laravel-more-command

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

joshoangtien/laravel-more-command
=================================

Create a Repository and Service class and trait using Artisan CLI

98PHP

Since May 11Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![issues](https://camo.githubusercontent.com/0534326ad2f9c5b011ef0015a3290762ff92e75dba06d89d7c4de59b2ab52ce5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6a6f73686f616e677469656e2f6c61726176656c2d6d6f72652d636f6d6d616e643f3f7374796c653d666c6174266c6f676f3d6170707665796f72)](https://camo.githubusercontent.com/0534326ad2f9c5b011ef0015a3290762ff92e75dba06d89d7c4de59b2ab52ce5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6a6f73686f616e677469656e2f6c61726176656c2d6d6f72652d636f6d6d616e643f3f7374796c653d666c6174266c6f676f3d6170707665796f72)[![forks](https://camo.githubusercontent.com/0a975656572804084d951b787fb4681102da691a223456de9fb74d57196b0b7d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6a6f73686f616e677469656e2f6c61726176656c2d6d6f72652d636f6d6d616e643f7374796c653d666c6174266c6f676f3d6170707665796f72)](https://camo.githubusercontent.com/0a975656572804084d951b787fb4681102da691a223456de9fb74d57196b0b7d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6a6f73686f616e677469656e2f6c61726176656c2d6d6f72652d636f6d6d616e643f7374796c653d666c6174266c6f676f3d6170707665796f72)[![stars](https://camo.githubusercontent.com/f5dbf262c747d78da3f1bb112f396aae7e3a089baa7fc44636f9baa1fe7a2798/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a6f73686f616e677469656e2f6c61726176656c2d6d6f72652d636f6d6d616e643f7374796c653d666c6174266c6f676f3d6170707665796f72)](https://camo.githubusercontent.com/f5dbf262c747d78da3f1bb112f396aae7e3a089baa7fc44636f9baa1fe7a2798/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a6f73686f616e677469656e2f6c61726176656c2d6d6f72652d636f6d6d616e643f7374796c653d666c6174266c6f676f3d6170707665796f72)[![GitHub license](https://camo.githubusercontent.com/29ca4d44e7108e46bf076f2630a71940ad8bc4a5097063ebf24001f460e3e212/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6a6f73686f616e677469656e2f6c61726176656c2d6d6f72652d636f6d6d616e64)](https://github.com/joshoangtien/laravel-more-command/blob/master/LICENSE)

Laravel More Command
====================

[](#laravel-more-command)

Laravel More Command is a collection of a few `php artisan` commands. You can use it to create a **Repository, Repository with Interface, Service, Trait, View(blade file)**, and **Clear Log** from the command line using `php artisan` command.

\[Note : This package also worked for [nWidart/laravel-modules](https://github.com/nWidart/laravel-modules)\]

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

[](#installation)

Require the package with composer using the following command:

```
composer require joshoangtien/laravel-more-command --dev

```

Or add the following to your composer.json's require-dev section and `composer update`

```
"require-dev": {
    "joshoangtien/laravel-more-command": "^1.3.0"
}
```

Publish Package Configuration
-----------------------------

[](#publish-package-configuration)

```
 php artisan vendor:publish --provider="JosHoangTien\LaravelMoreCommand\LaravelMoreCommandProvider" --tag="config"
```

### To Change Default Namespace \[config/laravel-more-command.php\]

[](#to-change-default-namespace-configlaravel-more-commandphp)

```
