majid/shamsi
laravel 4.2 package for shamsi date
43
14
| Install | |
|---|---|
composer require majid/shamsi |
|
| PHP: | >=5.4.0 |
| License: | MIT |
| Last Updated: | Nov 23, 2014 |
| Links: | GitHub · Packagist |
Maintainer: majidphpdeveloper
Shamsi date Package for Laravel 4.2
Installation
Add this package to your composer.json and run composer update. "Majid/shamsi": "dev-master"
Add the ServiceProvider to the providers array in
app/config/app.php
'Majid\Shamsi\ShamsiServiceProvider'
you can use each function which is introduced here : jdf official web site just by this syntax :
$myShamsiDate = Shamsi::toJalali($myObject->created_at);
and
$order->created_at
is just php date object.
the mentioned link also has documentation for each function to use. feel free to comment and report the bugs which make this package more useful .
##License this package was created by Majid Abdolhosseini and is released under the MIT License.
Related Packages
iamfarhad/validation
🇮🇷 Complete Laravel Persian validation package - Iranian national ID, mobile num...
17,490
30
bank-card
card-number
company-id
farsi
farsi-text
farsi-validation
iban
iran
iranian
iranian-iban
iranian-mobile
iranian-national-id
iranian-postal
iranian-validation
jalali
jalali-date
laravel
laravel-validation
lumen
mobile-validation
modern-laravel
national-code
persian
persian-alphabet
persian-date
persian-mobile
persian-numbers
persian-text
persian-validation
php8
postal-code
shamsi
shamsi-date
sheba
validation
validator
bigsinoos/j-eloquent
Convert eloquent date attributes to jalali (Persian) dates on the fly. (support...
4,690
21