symfony 3 knp paginator composer file not found
This usually happen when you use a globally installed composer.phar
files. So You should (1) locate the absolute path of the installed composer file then (2) use the absolute path in the php usage, as example:
~ ᐅ php -d memory_limit=-1 composerCould not open input file: composer~ ᐅ which composer/usr/local/bin/composer~ ᐅ php -d memory_limit=-1 /usr/local/bin/composer ______ / ____/___ ____ ___ ____ ____ ________ _____ / / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___// /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/ /_/Composer version 1.4.1 2017-03-10 09:29:45
Hope this help