Orbis Organizations self-updates
WordPress plugin for Orbis that adds organizations (companies, associations, foundations and more) and links them to projects, persons and subscriptions.
by Pronamic · github.com/pronamic/wp-orbis-organizations · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/pronamic/wp-orbis-organizations/archive/refs/heads/main.zipShips its own WordPress updater (Update URI header), so new versions show up under Dashboard → Updates.
The Orbis Organizations plugin extends your Orbis environment with the option to manage organizations.
This plugin is the successor of the Orbis Companies plugin.
Requirements
- PHP 8.3+
- WordPress 7.1+
- Posts 2 Posts (for connecting persons and users to organizations)
- Composer
- Node.js / npm
Installation
composer install
npm install
Development
This plugin follows the SolveBeam WordPress Plugin Boilerplate conventions.
Local environment (wp-env)
npx wp-env start
npx wp-env stop
The .wp-env.json maps the plugin twice into the WordPress environment:
| Mount path | Source | Purpose |
|---|---|---|
wp-content/plugins/orbis-organizations-dev |
./ |
Live development (including dev files) |
wp-content/plugins/orbis-organizations |
./build/orbis-organizations/ |
Built distribution version |
Build
composer run build
Deploy
vendor/bin/dep deploy
Translations
composer run make-pot
Linting & analysis
composer run phpcs
composer run phpstan
composer run rector
composer run qa
stubs/posts-to-posts.php provides the Posts 2 Posts functions for PHPStan.
Data model
| Type | Key |
|---|---|
| Post type | orbis_organization |
| Database table | {$wpdb->prefix}orbis_organizations |
| Post meta (Orbis ID) | _orbis_organization_id |
| Posts 2 Posts connections | orbis_persons_to_organizations, orbis_users_to_organizations |
License
GPL-2.0-or-later