I came across this one, when I got the error that the url generator package is missing. AlthoughI had the puli/url-generator package installed and get the warning about a non-installed url-generator - huh? My problem was I didn't pass the url-generator as second parameter to the PuliExtension.
Before: new PuliExtension($repo)
After: new PuliExtension($repo, $discovery)
Also docs don't mention the second parameter as required for use in conjunction with resource_url() twig function. I think you find a smart solution to that :smiley:
I came across this one, when I got the error that the url generator package is missing. AlthoughI had the
puli/url-generator
package installed and get the warning about a non-installed url-generator - huh? My problem was I didn't pass the url-generator as second parameter to thePuliExtension
.Before:
new PuliExtension($repo)
After:new PuliExtension($repo, $discovery)
Also docs don't mention the second parameter as required for use in conjunction with
resource_url()
twig function. I think you find a smart solution to that :smiley:Ref #98