Title: Moving away from ApiGen? · Issue #99 · cakephp/cakephp-api-docs · GitHub
Open Graph Title: Moving away from ApiGen? · Issue #99 · cakephp/cakephp-api-docs
X Title: Moving away from ApiGen? · Issue #99 · cakephp/cakephp-api-docs
Description: As discussed in the dev channel : CakePHP uses ApiGen for generating its API documentations for years now ApiGen 4.x is not compatible with PHP 7.0+, usage of PHP 7 language features leads to "Unknown Token found." error ApiGen 5.x is no...
Open Graph Description: As discussed in the dev channel : CakePHP uses ApiGen for generating its API documentations for years now ApiGen 4.x is not compatible with PHP 7.0+, usage of PHP 7 language features leads to "Unkn...
X Description: As discussed in the dev channel : CakePHP uses ApiGen for generating its API documentations for years now ApiGen 4.x is not compatible with PHP 7.0+, usage of PHP 7 language features leads to "...
Opengraph URL: https://github.com/cakephp/cakephp-api-docs/issues/99
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Moving away from ApiGen?","articleBody":"As discussed in the dev channel :\r\n\r\n- [CakePHP uses ApiGen for generating its API documentations](https://github.com/cakephp/cakephp-api-docs/blob/master/composer.json#L6) for years now\r\n- ApiGen 4.x is not compatible with PHP 7.0+, usage of PHP 7 language features leads to \"Unknown Token found.\" error\r\n- [ApiGen 5.x is not yet released](https://github.com/ApiGen/ApiGen/tree/8141881dc8032fcfbf0a63f8f3e4dce69e566e7e#your-help-is-needed-to-finish-5x-release), [current release candidate seems to be a mess](https://github.com/ApiGen/ApiGen/issues/1015) and general progress seems very slow\r\n- CakePHP 4.0 will have a minimum PHP compatibility of 7+, so the current ApiGen will not work for us anymore\r\n\r\nThis means once we start working on CakePHP 4.0 we will not be able to generate API documentation anymore.\r\n\r\nWhat are our options:\r\n\r\n- Wait for ApiGen 5.0 to be released (may be help 'em)\r\n- Moving away from ApiGen as our API docs generator\r\n\r\nWhat alternatives are there?\r\n\r\n- [phpDocumentor2](https://github.com/phpDocumentor/phpDocumentor2), the classic\r\n- [FriendsOfPHP SAMI](https://github.com/FriendsOfPHP/Sami), used by Symfony & Laravel\r\n- [calinrada/php-apidoc](https://github.com/calinrada/php-apidoc)\r\n- others?","author":{"url":"https://github.com/ravage84","@type":"Person","name":"ravage84"},"datePublished":"2018-03-14T17:17:01Z","url":"https://github.com/cakephp/cakephp-api-docs/issues/99"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:09816266-96b5-cc40-2100-408bf57012dd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90F8:1B4D88:5553FD:77CBC3:6B044570 |
| html-safe-nonce | 79e3bcb918f362170a4694a3a5bff8ae3f1dea78061e3b9f235ceaa6c6de5179 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEY4OjFCNEQ4ODo1NTUzRkQ6NzdDQkMzOjZCMDQ0NTcwIiwidmlzaXRvcl9pZCI6Ijg2NTI2Njk1NzQ3NzAzNDUzMjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 25b37843e9519ad4f207c0f4d170b3e7c831bbb938f3deb1cadc4eb62e6218e1 |
| hovercard-subject-tag | issue:305252816 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cakephp/cakephp-api-docs/99/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d0a7418a14625b088d617c14b1e9114af9f8073e30684b444857e7e48c021a6/cakephp/cakephp-api-docs/issues/99 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d0a7418a14625b088d617c14b1e9114af9f8073e30684b444857e7e48c021a6/cakephp/cakephp-api-docs/issues/99 |
| og:image:alt | As discussed in the dev channel : CakePHP uses ApiGen for generating its API documentations for years now ApiGen 4.x is not compatible with PHP 7.0+, usage of PHP 7 language features leads to "Unkn... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ravage84 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| turbo-cache-control | no-preview |
| go-import | github.com/cakephp/cakephp-api-docs git https://github.com/cakephp/cakephp-api-docs.git |
| octolytics-dimension-user_id | 23666 |
| octolytics-dimension-user_login | cakephp |
| octolytics-dimension-repository_id | 8281882 |
| octolytics-dimension-repository_nwo | cakephp/cakephp-api-docs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8281882 |
| octolytics-dimension-repository_network_root_nwo | cakephp/cakephp-api-docs |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width