Supported commands:
- Migrate Circle Shares: PHP script to migrate all shares to nextcloud circles, which get replaced by shares to the individual circle members. The script writes all migrated shares into CSV files.
- Create Calendar Shares: Share all calendars to a single user
Create .env.local
file and set database connection params.
cp .env .env.local
- List all commands
php app.php
- Run migration
php app.php migrate
Install all dependencies including dev dependencies:
composer i
Install first all dependencies like in the section before. Also make sure to set up a mysql database. This is not included in the test setup. Then run all tests:
vendor/bin/phpunit tests
Skip dev dependencies during installation:
composer i --no-dev