php-postal icon indicating copy to clipboard operation
php-postal copied to clipboard

Windows support (incl. AppVeyor CI builds)

Open cmb69 opened this issue 5 years ago • 1 comments

There seems to be interest in being able to use php-postal on Windows (#16); these patches add basic Windows support, and the AppVeyor CI integration shows how that can be accomplished (plus it creates PECL like binary packages as artifacts).

I think a lot could be improved here; particularly, the hard coded URL of the libpostal binary package, which points to the AppVeyor artifacts of the currently latest commit, is obviously suboptimal.

Furthermore, it would be nice to know how to get the libpostal data for users (and also for AppVeyor CI to be able to run the test suite). @c33s's solution worked for me (thanks!), but I'd prefer a Windows only solution.

cmb69 avatar Jun 06 '20 21:06 cmb69

The Travis CI failure is due to PHP 5.5 not being available. It seems to make sense to update .travis.yml to use more recent PHP versions.

cmb69 avatar Jun 07 '20 10:06 cmb69