neos/composer-plugin

Flow Composer Plugin

Fund package maintenance!
shop.neos.io/neosfunding

Installs: 1 525 104

Dependents: 8

Suggesters: 0

Security: 0

Stars: 11

Watchers: 6

Forks: 5

Open Issues: 0

Type:composer-plugin

2.1.3 2021-12-08 07:52 UTC

This package is auto-updated.

Last update: 2024-11-04 17:08:35 UTC


README

Latest Stable Version License

Flow Composer Plugin

This package provides a custom installer plugin for Composer which handles the specialities of installing Flow packages.

It will handle packages that have a type of neos-* or typo3-flow-*.

Package package name

The Flow package name for a given package is determined like this, on order:

  • composer manifest extras.installer-name
  • first PSR-0 autoloading namespace
  • first PSR-4 autoloading namespace
  • Composer manifest extras.neos.package-key
  • Composer package name (Does not work in all cases but common cases should be fine – foo/bar => Foo.Bar, foo/bar-baz => Foo.Bar.Baz)

Installation location

Where the package will be installed, depends on the Composer type suffix:

  • plugin go into Packages/Plugins/{flowPackageName}
  • site go into Packages/Sites/{flowPackageName}
  • boilerplate go into Packages/Boilerplates/{flowPackageName}
  • build go into Build/{flowPackageName}
  • package go into Packages/Application/{flowPackageName}
  • package-collection go into Packages/{flowPackageName}
  • * go into Packages/{camelCasedType}/{flowPackageName}