config icon indicating copy to clipboard operation
config copied to clipboard

Add TOML support

Open leocavalcante opened this issue 4 years ago • 2 comments

Add TOML support using yosymfony/toml lib.

leocavalcante avatar Oct 08 '20 00:10 leocavalcante

Hi @leocavalcante and thanks for your PR! It would be amazing if you can add that this package supports .toml file on top of README.md, where we have the "Config is a file configuration loader that supports" text.

@hassankhan, @filips123, since this package requires php >=7.1, do you think this could be a good chance to start dropping support for old PHP versions that are no more officially supported?

DavidePastore avatar Oct 12 '20 07:10 DavidePastore

do you think this could be a good chance to start dropping support for old PHP versions that are no more officially supported?

Probably yes. Based on PHP versions stats by Packagist, PHP >=7.1 is used by around 90% of Packagist users. Unfortunately there aren't any stats on package-basis, but there probably isn't much difference for here.

It could also help to modernize codebase a bit, maybe with type hints and some extra features.

filips123 avatar Oct 12 '20 17:10 filips123