Mika56 / PHP-SPF-Check

Simple library to check an IP address against a domain's SPF record
MIT License
44 stars 25 forks source link

Error on Http-foundation with composer #14

Closed arnovdlaan closed 7 years ago

arnovdlaan commented 7 years ago

When i try to install through composer i get the following error:

`Using version ^1.0 for mika56/spfcheck ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

I guess its looking for an older version of http-foundation, maybe the requirements can be updated / changed for this?

Mika56 commented 7 years ago

You seem to be using Symfony 3.x, while this library depends on the 2.8 version. I'll try to update this today, I'm only using one class from symfony/http-foundation, so version 3 should work well.

arnovdlaan commented 7 years ago

Thanks for the quick reply! 'll wait for the update then.

Mika56 commented 7 years ago

Can you try now? I've updated to v1.0.1, which should allow symfony/http-foundation:3.*

arnovdlaan commented 7 years ago

Yes all is working as it should now, thanks again for the quick reply (and fix)!