support laravel 6

This commit is contained in:
Nasser committed 2019-09-16 20:01:33 +04:30
1 parent 226ca98982
commit 20511a70f8
3 files changed
+26 -6

No files matched your search

+12 -2
View File
@@ -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.
- 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.
## 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