Skip to content

laravelha/poc-web

Repository files navigation

Laravelha POC

Proof of concept to preset-web and generator commands

Screenshots

Welcome Index Show

How to reproduce?

  1. install laravel fresh app
composer create-project --prefer-dist laravel/laravel poc-web && cd poc-web
  1. Install laravelha/preset-web
composer require laravelha/preset-web
  1. Run preset
php artisan preset ha-web
  1. Install and run assets
npm install && npm run dev
  1. Install laravelha/generator
composer require laravelha/generator
  1. Publish laravelha generator config file
php artisan vendor:publish --tag=ha-generator

The following generators commands were executed:

php artisan ha-generator:crud Category -s 'title:string(150), description:text:nullable, published_at:timestamp:nullable'

Run migrations and factories

After set database in .env

php artisan migrate

Run tinker and factory create

php artisan tinker

factory(\App\Category::class, 50)->create();  

This project use Tableable see about on laravelha/suppot

About

Proof of concept to preset-web and generator commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •