All Projects → sebbaum → generator-laravel-5

sebbaum / generator-laravel-5

Licence: other
Scaffold Laravel 5.7 applications with ease.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to generator-laravel-5

Generator Fountain Webapp
Yeoman 'fountain' generator to start a webapp
Stars: ✭ 985 (+5084.21%)
Mutual labels:  yeoman, yeoman-generator, browsersync
Generator Fountain Angular2
Yeoman 'fountain' generator to start a webapp with Angular 2
Stars: ✭ 84 (+342.11%)
Mutual labels:  yeoman, yeoman-generator
Generator Django Rest
Yeoman generator for a Django REST/GraphQL API, an optional React SPA & lots more!
Stars: ✭ 77 (+305.26%)
Mutual labels:  yeoman, yeoman-generator
Generator Hapi Style
📦 Yeoman generator for scaffolding hapi apps and plugins
Stars: ✭ 96 (+405.26%)
Mutual labels:  yeoman, yeoman-generator
generator-nullfactory-xrm
Yeoman generator for Dynamics 365 Solutions. It generates a project structure that facilitates the quick creation builds and automated release strategies with minimal effort.
Stars: ✭ 15 (-21.05%)
Mutual labels:  yeoman, yeoman-generator
Generator Http Fake Backend
Yeoman generator for building a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 49 (+157.89%)
Mutual labels:  yeoman, yeoman-generator
Node Typescript Mongodb
node js typescript mongodb express generator yo
Stars: ✭ 96 (+405.26%)
Mutual labels:  yeoman, yeoman-generator
Generator Web Extension
Advanced WebExtension generator that creates everything you need to get started with cross-browser web-extension development.
Stars: ✭ 212 (+1015.79%)
Mutual labels:  yeoman, yeoman-generator
Generator Spfx
Open-source generator to extend the capabilities of the Microsoft SPFx generator
Stars: ✭ 150 (+689.47%)
Mutual labels:  yeoman, yeoman-generator
Generator Micro Service
🛫 Yeoman generator to kick-start your microservice with `micro` and `ava`!
Stars: ✭ 145 (+663.16%)
Mutual labels:  yeoman, yeoman-generator
generator-ngx-firebase-bootstrap
Generator for Angular / Firebase / Bootstrap projects
Stars: ✭ 44 (+131.58%)
Mutual labels:  yeoman, yeoman-generator
delphi-generator-delphi
Yeoman generator for Delphi projects
Stars: ✭ 14 (-26.32%)
Mutual labels:  yeoman, yeoman-generator
generator-fountain-react
Yeoman 'fountain' generator to start a webapp with React
Stars: ✭ 36 (+89.47%)
Mutual labels:  yeoman, yeoman-generator
Modernwebdevgenerator
A Yeoman generator for Modern Web development projects
Stars: ✭ 73 (+284.21%)
Mutual labels:  yeoman, yeoman-generator
Generator
Rails-inspired generator system that provides scaffolding for your apps
Stars: ✭ 1,000 (+5163.16%)
Mutual labels:  yeoman, yeoman-generator
Generator Fountain Angular1
Yeoman 'fountain' generator to start a webapp with Angular 1
Stars: ✭ 95 (+400%)
Mutual labels:  yeoman, yeoman-generator
Generator Metalsmith
Yeoman generator for Metalsmith
Stars: ✭ 13 (-31.58%)
Mutual labels:  yeoman, yeoman-generator
Generator Solid Angular
Generator for Solid Angular applications
Stars: ✭ 32 (+68.42%)
Mutual labels:  yeoman, yeoman-generator
Generator Fountain Vue
Yeoman 'fountain' generator to start a webapp with Vue http://fountainjs.io
Stars: ✭ 104 (+447.37%)
Mutual labels:  yeoman, yeoman-generator
Generator Chisel
Chisel is a development framework for creating easy to maintain and fast WordPress websites
Stars: ✭ 233 (+1126.32%)
Mutual labels:  yeoman, yeoman-generator

generator-laravel-5 NPM version Build Status Dependency Status

Installs Laravel-5 with a bunch of useful packages and enables BrowserSync

Installation

First, install Yeoman and generator-laravel-5 using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-laravel-5

Then generate your new project:

yo laravel-5

Proxy

You can choose from where your application is served:

  • php artisan serve (localhost:8000)
  • localhost (Use this, if you serve your application via a webserver (local or remote)) The proxy configuration is required for BrowserSync and can be changed in webpack.mix.js

Integrated packages

The following packages are integrated in the new Laravel project by default:

  • doctrine/dbal
  • barryvdh/laravel-ide-helper
  • barryvdh/laravel-debugbar (for Laravel <= 5.6.*)
  • barryvdh/laravel-cors
  • phpmetrics/phpmetrics
  • beyondcode/laravel-self-diagnosis
  • laravel/telescope (for Laravel >= 5.7.*)
  • symplify/easy-coding-standard

Laravel Telescope

Laravel Telescope is integrated for Laravel 5.7+ applications. Make sure to run the migration manually, after having prepared and configured your database.
Laravel Telescope runs with the default configuration. Only php artisan telescope:install has been executed during the setup routine. You can open the telescope GUI via: http(s)://your-domain/telescope.

phpmetrics analyzes

In order to perform a code analyzes with phpmetrics you can run:

composer analyze

This will create a folder named phpmetrics and you can get interesting insights by opening phpmetrics/index.html

Code style check and fixing

In order to have a clean and shiny code style, your generated Laravel 5 application comes with EasyCodingStandard support.
You can check your code with the following command: composer run-script ecsCheck This checks the whole project and applies some basic check configurations. You can tweak the check configuration in the easy-coding-standard.yml file.

In order to fix your code style, you can run composer run-script ecsFix.

You can also run easyCodingStandard and pass other configuration by calling the tool directly:

vendor/bin/ecs check app --config vendor/symplify/easy-coding-standard/config/clean-code.yml
vendor/bin/ecs check app --config vendor/symplify/easy-coding-standard/config/clean-code.yml --fix

For more information, please consult the official documentation.

phpunit-watcher

Another useful php package that is integrated out of the box is spatie/phpunit-watcher. With this tool, you can watch changes in *.php and test files and all your automated tests will be triggered to run. You can start phpunit-watcher with:

vendor/bin/phpunit-watcher watch

For more information have a look at the official documentation: https://github.com/spatie/phpunit-watcher

Frontend development with browserSync

If you serve your application with php artisan serve (http://localhost:8000) you have to start this first before you can start watching your files with browserSync.

In order to have webpack watch your file changes and reload your browser, run npm run watch. You have to open your browser an navigate to http:localhost:3000

Git versioning

If you want to, you can initialize a local git repository to version your code. This is turned on by default. After scaffolding your new laravel application there is an initial commit in your local repository.

License

Apache-2.0 © Sebastian Baum

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