Closed emembeka closed 4 years ago
In the early days of SnakeDumper I considered this project as a project dependency as well, but imho it should not become a regular composer dependency, as it will interfere with actual project dependencies.
I think it would be better to install it separately or use the phar file (maybe I can create a package that installs the phar, similar to e.g. phpstan).
I am fine with merging the PR if you really want to, but I would recommend to install it not as a project dependency :)
Hi digilist, yes, for me it is important, so I really like to have it included.
imho Managing the snake dumper as external dependency in a composer project makes it easier to keep the changes of this project inside a git-repository.
All right, I just merged the PR :)
:-) Thank you
Hi, I'm trying to install the SnakeDumper as a library inside an exististing project with
> composer require digilist/SnakeDumper
Unfortunately the command
vendor/bin/snakedumper
cannot be executed because the autoload is not found.I adjusted the executable by shamelessly copying the code from vendor/bin/doctrine-dbal which checks two locations for the autoloader. Now it can be executed correctely. A pull request will follow soon.