PHP code example of wearedevtical / laravel-quran

1. Go to this page and download the library: Download wearedevtical/laravel-quran library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wearedevtical / laravel-quran example snippets


$surah = Surah::find(36);

$surah->ayahs;

$ayah  = Ayah::find(3787);