71

GitHub - ConsoleTVs/Bootpack: Laravel 5 package bootstraper.

 6 years ago
source link: https://github.com/ConsoleTVs/Bootpack
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

687474703a2f2f692e696d6775722e636f6d2f7669446b5872572e706e67

Bootpack - Laravel 5 package bootstraper

Description

Bootpack is a laravel 5 package bootstraper that does the following:

  • Creates composer.json for a laravel package
  • Create a basic well structured package directory
  • Adds the local autoloader to the project composer.json
  • Dumps the autoload
  • Adds the package service provider to the laravel project
  • Initiates a git repository
  • Perhaps more ;D

It features a full terminal application based on an artisan command.

Installation

composer require consoletvs/bootpack

Register the service provider to the current project (Not needed if using laravel 5.5+):

ConsoleTVs\Bootpack\BootpackServiceProvider::class

Publish the configuration:

php artisan vendor:publish

Usage

Can't be more simple... rename test/package to the vendor/packagename notation you wish to create.

Example: consoletvs/bootpack

php artisan bootpack:create test/package

You then have a cool functional terminal to help you create the package. Enjoy!

First

Second

Package Structure

Structure

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK