ThePHPF / pie-design

97 stars 1 forks source link

Composer Package and Extension Naming updates #12

Closed asgrim closed 6 months ago

asgrim commented 6 months ago

Fixes #8

The key changes here, as per discussion in #8 are:

  • a PIE package MUST have its "top level" name key in the format vendor/foo in its composer.json
  • a PIE package SHOULD optionally specify the extension name in php-ext.extension-name
    • if the php-ext.name is not defined, or empty, the name of the extension will be extracted from the "top level" name, by removing the vendor/ prefix
  • a PIE package MAY optionally specify a replace with ext-foo
asgrim commented 6 months ago

As there is no further feedback, I am merging this.