helsingborg-stad / api-exhibition-manager
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=8.2
- helsingborg-stad/acf-export-manager: ^1.0.12
- helsingborg-stad/wpservice: ^2.0
Requires (Dev)
- helsingborg-stad/phpcs: ^0.2.2
- php-stubs/wordpress-stubs: ^6.8
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.5
README
Creates WordPress Rest API endpoints for exhibition events.
Devcontainer
This project uses a devcontainer for development. This means that you can use VS Code to develop the project. To use the devcontainer, you need to install the Remote - Containers extension for VS Code. When you have installed the extension, you can open the project in a container by clicking the green button in the bottom left corner of VS Code and select "Remote-Containers: Reopen in Container".
Running PHPUnit tests
Run composer test
in the terminal.
Running PHPUnit tests with code coverage
Run composer test:coverage
in the terminal. This will generate a code coverage report in the tests/phpunit/.coverage
folder.