Download the PHP package zachleigh/laravel-vue-generators without Composer

On this page you can find all versions of the php package zachleigh/laravel-vue-generators. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-vue-generators

Laravel Vue Generators

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:

Install

Install via composer:

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

Publish the config file:

Usage

This package currently contains two commands: component and mixin.

component

Create a Vue js component file.

name

Name of the component.

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.

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/.

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

mixin

Create a Vue js mixin file.

name

Name of the mixin.

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.

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/.

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.

Testing

Contributing

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


All versions of laravel-vue-generators with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
laravel/browser-kit-testing Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zachleigh/laravel-vue-generators contains the following files

Loading the files please wait ....