lpi

2.0.3 • Public • Published

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 :)

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i lpi

    Weekly Downloads

    1

    Version

    2.0.3

    License

    ISC

    Unpacked Size

    8.69 kB

    Total Files

    12

    Last publish

    Collaborators

    • k.tourvas