support laravel 6
This commit is contained in:
1 parent
226ca98982
commit
20511a70f8
3 files changed
+26
-6
No files matched your search
+12
-2
@@ -12,12 +12,22 @@ hekmatinasser/verta
|
|||||||
|
|
||||||
- Verta is a package for conversions jalali and datetime and includes auxiliary functions that allow users to easily convert their datetime.
|
- Verta is a package for conversions jalali and datetime and includes auxiliary functions that allow users to easily convert their datetime.
|
||||||
- PHP language has a class for the Datetime that Verta has inherited from the same class.
|
- PHP language has a class for the Datetime that Verta has inherited from the same class.
|
||||||
- This package is compatible with the laravel versions `5.x`.
|
|
||||||
- Verta Package includes the conversion algorithm from Jalali to Gregorian and vice versa. The algorithm for the datetime converter is based on Jalali Vahid Sohrab Lo, Roozbeh Pournader and Mohammad Tusi's algorithm.
|
- Verta Package includes the conversion algorithm from Jalali to Gregorian and vice versa. The algorithm for the datetime converter is based on Jalali Vahid Sohrab Lo, Roozbeh Pournader and Mohammad Tusi's algorithm.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
To install Verta, enter the following command
|
To install Verta in Laravel 5.x, enter the following command
|
||||||
|
|
||||||
|
```json
|
||||||
|
...
|
||||||
|
"require": {
|
||||||
|
...,
|
||||||
|
"hekmatinasser/verta": "^1"
|
||||||
|
},
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
To install Verta in install Laravel 6, enter the following command
|
||||||
|
|
||||||
$ composer require hekmatinasser/verta
|
$ composer require hekmatinasser/verta
|
||||||
|
|
||||||
|
|||||||
@@ -13,14 +13,24 @@ hekmatinasser/verta
|
|||||||
|
|
||||||
- ورتا پکیجی برای تبدیلات تاریخ شمسی و میلادی به یکدیگر و شامل توابع کمکی که کاربران به راحتی بتوانند تبدیلات تاریخ خود را انجام دهند
|
- ورتا پکیجی برای تبدیلات تاریخ شمسی و میلادی به یکدیگر و شامل توابع کمکی که کاربران به راحتی بتوانند تبدیلات تاریخ خود را انجام دهند
|
||||||
- زبان پی اچ پی دارای کلاسی برای تاریخ و زمان است که ورتا از همین کلاس ارث بری کرده است
|
- زبان پی اچ پی دارای کلاسی برای تاریخ و زمان است که ورتا از همین کلاس ارث بری کرده است
|
||||||
- این پکیج با نسخه های لاراول `5` سازگار می باشد
|
|
||||||
- ورتا از الگوریتم تبدیل تاریخ شمسی به میلادی و بالعکس استفاده می کند. الگوریتم مبدل تاریخ بر اساس الگوریتم تاریخ جلالی وحید سهراب لو، روزبه پورنادر و محمد توسی می باشد
|
- ورتا از الگوریتم تبدیل تاریخ شمسی به میلادی و بالعکس استفاده می کند. الگوریتم مبدل تاریخ بر اساس الگوریتم تاریخ جلالی وحید سهراب لو، روزبه پورنادر و محمد توسی می باشد
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
## نصب
|
## نصب
|
||||||
|
|
||||||
برای نصب ورتا دستور زیر را وارد کنید
|
برای نصب در نسخه 5 لاراول دستور زیر را وارد کنید
|
||||||
|
|
||||||
|
```json
|
||||||
|
...
|
||||||
|
"require": {
|
||||||
|
...,
|
||||||
|
"hekmatinasser/verta": "^1"
|
||||||
|
},
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
برای نصب در نسخه 6 لاراول دستور زیر را وارد کنید
|
||||||
|
|
||||||
$ composer require hekmatinasser/verta
|
$ composer require hekmatinasser/verta
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -12,8 +12,8 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.5",
|
"php": ">=5.5",
|
||||||
"hekmatinasser/notowo": "^1.0",
|
"hekmatinasser/notowo": "^1.0",
|
||||||
"illuminate/validation": "^5",
|
"illuminate/validation": "^6",
|
||||||
"illuminate/support": "^5"
|
"illuminate/support": "^6"
|
||||||
},
|
},
|
||||||
"require-dev" : {
|
"require-dev" : {
|
||||||
"phpunit/phpunit": "7.2.*",
|
"phpunit/phpunit": "7.2.*",
|
||||||
|
|||||||
Reference in new issue
Block a user