- Formatted code with Pint
- Update
README.md
file - Update composer packages
- Modified
LICENSE
file - Updated composer packages
- Added more information to
README.md
file - Update
nestbot/carbon
package from^3.0
to^3.2.1
- Formatted
CHANGELOG.md
file - Small code refactoring
- Added a new badge to a
README.md
file - Moved scripts from
Makefile
tocomposer.json
- Removed slashes before each PHP native function
- Added a "License" section to
README.md
file - Added more tests
- Refactored tests
- Added support for the German language
- Updated
nestbot/carbon
package from^2.2
to^3.0
- Updated
phpstan/phpstan
package from0.12.x-dev
to^1.10.57
- Changed
sandfoxme/private-access
toarokettu/private-access
package because of the deprecation of the first one
- Removed badge from readme.md file
- Added description to each case in
Option
enum
- Added support for PHP 8.3
- Added support for PHP 8.2
- Connected Pint package to the project
- Code refactoring. Making everything look nicer;
- Removed comment in code examples in
CONTRIBUTE.md
file - Typo in
README.md
file
- Removed budge from
README.md
file that shows stable release - Added
Option::JUST_NOW
option that printJust now
if time is within 1 minute - Added throwing
InvalidOptionsException
when you passJUST_NOW
andONLINE
options at the same time
- Added banner image to a
README.md
file - Removed option UPPER that convert number to uppercase. Because I don't want this package to depend on mb string extension
- Added more information to
CONTRIBUTE.md
file - Added support for Dutch language
- Added deprecation notice when you try to use
Option::UPCOMING
option - Closed issue #34. Changed
trans
method to except future dates and return correct result
- Fixed mistake in composer.json file with carbon library being as a dev dependency
- Added support for timestamps to
TimeAgo::trans()
method and not just strings - Added support for DateTime and DateTimeImmutable to
TimeAgo::trans()
method - Added support for Carbon and CarbonImmutable to
TimeAgo::trans()
method - Added more tests to make sure that new features are working correctly
- Added more info to README.md file about using second argument in Lang::set() method
- Improved performance of the program by caching included translations and reusing them
- Added flags to supported languages table in README.md file
- Added ability to overwrite translations. Closes issue #20
- Added support for PHP 8.1
- Other bug fixes with language rules
- Code refactoring
- Bug fix with English language 0 seconds ago
- 0 second ago
+ 0 seconds ago
- Added more types for PHPStan static analyzer
- Added CHANGELOG.md file to the root of the project
- Fixed typo in composer.json file
- Added php8 to composer.json file
- Added new option UPPER that convert number to uppercase
- Refactored the code