An open API service indexing awesome lists of open source software.

https://github.com/hongyukeji/laravel-package


https://github.com/hongyukeji/laravel-package

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        



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 hongyukeji/laravel-package
```

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

```
Hongyukeji\LaravelPackage\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: hongyukeji/laravel-package

```
php artisan bootpack:create test/package
```

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

![First](http://i.imgur.com/7XkKtQe.png)

![Second](http://i.imgur.com/hgBzQQw.png)

## Package Structure

![Structure](http://i.imgur.com/wOEynKN.png)