Talk:PackagingDrafts/PHP

From FedoraProject

< Talk:PackagingDrafts(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
  
 
''[siwinski 2014-05-20]'' What about in the future if non-Packagist repos are needed? -- just like for pear, non-pear.php.net channels are used.  For example, Zend Framework has it's own repo (https://packages.zendframework.com/#composer) as well as packagist, but what if in the future they change to a private-only composer repo or only offer certain pkgs from their private repo?  Could ''php-composer(vendor/library)'' imply a default repo "packagist" if not provided just like ''php-pear(Console_Color2)'' implies default PEAR channel instead of ''php-pear(channelname/Console_Color2)''
 
''[siwinski 2014-05-20]'' What about in the future if non-Packagist repos are needed? -- just like for pear, non-pear.php.net channels are used.  For example, Zend Framework has it's own repo (https://packages.zendframework.com/#composer) as well as packagist, but what if in the future they change to a private-only composer repo or only offer certain pkgs from their private repo?  Could ''php-composer(vendor/library)'' imply a default repo "packagist" if not provided just like ''php-pear(Console_Color2)'' implies default PEAR channel instead of ''php-pear(channelname/Console_Color2)''
 +
 +
=> ok. php-composer(foo) used.
 +
 +
Notice, some packagist name to package name example (already in our repository)
 +
<pre>
 +
    "fabpot/goutte":                        "php-goutte",
 +
    "fzaninotto/faker":                    "php-Faker",
 +
    "jms/parser-lib":                      "php-JMSParser",
 +
    "justinrainbow/json-schema":            "php-JsonSchema",
 +
    "kriswallsmith/assetic":                "php-Assetic",
 +
    "klaussilveira/gitter":                "php-gitter",
 +
    "michelf/php-markdown":                "php-markdown",
 +
    "mikey179/vfsStream":                  "php-mikey179-vfsstream",
 +
    "sabberworm/php-css-parser":            "php-PHP-CSS-Parser",
 +
    "sdboyer/gliph":                        "php-gliph",
 +
    "seld/jsonlint":                        "php-jsonlint",
 +
    "solarium/solarium":                    "php-solarium",
 +
    "twig/twig":                            "php-twig-Twig",
 +
    "zendframework/zendframework1":        "php-ZendFramework",
 +
 +
    "bartlett/php-compatinfo":              "php-bartlett-PHP-CompatInfo",
 +
    "bartlett/php-reflect":                "php-bartlett-PHP-Reflect",
 +
 +
    "sabre/dav":                            "php-sabre-dav",
 +
    "sabre/event":                          "php-sabre-event",
 +
    "sabre/http":                          "php-sabre-http",
 +
    "sabre/vobject":                        "php-sabre-vobject",
 +
 +
    "phploc/phploc":                        "php-phpunit-phploc",
 +
 +
    "phpunit/dbunit":                      "php-phpunit-DbUnit",
 +
    "phpunit/phpcov":                      "php-phpunit-phpcov",
 +
    "phpunit/php-code-coverage":            "php-phpunit-PHP-CodeCoverage",
 +
    "phpunit/php-file-iterator":            "php-phpunit-File-Iterator",
 +
    "phpunit/php-invoker":                  "php-phpunit-PHP-Invoker",
 +
    "phpunit/php-text-template":            "php-phpunit-Text-Template",
 +
    "phpunit/php-timer":                    "php-phpunit-PHP-Timer",
 +
    "phpunit/php-token-stream":            "php-phpunit-PHP-TokenStream",
 +
    "phpunit/phpunit":                      "php-phpunit-PHPUnit",
 +
    "phpunit/phpunit-mock-objects":        "php-phpunit-PHPUnit-MockObject",
 +
</pre>

Revision as of 12:30, 2 June 2014

  • php-packagist(xxx) vs php-composer(xxx)

As dicussed on IRC, I choose php-packagist which is only 1 composer repo (mostly the only one really used) for simplicity. Using "php-composer" will imply to also define the repository, so php-composer(repo/vendor/library), ex php-composer(packagist/fabpot/goutte).

[siwinski 2014-05-20] What about in the future if non-Packagist repos are needed? -- just like for pear, non-pear.php.net channels are used. For example, Zend Framework has it's own repo (https://packages.zendframework.com/#composer) as well as packagist, but what if in the future they change to a private-only composer repo or only offer certain pkgs from their private repo? Could php-composer(vendor/library) imply a default repo "packagist" if not provided just like php-pear(Console_Color2) implies default PEAR channel instead of php-pear(channelname/Console_Color2)

=> ok. php-composer(foo) used.

Notice, some packagist name to package name example (already in our repository)

    "fabpot/goutte":                        "php-goutte",
    "fzaninotto/faker":                     "php-Faker",
    "jms/parser-lib":                       "php-JMSParser",
    "justinrainbow/json-schema":            "php-JsonSchema",
    "kriswallsmith/assetic":                "php-Assetic",
    "klaussilveira/gitter":                 "php-gitter",
    "michelf/php-markdown":                 "php-markdown",
    "mikey179/vfsStream":                   "php-mikey179-vfsstream",
    "sabberworm/php-css-parser":            "php-PHP-CSS-Parser",
    "sdboyer/gliph":                        "php-gliph",
    "seld/jsonlint":                        "php-jsonlint",
    "solarium/solarium":                    "php-solarium",
    "twig/twig":                            "php-twig-Twig",
    "zendframework/zendframework1":         "php-ZendFramework",

    "bartlett/php-compatinfo":              "php-bartlett-PHP-CompatInfo",
    "bartlett/php-reflect":                 "php-bartlett-PHP-Reflect",

    "sabre/dav":                            "php-sabre-dav",
    "sabre/event":                          "php-sabre-event",
    "sabre/http":                           "php-sabre-http",
    "sabre/vobject":                        "php-sabre-vobject",

    "phploc/phploc":                        "php-phpunit-phploc",

    "phpunit/dbunit":                       "php-phpunit-DbUnit",
    "phpunit/phpcov":                       "php-phpunit-phpcov",
    "phpunit/php-code-coverage":            "php-phpunit-PHP-CodeCoverage",
    "phpunit/php-file-iterator":            "php-phpunit-File-Iterator",
    "phpunit/php-invoker":                  "php-phpunit-PHP-Invoker",
    "phpunit/php-text-template":            "php-phpunit-Text-Template",
    "phpunit/php-timer":                    "php-phpunit-PHP-Timer",
    "phpunit/php-token-stream":             "php-phpunit-PHP-TokenStream",
    "phpunit/phpunit":                      "php-phpunit-PHPUnit",
    "phpunit/phpunit-mock-objects":         "php-phpunit-PHPUnit-MockObject",