2017 © Pedro Peláez
 

package boilerplate

Boilerplate for Laravel Packages

image

ridrog/boilerplate

Boilerplate for Laravel Packages

  • Wednesday, November 1, 2017
  • by Ridrog
  • Repository
  • 0 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Readme

How to use this laravel package boilerplate

Setup

Step 1
Clone or download this Repository into a laravel installtion., (*1)

Step 2
- Rename all Files from "BoilplateXxxxx.php" to "YourPackageNameXxxxx.php"
- Search and Replace "Boilerplate" with "YourPackageName" (case sensitive!) - Search and Replace "boilerplate" with "yourpackagename" (case sensitive!) - Replace the name in the LICENSE File, (*2)

Step 3 - Use your terminal to cd to the root of this package - Run composer install - Run the tests composer test, (*3)

Step 4 - Add the namespace and the path to the composer.json File of your laravel installation, (*4)

"autoload": {
    "classmap": [
        "database/seeds",
        "database/factories"
        ],
    "psr-4": {
        "App\\": "app/",
        "{Vendor}\\{{PackageName}}\\": "packages/{vendor}/{packagename}/src/
    }
},
  • Add the Service Provider to config/app.php

Development

  1. Update all the readme /docs files
    Delete what you don't need
    You also need to delete links from \docs\index.md to the not used/deleted files in \docs\details, (*5)

  2. Develop the package, (*6)

Publish

  1. Create a Github repository for your package
  2. Push the package to github
  3. Bonus: Enable Github Pages in the settings of the repository
  4. Generate a Release
  5. Add the package to packagist
  6. Bonus: Add the github repository to travis to run test on every change that is pushed to the repository
  7. Delete this section
  8. DONE

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*7)

Full Documentation, (*8)

What is this


Installation


Usage


Config


Details

Facade

Routes

Controllers

Views

Middleware

Migrations

Seeder

Commands

Translation

Events and Listeners

Notifications


Tests


Change log

Please see CHANGELOG for more information what has changed recently., (*9)

Testing

$ composer test, (*10)

Contributing

Please see CONTRIBUTING for details., (*11)

Security

If you discover any security related issues, please email mail@ridrog.de instead of using the issue tracker., (*12)

Credits

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions

01/11 2017

dev-master

9999999-dev https://github.com/:vendor/:package_name

Boilerplate for Laravel Packages

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Ridrog

laravel package package development

31/10 2017

0.0.2

0.0.2.0 https://github.com/:vendor/:package_name

Boilerplate for Laravel Packages

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Ridrog

laravel package package development

22/06 2017

0.0.1

0.0.1.0 https://github.com/:vendor/:package_name

Boilerplate for Laravel Packages

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Ridrog

laravel package package development