slugify
slugify copied to clipboard
Symfony Flex Recipe
The bundle integrates nicely with Symfony, but I discovered setup has to be done manually. Maybe the maintainer can add Symfony Flex recipe for 4.x integration?
The package type is library
. A Symfony Flex recipe only works when packages are type of symfony-bundle
(among other validation rules).
@Spomky but it is shipped with a bundle implementation, so a receipe would be a great idea!
Sure it is a great idea.
What I wanted to highlight is that you cannot create a Flex receipe using this library as-is unless the package type is changed from library
to symfony-bundle
.
@Spomky I can only add one type to composer.json
, right? The problem is that this repo is not only a symfony-bundle
that offers integrations to a bunch of different frameworks. Labelling as a symfony-bundle
in Composer would confuse more people than it helps, I think.
A Symfony Flex recipe only works when packages are type of symfony-bundle
but only
if a bundle is registered in the manifest
PHP CS Fixer has recipe beign library
.
Hey, the symfony bundle version will be available soon. But a flex recipe is not recommended, if the bundle has no configuration. This new bundle will have the same configuration as now, but it'll have no default configuration. See https://github.com/symfony/recipes.