A collection of quotes from different people in TEXT, JSON, and various arrays for different programming languages.
- 876 quotes
- 773 authors
- JavaScript
- PHP (Associative and Numeric arrays)
- Windows 10
- Version 1703
- OS Build 15063.413
- x64 OS
- PHP
- Version 7.0.10
- Zend Engine v3.0.0
If it doesn't work on your machine, please open an issue and tell me about it.
git clone https://github.com/aprilmintacpineda/super-quotes.git
cd super-quotes
php generate
Output will be created at the combined directory or simply dowload from the combined directory.
Contains all the quotes as a JSON file that has the following structure:
[
{
"quote": "This is a very wonderful quote.",
"name": "The Author"
},
{
"quote": "Another wonderful quote",
"name": "Another Author"
}
]
Contains all the quotes as a text file, one quote per line with the author after the ~
at the end of every quotes.
numeric array
, contains all the quotes as a numeric array, one quote per index of the array with the author after the~
at the end of every quotes.associative array
, contains all the quotes as an associative array, one quote per index of the array with the keysquote
for the quote body andname
for the author's name.
- Contains all quotes as an array, one quote per index of the array with the author after the
~
at the end of every quotes.
Put all your quotes in the raw directory as one of the following:
One quote per line and make sure that the format looks strictly like:
This is a very wonderful quote. ~The Author
Another wonderful quote. ~Another Author
Make sure that the structure looks strictly like the following:
[
{
"quote": "This is a very wonderful quote.",
"name": "The Author"
},
{
"quote": "Another wonderful quote",
"name": "Another Author"
}
]
Then after doing so, just run php generator
again to combine all the quotes in one JSON file.
Do make pull requests to enlarge our collection of quotes, and update the credits section of this readme.
April Mintac Pineda
Cheers!