2017 © Pedro Peláez
 

library laravel-package-boilerplate

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

image

matthewbdaly/laravel-package-boilerplate

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  • Thursday, January 11, 2018
  • by matthewbdaly
  • Repository
  • 1 Watchers
  • 2 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 19 Versions
  • 7 % Grown

The README.md

laravel-package-boilerplate

Boilerplate for Laravel packages. Use it as a starting point for your own Laravel packages., (*1)

Includes PHPUnit and PHPCodeSniffer configuration, as well as a known good Travis CI configuration and a couple of base test cases. Uses orchestra/testbench as the basis of the provided base test., (*2)

Also includes my Artisan Standalone package as a development dependency. As a result, you should be able to run Artisan commands as follows:, (*3)

vendor/bin/artisan make:model Example

How do I use it?

Step 1
composer create-project matthewbdaly/laravel-package-boilerplate <YOUR_NEW_PACKAGE_DIRECTORY>

This will generate a starting boilerplate for your app., (*4)

Step 2

You'll want to update your composer.json with your required namespace and other details - you can do this by running bash vendor/bin/artisan app:name InsertYourProjectNameHere, (*5)

Test cases

The package includes three test cases:, (*6)

  • TestCase - Effectively the normal Laravel test case. Use it the same way you would your normal Laravel test case
  • SimpleTestCase - Extends the default PHPUnit test case, so it doesn't set up a Laravel application, making it quicker and well-suited to properly isolated unit tests
  • BrowserKitTestCase - Sets up BrowserKit

The Versions

10/01 2018

1.2.3

1.2.3.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

10/01 2018

1.2.2

1.2.2.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

07/01 2018

1.2.1

1.2.1.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

07/01 2018

1.1.8

1.1.8.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

07/01 2018

1.1.7

1.1.7.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

07/01 2018

1.1.6

1.1.6.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

07/01 2018

1.1.5

1.1.5.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

07/01 2018

1.1.4

1.1.4.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

07/01 2018

1.1.3

1.1.3.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

07/01 2018

1.1.2

1.1.2.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

01/01 2018

1.1.1

1.1.1.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

01/01 2018

1.1.0

1.1.0.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

01/01 2018

1.0.3

1.0.3.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

31/12 2017

1.0.2

1.0.2.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

24/12 2017

1.0.1

1.0.1.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen

24/12 2017

1.0.0

1.0.0.0

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

  Sources   Download

MIT

The Development Requires

laravel lumen