Installation
Spot uses Composer to install and update:
The Spot source code is available on GitHub, and can be cloned into your project via git, or downloaded directly as a ZIP archive.
Installing Composer
If you don’t have composer installed, you can do so with the command:
Manual Installation
If you would rather install Spot manually, just open up your composer.json
file, and add vlucas/spot2
to the require
section:
Autoloading
If you are already using Composer to manage your other dependencies, you have nothing more to do - Spot uses Composer’s autoloader, so all of Spot’s classes are available to you now.
If you haven’t already setup Composer’s autoloader, require it in your project:
Composer’s basic usage guide is very useful if you need further help with composer.