jhonoryza / laravel-quran
laravel package to get quran data from some sources
2.0.1
2024-09-26 02:58 UTC
Requires
- php: ^8.2
- illuminate/support: ^10.0
Requires (Dev)
- laravel/pint: ^1.14
- orchestra/testbench: ^8.0|^9.0
README
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.