bobloco / hellodolly
Generates a random line from Hello Dolly (hat tip to WordPress). Useful for learning the basic structure of a Composer package.
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/bobloco/hellodolly
Requires
- php: >=5.3.0
- illuminate/support: 4.0.x
This package is not auto-updated.
Last update: 2025-10-11 20:21:06 UTC
README
Hello Dolly Composer Package
A very basic and primitive "Hello world"-style script and a tribute to WordPress's default plugin.
Usage
- Install Composer if you haven't already.
- Add
"bobloco/hellodolly": "*"to your composer.json file - Run
composer update - Add the following to the list of service providers (found in
app/config/app.phpin Laravel)
'Bobloco\Hellodolly\HellodollyServiceProvider',
- If you're using Laravel, you can add the following to the aliases in
app/config/app.php, and then useHelloDolly::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.