fokke/pw-json-api

ProcessWire JSON API

Maintainers

Package info

github.com/Fokke-/pw-json-api

pkg:composer/fokke/pw-json-api

Fund package maintenance!

Fokke-

Statistics

Installs: 115

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 0

2.1.0 2026-03-16 21:43 UTC

README

Structured APIs for ProcessWire, without the boilerplate.

Click here for documentation

For AI-assisted development, see llms.txt.

Tests

DDEV (>= 1.25.1) 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