PHPackages                             arkadiuszbachorski/laravel-xmake - 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. arkadiuszbachorski/laravel-xmake

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

arkadiuszbachorski/laravel-xmake
================================

Extended Laravel Artisan Make Command

1.3.1(6y ago)026MITPHPPHP ^7.2

Since Jan 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/arkadiuszbachorski/laravel-xmake)[ Packagist](https://packagist.org/packages/arkadiuszbachorski/laravel-xmake)[ Docs](https://github.com/arkadiuszbachorski/xmake)[ RSS](/packages/arkadiuszbachorski-laravel-xmake/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

[![](https://raw.githubusercontent.com/arkadiuszbachorski/laravel-xmake/master/media/logo.png)](https://raw.githubusercontent.com/arkadiuszbachorski/laravel-xmake/master/media/logo.png)

Additional Laravel Artisan xmake command for faster resource creating and scaffolding. Created to speed up developing process and stop typing same things in various places.

Table of contents
-----------------

[](#table-of-contents)

- [Getting started](#getting-started)
    - [Prerequisites](#prerequisites)
    - [Installation](#installation)
- [Features](#features)
- [Usage](#usage)
- [To-do list](#to-do-list)
- [Documentation](#documentation)

Getting started
---------------

[](#getting-started)

### Prerequisites

[](#prerequisites)

This package was developed for Laravel 5.8 and up. I haven't tested earlier versions yet.

### Installation

[](#installation)

Require this package with composer for development only.

```
composer require arkadiuszbachorski/laravel-xmake --dev
```

Publish config

```
php artisan vendor:publish --tag=xmake-config
```

Change default resource paths if you would like to.

Publish resources

```
php artisan vendor:publish --tag=xmake-resources
```

Features
--------

[](#features)

- Scaffold your app quicker
- Create many related files with just one command: model, controller, request, resource, migration, seeder and factory
- Provide fields in one place, rest will be prepared or even filled for you
- Easily customize stubs for your needs

Usage
-----

[](#usage)

**You'd rather see than read?**

[![Everything Is AWESOME](https://raw.githubusercontent.com/arkadiuszbachorski/laravel-xmake/master/media/yt.png)](https://www.youtube.com/watch?v=v_Zf2EdTer4 "Laravel Xmake - speed up development process and scaffold app quicker
")

Example:

```
php artisan xmake -i --fields=title,foo,bar --modelName=Foobar --model --request --controller --api
```

Result

*FoobarController.php*

```
