2017 © Pedro Peláez
 

library hellodolly

Generates a random line from Hello Dolly (hat tip to WordPress). Useful for learning the basic structure of a Composer package.

image

bobloco/hellodolly

Generates a random line from Hello Dolly (hat tip to WordPress). Useful for learning the basic structure of a Composer package.

  • Wednesday, April 10, 2013
  • by BobLoco
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Readme

Hello Dolly Composer Package

A very basic and primitive "Hello world"-style script and a tribute to WordPress's default plugin., (*1)

Usage

  1. Install Composer if you haven't already.
  2. Add "bobloco/hellodolly": "*" to your composer.json file
  3. Run composer update
  4. Add the following to the list of service providers (found in app/config/app.php in Laravel)
'Bobloco\Hellodolly\HellodollyServiceProvider',
  1. If you're using Laravel, you can add the following to the aliases in app/config/app.php, and then use HelloDolly::output(); to return a line.
'HelloDolly'      => 'Bobloco\Hellodolly\Facades\Hellodolly',

Please note that this package is primarily designed to teach you about how composer packages work, particularly with regard to integration into Laravel. Take a look at the code, and see what you make of it. At some point I'll get 'round to writing it all step-by-step, but for the moment this will have to do., (*2)

The Versions

10/04 2013

dev-master

9999999-dev http://www.cunningtitle.com

Generates a random line from Hello Dolly (hat tip to WordPress). Useful for learning the basic structure of a Composer package.

  Sources   Download

MIT

The Requires

 

by Avatar BobLoco