2017 © Pedro Peláez
 

library qotd

Music quotes to inspire your coding

image

comodojo/qotd

Music quotes to inspire your coding

  • Thursday, November 26, 2015
  • by comodojo
  • Repository
  • 3 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

comodojo/qotd

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

Music's quotes to inspire your coding, (*2)

WTF?

It is a component used in comodojo to generate random text for tests or error messages., (*3)

It gets music quotes from file resources/quotes, where each line represent a single quote., (*4)

Installation

  • Using composer:, (*5)

    composer require comodojo/qotd 1.*, (*6)

  • Downloading zip from GitHub, (*7)

    Extract zip & include src/Qotd.php in your file., (*8)

Usage

  • Getting a simple random quote:, (*9)


    // create an instance $qotd = new \Comodojo\Qotd(); // get a single quote $quote = $qotd->getQuote();
  • Getting all quotes as array:, (*10)


    // create an instance $qotd = new \Comodojo\Qotd(); // get all quotes $array_of_quotes = $qotd->getQuotes();
  • Getting all quotes in id/quote store form (useful for client-side stores test):, (*11)


    // create an instance $qotd = new \Comodojo\Qotd(); // get all quotes $array_of_quotes = $qotd->getQuotesAsStore();

Documentation

Contributing

Fell free to add quotes forking this repo, editing resources/quotes and submitting a pull request., (*12)

License

comodojo/qotd is released under the MIT License (MIT). Please see License File for more information., (*13)

The Versions

26/11 2015

dev-master

9999999-dev https://comodojo.org

Music quotes to inspire your coding

  Sources   Download

MIT

The Development Requires

music quotes comodojo

26/11 2015

1.1.1

1.1.1.0 https://comodojo.org

Music quotes to inspire your coding

  Sources   Download

MIT

The Development Requires

music quotes comodojo

07/05 2015

1.1.0

1.1.0.0 http://comodojo.org

Music quotes to inspire your coding

  Sources   Download

MIT

The Development Requires

music quotes comodojo

03/05 2015

1.0.0

1.0.0.0 http://www.comodojo.org

Music quotes to inspire your coding

  Sources   Download

GPL-3.0+

The Development Requires

music quotes comodojo