Skip to content

BobWez98/laravel-module-create-global

Repository files navigation

Laravel Module Create

This application is the global variant of the laravel-module-create package

Installation

Simply install the package using composer

composer global require bobwez98/laravel-module-create

Since this module uses composer to install and autoload the created modules this module can be removed while still keeping created modules functional.

Usage

create-module make:module {vendor} {package} {--json-vendor=} {--json-package=} {--stub=}

if json-vendor and json-package are not defined, we will make assumptions based on the vendor and package name

The possible values of stub are:

  • spatie (uses the spatie skeleton, may prove a somewhat unstable on old laravel installations but is much more fully featured)
  • default (the VERY basics of what you need for an install)

Internals

  1. We very simply create the required folders for the vendor and package name
  2. Then we add the repository path to the composer.json
  3. Then we install the repository from that path
  4. Laravel should now auto discover your newly created module and you can get to work

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages