jhonoryza/laravel-quran

laravel package to get quran data from some sources

2.0.1 2024-09-26 02:58 UTC

This package is auto-updated.

Last update: 2024-10-26 08:12:21 UTC


README

Total Downloads Latest Stable Version License

install

composer require jhonoryza/laravel-quran

run migration

php artisan migrate

this will create 2 tables: qurans and quran_verses

publish config file

php artisan vendor:publish --tag=quran-config

Source of quran.

options: 'kemenag', 'kemenag_official', 'tanzil.net'

  • kemenag is using rest api method to get the data from non official source
  • kemenag_official is using rest api method to get the data from official source
  • tanzil.net is using dump sql data that provided by tanzil to get the data

sync data

sync quran data

php artisan quran:sync

Security

If you've found a bug regarding security please mail jardik.oryza@gmail.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.