:package-name:
A repository to use for creating Laravel packages.
Template Usage
Press the "Use this template" button at the top of this repo to create a new repo with the contents of this skeleton.
When you clone this repo there are templated strings that will need to be replaced. You can take the following and search and replace them with the appropriate values.
-
:vendor:
- The vendor name of the package. This is the name of the person or company that is creating the package. -
vendor
- The vendor name of the package. This is the name of the person or company that is creating the package. -
:package-name:
- The name of the package. This is the name of the package that you are creating. -
:package-description:
- The description of the package. This is a short description of what the package does. -
VendorName
- The name of the vendor used for namespace. -
PackageName
- The name of the package used for namespace. -
:github-profile:
- The name of the GitHub profile that the package is associated with.
Installation
Install the package via composer:
composer require :vendor:/:package-name:
Publish the configuration file:
php artisan vendor:publish --provider="VendorName\PackageName\PackageNameServiceProvider"
php artisan migrate # If the package has migrations
Usage
Testing
vendor/bin/testbench workbench:install
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.