fokke/pw-json-api

ProcessWire JSON API

Fund package maintenance!
Fokke-

1.0.0-beta.10 2025-06-12 14:31 UTC

README

NOT READY FOR PRODUCTION USE

Click here for documentation

Tests

DDEV must be installed in order to run tests. See https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/

Running this command starts the container, imports the database and runs the tests. The container will keep running after the tests are complete.

composer run test

Stop the container

ddev stop

Admin panel of the test environment

The admin panel can be accessed at https://pw-json-api.ddev.site.

  • User: testuser
  • Pass: testuser

Exporting database

# While the container is running
composer run export-test-db

The database dump will be saved to ./tests/fixtures/test-db.sql.gz