All Projects → zachleigh → Laravel Vue Generators

zachleigh / Laravel Vue Generators

Licence: mit
Generate Vue js files via artisan commands

Projects that are alternatives of or similar to Laravel Vue Generators

Laravel Mixpanel
Intuitive drop-in analytics.
Stars: ✭ 80 (-4.76%)
Mutual labels:  laravel
Laravel Blog
Laravel 8.0 blog application with Vue.js, Homestead, Horizon, Telescope and Pusher
Stars: ✭ 1,248 (+1385.71%)
Mutual labels:  laravel
Awesome Laravel Zero
👋 START HERE! A curated list of Laravel Zero libraries, resources and projects
Stars: ✭ 84 (+0%)
Mutual labels:  laravel
Flattable
It helps you manage de-normalized tables
Stars: ✭ 81 (-3.57%)
Mutual labels:  laravel
Laralack
A Slack clone written in PHP & Laravel framework
Stars: ✭ 82 (-2.38%)
Mutual labels:  laravel
Laravel Whoops Editor
Laravel Whoops Editor helps to open your code editor from exception stack trace.
Stars: ✭ 83 (-1.19%)
Mutual labels:  laravel
Laravel Permission Mongodb
Associate users with roles and permissions using Laravel and MongoDB
Stars: ✭ 80 (-4.76%)
Mutual labels:  laravel
Project
⭐️ Antares Project Application Skeleton. This is the very first place you should start. It allows you to create a brand new awesome project in easy few steps.
Stars: ✭ 84 (+0%)
Mutual labels:  laravel
Crud Generator
Laravel CRUD Generator
Stars: ✭ 1,244 (+1380.95%)
Mutual labels:  laravel
Laravel Ajax Crud
🧐 The Ultimate Guide For Creating Laravel CRUD AJAX Application using Laravel 5.8, Vue 2, Tailwindcss, Vue-router, and Axios
Stars: ✭ 84 (+0%)
Mutual labels:  laravel
Niftyadmin
laravel 后台管理系统
Stars: ✭ 81 (-3.57%)
Mutual labels:  laravel
Demo
This is demo application for SleepingOwl Admin.
Stars: ✭ 81 (-3.57%)
Mutual labels:  laravel
Config
Config manager for laravel-admin
Stars: ✭ 83 (-1.19%)
Mutual labels:  laravel
Laravel Sitemap
Laravelium Sitemap generator for Laravel.
Stars: ✭ 1,231 (+1365.48%)
Mutual labels:  laravel
Rabbitevents
Nuwber's events provide a simple observer implementation, allowing you to listen for various events that occur in your current and another application. For example, if you need to react to some event published from another API.
Stars: ✭ 84 (+0%)
Mutual labels:  laravel
Laravel Blade Snippets Vscode
Laravel blade snippets and syntax highlight support for Visual Studio Code
Stars: ✭ 80 (-4.76%)
Mutual labels:  laravel
Appseed
React, Vue.js App Generator
Stars: ✭ 83 (-1.19%)
Mutual labels:  laravel
Embedding Reference Apps
Reference applications for common web frameworks showing how to embed Metabase charts
Stars: ✭ 83 (-1.19%)
Mutual labels:  laravel
Voyager Zh
㊙️voyager 的中文汉化版 基于laravel 的管理后台 权限控制,菜单,数据库手脚架,长期更新
Stars: ✭ 84 (+0%)
Mutual labels:  laravel
Laravel Blog
基于Laravel5.8构建的轻量博客应用,支持Markdown,支持图片拖拽上传,界面简洁,SEO友好,支持百度链接自动和手动提交
Stars: ✭ 84 (+0%)
Mutual labels:  laravel

Laravel Vue Generators

Latest Stable Version License Build Status Quality Score StyleCI Total Downloads

Generate Vue js file stubs via artisan commands.

Contents

Upgrade Information

Version 0.1.* to Version 0.2.0

Version 0.2.0 adds Laravel 5.4 support. For Laravel 5.3, please use Version 0.1.4:

composer require zachleigh/laravel-vue-generators:0.1.*

Install

Install via composer:

composer require zachleigh/laravel-vue-generators

In Laravel's config/app.php file, add the service provider to the array with the 'providers' key.

VueGenerators\ServiceProvider::class

Publish the config file:

php artisan vendor:publish --provider="VueGenerators\ServiceProvider"

Usage

This package currently contains two commands: component and mixin.

component

Create a Vue js component file.

php artisan vueg:component {name} {--empty} {--path=}
name

Name of the component.

php artisan vueg:component MyComponent

Will create a file called MyComponent.vue at resources/assets/js/components/MyComponent.vue.

empty

By default, the component will be filled with all available component methods (data, props, computed etc.). Use empty flag to create an empty component with no methods.

php artisan vueg:component MyComponent --empty

Will create a file with no component methods.

path

By default, all components will be saved in resources/assets/js/components/. Specify a custom path with the path flag. Path root is in resources/.

php artisan vueg:component MyComponent --path=assets/js/custom/folder

Will create a file called MyComponent.vue at resources/assets/js/custom/folder/MyComponent.vue.

mixin

Create a Vue js mixin file.

php artisan vueg:mixin {name} {--empty} {--path=}
name

Name of the mixin.

php artisan vueg:mixin MyMixin

Will create a file called MyMixin.vue at resources/assets/js/mixins/MyMixin.vue.

empty

By default, the mixin will be filled with all available mixin methods (data, props, computed etc.). Use empty flag to create an empty mixin with no methods.

php artisan vueg:mixin MyMixin --empty

Will create a file with no mixin methods.

path

By default, all mixins will be saved in resources/assets/js/mixins/. Specify a custom path with the path flag. Path root is in resources/.

php artisan vueg:mixin MyMixin --path=assets/js/custom/folder

Will create a file called MyMixin.vue at resources/assets/js/custom/folder/MyMixin.vue.

Configuration

Set default paths for components and mixins. All paths are relative to Laravel's resources directory.

'paths' => [
    'components' => 'path/to/components',
    'mixins'     => 'path/to/mixins',
]

Testing

composer test

Contributing

Contributions are more than welcome. Fork, improve and make a pull request. For bugs, ideas for improvement or other, please create an issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].