Giter Site home page Giter Site logo

bobwez98 / laravel-module-create Goto Github PK

View Code? Open in Web Editor NEW

This project forked from indykoning/laravel-module-create

0.0 1.0 0.0 5.47 MB

This module adds a command to easily generate "modules" in Laravel and install them using composer.

PHP 100.00%

laravel-module-create's Introduction

Laravel Module Create

This module adds a command to easily generate "modules" in Laravel and install them using composer

Installation

Simply install the package using composer

composer global require indykoning/laravel-module-create --dev

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

laravel-module-create's People

Contributors

bobwez98 avatar indykoning avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.