2017 © Pedro Peláez
 

library shamsi

laravel 4.2 package for shamsi date

image

majid/shamsi

laravel 4.2 package for shamsi date

  • Sunday, November 23, 2014
  • by majidphpdeveloper
  • Repository
  • 1 Watchers
  • 11 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Shamsi date Package for Laravel 4.2

Installation

Add this package to your composer.json and run composer update. "Majid/shamsi": "dev-master", (*1)

Add the ServiceProvider to the providers array in, (*2)

 app/config/app.php

```php 'Majid\Shamsi\ShamsiServiceProvider', (*3)

you can use each function which is introduced here :
[jdf official web site](http://jdf.scr.ir/rahnama/?t=jadvalha)
just by this syntax :
```php
$myShamsiDate = Shamsi::toJalali($myObject->created_at);

and, (*4)

 $order->created_at

is just php date object., (*5)

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 ., (*6)

License

this package was created by Majid Abdolhosseini and is released under the MIT License., (*7)

The Versions

23/11 2014

dev-master

9999999-dev

laravel 4.2 package for shamsi date

  Sources   Download

MIT

The Requires

 

by Majid

laravel date time jalali persian iran farsi shamsi hijri hejri