Re: PHP Package for PHP
| From: | Tim Düsterhus | Date: | Thu, 18 May 2023 17:06:41 +0000 |
| Subject: | Re: PHP Package for PHP | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120346@lists.php.net to get a copy of this message | ||
Hi
On 5/18/23 18:13, tag Knife wrote:
An extension of this, Looking on packagist. The namespace PHP is reserved, in collaboration with PHP, Composer and Packagist. Official PHP packages can use the /PHP/... root namespace. And can be published on packagist under the PHP namespaceTo my understanding in the https://wiki.php.net/rfc/namespaces_in_bundled_extensions RFC it was agreed *not* to use the PHP namespace and instead create appropriate top-level namespaces. The new random implementation in PHP 8.2 is already "relying" on that RFC: Everything is sitting in Random\* and that namespace is now effectively reserved for it. There was also this proposal (that did not yet go anywhere) to introduce the iterable\* top-level namespace: https://externals.io/message/118896#118896 Best regards Tim Düsterhus