PHPackages                             usanzadunje/artisan-vue - 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. [Templating &amp; Views](/categories/templating)
4. /
5. usanzadunje/artisan-vue

ActiveLibrary[Templating &amp; Views](/categories/templating)

usanzadunje/artisan-vue
=======================

Multiple templates for your Vue application resources.

v1.1(4y ago)03[3 PRs](https://github.com/usanzadunje/artisan-vue/pulls)MITPHPPHP ^7.4|^8.0

Since Feb 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/usanzadunje/artisan-vue)[ Packagist](https://packagist.org/packages/usanzadunje/artisan-vue)[ Docs](https://github.com/usanzadunje/artisan-vue)[ GitHub Sponsors](https://github.com/usanzadunje)[ RSS](/packages/usanzadunje-artisan-vue/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (11)Versions (6)Used By (0)

Generate templates for Vue resources.
=====================================

[](#generate-templates-for-vue-resources)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ab734b27a6ac9381f1910d072efe644f35672eb38fee3821b00231a3854ee548/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7573616e7a6164756e6a652f6172746973616e2d7675652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/usanzadunje/artisan-vue)[![GitHub Tests Action Status](https://camo.githubusercontent.com/bf0904210ee36f6ae64e178fbf81a485c4bb35f67699bbb2e3d7cb98221a4e2e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7573616e7a6164756e6a652f6172746973616e2d7675652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/usanzadunje/artisan-vue/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/035a22efc6ccf2c0cdbb6cc31426d55f781b969a21dee9054828334ac7f86563/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7573616e7a6164756e6a652f6172746973616e2d7675652f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/usanzadunje/artisan-vue/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f794e0f2e605736391ca3c5694172fe5ca400014626bcfb0b34305c5c734be54/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7573616e7a6164756e6a652f6172746973616e2d7675652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/usanzadunje/artisan-vue)

Multiple templates for your Vue application resources.

Generates components, views, composables(hooks), services and Vuex modules. All paths are easily configurable using config file.

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

[](#installation)

You can install the package via composer:

```
composer require usanzadunje/artisan-vue
```

You can publish the config file with:

```
php artisan vendor:publish --tag="artisan-vue-config"
```

This is the contents of the published config file:

```
return [
    // Root directory where your Vue app lives
    'vue_root_dir' => resource_path("js"),

    // Name of the folder which stores views
    'views_dir' => 'views',

    // Name of the folder which stores components
    'components_dir' => 'components',

    // Name of the folder which stores composables(hooks)
    'composables_dir' => 'composables',

    // Path to the folder which stores Vuex modules
    'vuex-modules_dir' => 'store/modules',

    // Name of the folder which stores services
    'services_dir' => 'services',
];
```

Usage
-----

[](#usage)

```
# Generates template for specific resource
php artisan vue:make {resource} {path}

# Path can be file name(without extension) or path to the file along with its name
# Examples:

# 1. generates Test.vue in your components directory
php artisan vue:make component Test

# 2. generates testing folder as well as Test.vue file inside your component directory
php artisan vue:make component testing/Test

# Lists all resources available for creation
php artisan vue:list
```

Command will take root of your Vue application (which you can specify in config file) append resource folder name (also in config file) and then try and create following:

- All directories you provided in `path` if they do not exist
- File itself (last portion of the path is considered file name) with appropriate extension for that resource

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Dusan Djordjevic](https://github.com/usanzadunje)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% 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 ~10 days

Total

2

Last Release

1550d ago

PHP version history (2 changes)v1.0PHP ^8.0

v1.1PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

[![usanzadunje](https://avatars.githubusercontent.com/u/22146568?v=4)](https://github.com/usanzadunje "usanzadunje (25 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (10 commits)")

---

Tags

laravelusanzadunjeartisan-vue

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/usanzadunje-artisan-vue/health.svg)

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

###  Alternatives

[ryangjchandler/blade-capture-directive

Create inline partials in your Blade templates with ease.

8222.2M12](/packages/ryangjchandler-blade-capture-directive)[spatie/laravel-blade-comments

Add debug comments to your rendered output

177325.5k](/packages/spatie-laravel-blade-comments)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[daikazu/laravel-glider

Start using Glide on-the-fly instantly in your Laravel blade templates.

882.3k](/packages/daikazu-laravel-glider)[combindma/dash-ui

A streamlined and stylish UI component library for Laravel Blade, crafted with TailwindCSS and AlpineJs for simplicity and elegance.

631.4k](/packages/combindma-dash-ui)

PHPackages © 2026

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