neos / composer-plugin
Flow Composer Plugin
Fund package maintenance!
shop.neos.io/neosfunding
Installs: 1 565 926
Dependents: 8
Suggesters: 0
Security: 0
Stars: 11
Watchers: 6
Forks: 5
Open Issues: 0
Type:composer-plugin
Requires
- php: ^7.1 || ^8.0
- composer-plugin-api: ^1.0 || ^2.0
Conflicts
README
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}