Skip to content

Commit

Permalink
Update Laravel requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
easteregg committed Jul 22, 2021
1 parent 1a3e21b commit 86064d0
Show file tree
Hide file tree
Showing 9 changed files with 5,543 additions and 1,616 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/easteregg/intl-carbon.svg?branch=master)](https://travis-ci.org/easteregg/intl-carbon)

# Laravel 5.4 Eloquent Carbon Methods
# Persian date formatter using php-intl integration into Laravel

This package provides a convenient way to localize and format Eloquent date attributes. using this package, you can localize date attributes of any model
to any calendar you want. it looks for the current application locale to generate string.
Expand Down
11 changes: 8 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"email": "[email protected]"
}
],
"scripts": {
"test": "phpunit"
},
"autoload": {
"psr-4": {
"Easteregg\\IntlCarbon\\": "src"
Expand All @@ -19,12 +22,14 @@
}
},
"require": {
"nesbot/carbon": "^1.22"
"nesbot/carbon": "^2.0",
"ext-intl": "*"
},
"require-dev": {
"laravel/framework": "5.4.*",
"laravel/framework": "6.*|7.*|8.*",
"orchestra/testbench": "*",
"phpunit/phpunit": "*",
"mockery/mockery": "*"
"mockery/mockery": "*",
"laravel/legacy-factories": "^1.1"
}
}
Loading

0 comments on commit 86064d0

Please sign in to comment.