PoP is a monorepo containing several projects.
GraphQL API for WordPress is a forward-looking and powerful GraphQL server for WordPress.
Plugins can extend the GraphQL schema, to fetch their own data.
GraphQL by PoP is a CMS-agnostic GraphQL server in PHP.
- Website: graphql-by-pop.com
- Source code
PoP is a set of libraries which provide a server-side component model in PHP, and the foundation to implement applications with it.
- Website: getpop.org
- Source code:
- Backbone: Libraries providing the architectural scaffolding.
- Engine: The engine of the application.
- Schema: Self-sufficient schema elements, such as directives.
- CMSSchema: Schema elements abstracted away from the CMS through interfaces, and to be satisfied for some particular CMS.
- WPSchema: WordPress-specific schema elements.
- API: Packages to access the schema data through an API, including REST and GraphQL.
Site Builder is a set of PHP components to build a website using PoP's component-model architecture.
Similar to WordPress, it accepts themes.
- Wassup: theme powering sites MESYM and TPP Debate
- Setting-up the development environment
- Running tests
- Repo visualization
- Layer dependency graph
- Supported PHP features
- How is the GraphQL server CMS-agnostic
- Why are there so many packages in the repo
- Why a monorepo
- How transpiling works
- How scoping works
- Installing the GraphQL API for WordPress plugin
To check the coding standards via PHP CodeSniffer, run:
composer check-style
To automatically fix issues, run:
composer fix-style
To execute PHPUnit, run:
composer test
To execute PHPStan, run:
composer analyse
Via Rector (dry-run mode):
composer preview-code-downgrade
Use the issue tracker to report a bug or request a new feature for all packages in the monorepo.
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email leo@getpop.org instead of using the issue tracker.
GNU General Public License v2 (or later). Please see License File for more information.