sorenmesselier-sentis / infernal-dependance
a nice dependency that returns information on the different names present in the infernal dictionary
1.1.0
2023-07-03 14:50 UTC
Requires
- php: >=8.0
- guzzlehttp/guzzle: ^7.7
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.20
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.6.9
README
This package allows you to retrieve a URL to have information on a legend/myth present in the infernal dictionary
Installation
composer require sorenmesselier-sentis/infernal-dependance
Local development
composer install
php vendor/bin/phpstan analyse src --level=max
php vendor/bin/php-cs-fixer fix src --rules=@PSR12
php vendor/bin/phpunit tests
More Informations
For example you want some informations about the Demon Lilith:
getName("Lilith")
What the function will return :
<a href="/wiki/Dictionnaire_infernal/6e_%C3%A9d.,_1863/Lilith" title="Dictionnaire infernal/6e éd., 1863/Lilith">Lilith</a>%