I am trying to install Swagger php for ubuntu from http://blog.nbostech.com/2016/01/integrating-swagger-ui-for-php-application/
In that link they ask me to run the following command - "php composer.phar require zircote/swagger-php".
When i give, "php composer.phar require zircote/swagger-php" in my terminal it says "Could not open input file: composer.phar". Due to this error i am unable to proceed swagger-php installation from above link.
I am in need of Support.
1) Install composer for your php. 2) Use meantioned command if composer was installed locally. 3) Use "composer require zircote/swagger-php" if composer is used globally.
4) Consult composer documenation for proper syntax if you use something different then Linux/MacOS.
Above commands have to be executed inside php project, which will be annotated