Skip to content

Packages

Optional Composer packages built on Anvil. They follow the conventions of Plugins: a bundle class for the panel, migrations, language files and views of their own. Each package has its own repository, version and documentation (docs/README.md in the repository).

Package Namespace What it adds Repository
rakoitde/anvil-sync AnvilSync Local mirrors of records of other systems, dry runs, run logs, a write-back outbox rakoitde/anvil-sync
rakoitde/anvil-idoit AnvilIdoit Connector to the i-doit CMDB: persons and objects mirrored, assignments and status written back; a row source for lookup repeaters rakoitde/anvil-idoit
rakoitde/anvil-migrate AnvilMigrate Moves legacy PHP applications to Anvil: schema inspection, scaffolding, repeatable import, verification, recordings of legacy behaviour as tests rakoitde/anvil-migrate

The namespaces are not below Anvil\: CodeIgniter looks up namespaced views by the last registered matching prefix, so a package Anvil\Sync would have its views searched in the library.

The packages are linked as path repositories during development, like the applications:

"repositories": [
{ "type": "path", "url": "../AnvilSync", "options": { "symlink": true } },
{ "type": "path", "url": "../AnvilIdoit", "options": { "symlink": true } }
],
"require": {
"rakoitde/anvil-sync": "@dev",
"rakoitde/anvil-idoit": "@dev"
}
Terminal window
composer update rakoitde/anvil-sync rakoitde/anvil-idoit
php spark migrate -n AnvilSync
php spark migrate -n AnvilIdoit