Newbie Paintball Master


    1.0.0 • Public • Published

    Rapid Laravel packages development with Custom Generators

    The one and only node (npm commands) based package to fasten your Laravel package development.

    Setup & Configuration

    First we need to setup laravel for package development.

    Step 1

    Install fresh laravel, refer to

    Step 2

    Create a folder packages at the root folder of laravel.

    Step 3

    Create a folder for your package. Example, if your package name is Laravel Package, then your folder name should be laravel-package.

    Step 4

    Clone or Download in your package folder.

    Step 5

    Run npm install in your package folder.

    Step 6

    Now you have following npm commands to play with:

    Command Details
    npm run start It will start a wizard to generate the package.
    npm run reset Reset the package generated. It will deleted all the generated files.
    npm run readme It will only generate a file

    The following npm commands are available to generate file:

    • npm run make model:[name]
    • npm run make view:[name]
    • npm run make controller:[name]
    • npm run make seed:[name]
    • npm run make migration:[name]

    Step 7

    Once your package is generated, you need add the path in composer.json file of laravel:

            "classmap": [
            "psr-4": {
                "VendorName\\PackageName\\": "packages-scr-path"

    Step 8

    Register your package's service provider at config/app.php:


    Of course, you need to change VendorName & PackageName to yours.

    That's it, your package is ready for use in development environment.

    Support us

    WebReinvent is a web agency based in Delhi, India. You'll find an overview of all our open source projects on github.


    The MIT License (MIT). Please see License File for more information.


    npm i lv-package-generator

    DownloadsWeekly Downloads






    Unpacked Size

    22.6 kB

    Total Files


    Last publish


    • webreinvent