huenisys/start

starter package for Laravel 5.5

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:laravel

0.0.2 2017-09-05 00:39 UTC

This package is auto-updated.

Last update: 2024-10-29 04:47:46 UTC


README

This package guides you in getting your Laravel 5.5 site started

Installation

  • $ composer require "huenisys/start"
  • For development, use autoload-dev instead
"autoload-dev": {
    "psr-4": {
        "Tests\\": "tests/",
        "Huenisys\\Start\\": "../laravel-packages/huenisys/start/src"
    }
},
  • add provider: Huenisys\Start\StartServiceProvider::class,

Steps

  • Clone the laravel repo. Consider using the provided binary: $ laravel new l55.site
  • Create per project Homestead:
  • $ composer require "laravel/homestead"
  • $ php vendor/bin/homestead make or $ vendor\\bin\\homestead make
  • Setup the dev machine like what's shown in resources/Homestead.yaml
  • Install composer packages: $ composer install
  • Install node modules: $ npm install
  • Setup a database: $ art vendor:publish --tag=start-sqdb

Notes

  • laravel-packages directory is used to ease up package development
  • During development, we just do autoload them. Take for example huenisys/tpl entry below. All we're doing is using relative paths to keep the package accessible without cluttering the git history
"autoload-dev": {
    "psr-4": {
        "Tests\\": "tests/",
        "Huenisys\\Tpl\\": "../laravel-packages/huenisys/tpl/src"
    }
},