ClassifAI Plugin Installation
Manual Installation
1. Download or Clone this repo, install dependencies and build
git clone https://github.com/10up/classifai.git && cd classifai
composer install && npm install && npm run build
2. Activate Plugin
Installation via Composer
ClassifAI releases can be installed via Composer.
1. Update composer.json
Instruct Composer to install ClassifAI into the plugins directory by adding or modifying the "extra" section of your project's composer.json file to match the following:
"extra": {
"installer-paths": {
"plugins/{$name}": [
"type:wordpress-plugin"
]
}
}
Add this repository to composer.json, specifying a release version, as shown below:
"repositories": [
{
"type": "package",
"package": {
"name": "10up/classifai",
"version": "3.4.0",
"type": "wordpress-plugin",
"dist": {
"url": "https://github.com/10up/classifai/archive/refs/tags/3.4.0.zip",
"type": "zip"
}
}
}
]
Finally, require the plugin, using the version number you specified in the previous step:
"require": {
"10up/classifai": "3.4.0"
}
After you run composer update
, ClassifAI will be installed in the plugins directory with no build steps needed.