palash-wp-dev/random-quranic-verse

This package will show random quranic verses in space of some time

v1.0.0 2025-02-13 14:01 UTC

This package is auto-updated.

Last update: 2025-06-13 15:25:55 UTC


README

A PHP package to fetch a random Quranic verse with its translation.

Installation

Install via Composer:

composer require your-namespace/random-quranic-verse

## Usage

use RandomQuranicVerse\RandomQuranicVerse;

// Create an instance
$randomVerse = new RandomQuranicVerse();

// Access the verse and reference
echo "Verse: " . RandomQuranicVerse::$verse . PHP_EOL;
echo "Reference: " . RandomQuranicVerse::$reference . PHP_EOL;