wallacemaxters / dailyverses
A small wrapper for dailyverses.net
0.0.2
2023-07-01 02:02 UTC
Requires
- php: ^8.1
- ext-curl: *
- ext-xml: *
Requires (Dev)
- phpunit/phpunit: ^10.2
This package is auto-updated.
Last update: 2024-11-19 15:44:09 UTC
README
A PHP package to retrieve bible verses from dailyverses.net.
Instalation
composer require wallacemaxters/dailyverses
Usage
use WallaceMaxters\DailyVerses\Verse; use WallaceMaxters\DailyVerses\Version; $result = Verse::ofTheDay(Version::NIV); echo $result['text']; echo $result['verse']; echo $result['href'];
The output is:
Come to me, all you who are weary and burdened, and I will give you rest.
Matthew 11:28
https://dailyverses.net/matthew/11/28