Open robmellett opened 2 years ago
Hi @robmellett ,
you're right, it seems composer no longer correctly installs the binary. Code generation itself should still be possible; I'll look into why the install is broken. You can manually add the file, though: https://github.com/contentful/contentful-management.php/blob/master/bin/contentful-management
I'll ping you once I have a solution ready & released :)
Thanks @Sebb767!
@robmellett did you ever get code generation to work? I tried the recommendation above but still do not get any files generated and no errors thrown.
Try:
php vendor/contentful/contentful-management/bin/contentful-management
Hi there,
I stumbled upon this blog post https://contentful.com/developers/docs/php/tutorials/generating-entry-classes-based-on-content-types-management-sdk/
I was following along the instructions and installed
However I receive the following error when running
Error
Could not open input file: vendor/bin/contentful-management
I was just wondering if it's still possible to generate Entities with this library?
Any suggestions would be much appreciated!
Thanks, Rob