Skip to main content

Posts

Showing posts with the label Composer

How to Install and use phpDocumentor

If you have Windows, and are running WAMP, this is the step by step installation guide to getting phpDocumentor to work. This write-up assumes that you have WAMP installed and working. Download Composer from  https://getcomposer.org/ Run through the installation with the default settings. It will locate php for you automatically. If you're having any issues with the install, Google the response. There shouldn't be any errors though. If you have CMD opened, close it now. Open CMD and type in composer . If something starts happening, Composer is installed correctly. Go to the directory that you want to install phpDocumentor . In your project directory, create a JSON file. Name it, composer.json and add the following code to it { "require-dev" : { "phpdocumentor/phpdocumentor" : "2.*" } } For example, let's say that your project directory is located in C:/wamp/www/your_project , you're going to want to open CM...