Skip to content

Releases: ICanBoogie/Inflector

v3.0.0

18 Nov 13:20
Compare
Choose a tag to compare

New requirements

None

New features

Added StaticInflector, which can be used instead of the helper functions.

Backward Incompatible Changes

The file with the helper functions is no longer included in the autoload. You must include the
file vendor/icanboogie/inflector/lib/helpers.php in your composer.json if you want to continue
using these functions. Better use the new StaticInflector instead.

Deprecated Features

None

Other Changes

None

v2.2.2

16 Nov 01:14
Compare
Choose a tag to compare

Support PHP 8.4

v2.2.0

20 Oct 02:56
Compare
Choose a tag to compare

Added

  • Throw InflectionsNotFound on missing inflections.

v2.1.0

16 Jul 23:24
Compare
Choose a tag to compare

Added

  • Code Style checking with PHP CodeSniffer. PSR-12 adjacent.
  • Static analysis with PHPStan.
  • Upgrade guide.
  • Contributing guidelines.
  • Code of Conduct.

Changed

  • Replaced Travis with GitHub actions.
  • Using PSR-4 instead of classmap.
  • Localized inflections are now classes, which are autoloaded.

Remove exec bits

08 Dec 23:56
4cbb074
Compare
Choose a tag to compare
Merge pull request #38 from donatj/fix/ExecBit

Removes executable flag from a number of files

Requires PHP 7.1+

04 Oct 09:45
Compare
Choose a tag to compare

We now have PHP 7.1 type hints throughout the codebase. This should not be an issue for upgrading, as long as you're running PHP 7.1+, of course.

Inflector::is_uncountable()

21 May 19:08
fb6ca79
Compare
Choose a tag to compare

underscore() converts spaces too

30 Jun 13:18
Compare
Choose a tag to compare
Merge pull request #23 from mattsah/master

Handle spaces in underscoring (therefore hyphenating)

Currency is countable

26 Apr 07:57
Compare
Choose a tag to compare
Merge pull request #21 from ICanBoogie/currecy-is-countable

Currency is countable

camelize() preserve string end casing

15 Dec 09:16
Compare
Choose a tag to compare