Download the PHP package alkoumi/laravel-hijri-date without Composer
On this page you can find all versions of the php package alkoumi/laravel-hijri-date. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alkoumi/laravel-hijri-date
More information about alkoumi/laravel-hijri-date
Files in alkoumi/laravel-hijri-date
Package laravel-hijri-date
Short Description Laravel package to Convert laravel date to our Amazing 💝 Hjri date {ummul qura and vice versa} . to look like [ الخميس ، ٢٢ ربيع الآخر ، ١٤٤١ - ٠٧:٤٩ مساءً]
License MIT
Homepage https://be.net/komy
Informations about the package laravel-hijri-date
Laravel Hijri Date Ummul Qura
Calendar
تحويل التواريخ من و إلى التاريخ الهجري حسب تقويم أم القرى
Laravel package to Convert laravel date to our Amazing 💝 Hjri date {ummul qura and vice versa} . to look like [ الخميس ، ٢٢ ربيع الآخر ، ١٤٤١ - ٠٧:٤٩ مساءً]
Installation for all Laravel Versions 🥳
You can install the package via composer:
composer require alkoumi/laravel-hijri-date
The service provider will automatically get registered. Or you may manually add the service provider in your config/app.php
file:
'providers' => [
// ...
Alkoumi\LaravelHijriDate\LaravelHijriDateServiceProvider::class,
];
Usage
Get Hijri Date with Ummul Qura
calendar in [Your Custom Format]
You can simply get Ummul qura Hijri date directly in Your custom format using Hijri::Date()
:
Hijri::Date('format','timestamp')
accept tow parameters :
1- First parameter 'format'
is required
2- Second parameter 'timestamp'
is optianl
Get Hijri Date Ummul Qura
Calendar [Short Format]
You can simply get Ummul qura Hijri date directly in Short Format
Hijri::ShortDate('timestamp')
accept One Optinal 'timestamp'
parameter :
Get Hijri Date Ummul Qura
Calendar [Medium Format]
You can simply get Ummul qura Hijri date directly in Medium Format
Hijri::MediumDate('timestamp')
accept One Optinal 'timestamp'
parameter :
Get Hijri Date Ummul Qura
Calendar [Full Format]
You can simply get Ummul qura Hijri date directly in Full Format
Hijri::FullDate('timestamp')
accept One Optinal 'timestamp'
parameter :