When active this plugin pluralizes all post titles on display. For example: a post titled "Apple", would display as "Apples"
This plugin has little use on its own but is intended as a demonstration of adding third-party code to a plugin using Composer.
When you try to activate this plugin, you may see error messages like
Warning: require(vendor/autoload.php): failed to open stream: No such file or directory
and/or
Fatal error: require(): Failed opening required 'vendor/autoload.php'
This is because there is third-party code that is not included in this repository.
- Install Composer,
my short version from the command line on a Mac is
curl -sS https://getcomposer.org/installer | php;mv composer.phar /usr/local/bin/composer
- Load the third-party code as defined in composer.json by running
composer install
from the root directory of this plugin
Now the third-party code is added in the directory vendor/
within the plugin
along with auto-loading code that the plugin takes advantage of.
This plugin was initially created by Sal Ferrarello (@salcode) as part of his 2015 WordCamp Philly presentation Getting Started with Composer.
You may also want to read Sal's posts on Composer