PHP 5.x reaches the end of life by the end of 2018 so we need to upgrade our PHP clients, servers to use PHP 7.x as the default.
Ref: http://php.net/supported-versions.php
I suggest we do it as part of the 4.0.0 release (next major release)
If anyone wants to help on this, please reply to let us know.
cc @jebentier (2017/07) @dkarlovi (2017/07) @mandrean (2017/08) @jfastnacht (2017/09) @ackintosh (2017/09) @ybelenko (2018/07)
There are worthwhile challenges โจ:
I'm working on PHP Slim refactoring descripted in #426. In short it's separating generated stubs from user implementation. I'm quite sure that it will be breaking changes without fallback, so maybe we should include both migration to 7.0.x and interfaces/implementation refactoring to the next release?
@ackintosh @wing328 Does it sounds right to you? Should I address both PRs to 4.0.0?
Thanks for your great work. It sounds good to me. ๐
The php README still says "Requirements: PHP 5.5 and later"
@jacobweber good catch. Do you mind filing a PR to update it (template)?
So this issue is still out there. Any hopes of addressing it soon? 5 is long gone by now.
I tried using the phpLegacySupport options, but it seems to do nothing when using the php generator, despite actually producing more strongly typed code when using the php-symfony generator (see this)
EDIT: see #5480
| generator | README.md | composer.json | @phpdoc |
|-----------------:|:---------------:|:-----------------:|:-----------:|
|php-client | โ
| โ
| โ
|
|php-laravel | โ
| โ
| โ
|
|php-lumen | โ
| โ
| โ
|
|php-slim | โ
| โ
| โ
|
|php-slim4 | โ
| โ
| โ
|
|php-symfony | โ
| โ
| โ
|
|php-ze-ph | โ
| โ
| โ
|