huenisys / start by huenisys

starter package for Laravel 5.5
21
0
1
Package Data
Maintainer Username: huenisys
Maintainer Contact: paul@huenits.com (huenisys)
Package Create Date: 2017-09-03
Package Last Update: 2017-09-05
Language: PHP
License: MIT
Last Refreshed: 2024-11-24 03:01:12
Package Statistics
Total Downloads: 21
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

huenisys/start

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"
    }
},