laravel 4.2 package for shamsi date
43
14
1
Package Data
Maintainer Username: majidphpdeveloper
Maintainer Contact: majid8911303@gmail.com (Majid)
Package Create Date: 2014-11-20
Package Last Update: 2014-11-23
Language: PHP
License: MIT
Last Refreshed: 2024-04-10 03:11:39
Package Statistics
Total Downloads: 43
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 14
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

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.