2017 © Pedro Peláez
 

library laravel-vuex-crud

A sweet crud generator for laravel with vue/vuex frontend

image

softdreams/laravel-vuex-crud

A sweet crud generator for laravel with vue/vuex frontend

  • Monday, July 23, 2018
  • by softdreams
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

At the time of this writing we're using dev env on windows with the following setup, (*1)

  • install composer from https://getcomposer.org/download/ composer v1.6.5, (*2)

  • install npm from https://nodejs.org/en/ npm 10.4.1, (*3)

You need to have a php installation with minimum v7.1.3 (required by laravel). During composer install it should be able to automatically detect the location of your php.exe, (*4)

You may need to restart your dev environment (either the editor or logoff/logon) if you can't access the composer or npm in your command line, (*5)

Create your dev location ex:, (*6)

c:/laravel-dev
  1. install laravel from https://laravel.com/docs/5.6/installation
cd laravel-dev
composer global require "laravel/installer"
laravel new blog
  • this will create a new folder called blog where the laravel framework will be installed. You may change 'blog' to any name you desire, (*7)

  • switch to the new location, (*8)

cd blog
  1. install additional npm packages
npm install es6-promise vue-sweetalert2 vue2-datepicker uuid vue-moment bootstrap-vue --save-dev
  1. you can use the standard auth install from laravel
php artisan make:auth
  1. create your database and modify .env to reflect your connection details and run the the initial migration
php artisan migrate
  1. startup dev env
php artisan serve
  1. Point your browser to http://127.0.0.1:8000/ and you should see the new laravel app you just created

for laravel earlier then 5.6 you need to add the service provider in config/app.php under 'providers', (*9)

SoftDreams\LaravelVuexCrud\LaravelVuexCrudProvider::class,

Commands:, (*10)

$ php artisan vuexcrud:laravel:make:api ApiName {section}
$ php artisan vuexcrud:laravel:make:crudservice ApiName ModelName ServiceName {section}
$ php artisan vuexcrud:laravel:make:service ApiName ServiceName {section}
$ php artisan vuexcrud:laravel:inject:service ApiName ServiceName {section}
$ php artisan vuexcrud:vue:make:app AppName {section}
$ php artisan vuexcrud:vue:make:layout AppName LayoutName {section}
$ php artisan vuexcrud:vue:make:page AppName LayoutName PageName {section}
$ php artisan vuexcrud:vue:make:crudpage AppName LayoutName ServiceName VuexModule PageName {section}
$ php artisan vuexcrud:vuex:make:module AppName ModuleName {section}

The Versions

23/07 2018

dev-master

9999999-dev

A sweet crud generator for laravel with vue/vuex frontend

  Sources   Download

MIT

The Requires

 

by Ionut Dumitru