lpi
v2.0.3
Published
Simple laravel project package initializer. Save some time for setting up your new projects as packages within a laravel installation
Downloads
12
Readme
lpi is a simple node package used to quickly bootstrap a php package intended for use within the laravel framework environment. Use the process through console and within your main laravel installation. Starting the script will prompt you for the following information
- The new package preferred name ex. MyNewPackage
- The new package intended php namespace ex. myname\myprojects\mnp
- The new package views prefererd prefix ex. mnp (usage: 'mnp::blahblah' )
- The new package intended folder location (folder /packages considered the default path starting point) ex. myname/mynewpackage will result to /packages/myname/mynewpackage
The script will then generate a generic file structure for a laravel package and update the composer.json file with the relevant psr4 namespace reference. Don't forget to run $ composer update and finally add the new package's Service Provider reference to your /config/app.php file :)