wordpress-stubs
graphql-api-for-wp
Our great sponsors
wordpress-stubs | graphql-api-for-wp | |
---|---|---|
2 | 13 | |
131 | 152 | |
2.3% | - | |
8.0 | 0.0 | |
10 days ago | 12 months ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wordpress-stubs
- wp-env IDE setup
-
๐พ GraphQL API for WordPress is now scoped, thanks to PHP-Scoper!
return [ 'patchers' => [ function ( $file_path, $prefix, $contents ) { /* * There is currently no easy way to simply whitelist all global WordPress functions. * * This list here is a manual attempt after scanning through the AMP plugin, which means * it needs to be maintained and kept in sync with any changes to the dependency. * * As long as there's no built-in solution in PHP-Scoper for this, an alternative could be * to generate a list based on php-stubs/wordpress-stubs. devowlio/wp-react-starter/ seems * to be doing just this successfully. * * @see https://github.com/humbug/php-scoper/issues/303 * @see https://github.com/php-stubs/wordpress-stubs * @see https://github.com/devowlio/wp-react-starter/ */ $contents = str_replace( "\\$prefix\\_doing_it_wrong", '\\_doing_it_wrong', $contents ); $contents = str_replace( "\\$prefix\\__", '\\__', $contents ); $contents = str_replace( "\\$prefix\\esc_html_e", '\\esc_html_e', $contents ); $contents = str_replace( "\\$prefix\\esc_html", '\\esc_html', $contents ); $contents = str_replace( "\\$prefix\\esc_attr", '\\esc_attr', $contents ); $contents = str_replace( "\\$prefix\\esc_url", '\\esc_url', $contents ); $contents = str_replace( "\\$prefix\\do_action", '\\do_action', $contents ); // ... } ] ]
graphql-api-for-wp
-
Top ways to write a custom GraphQL Server with production ready features
GraphQL API for WordPress
-
Mutation, of custom field in wordpress
There's another GraphQL plugin you can check, maybe it will work better: https://graphql-api.com/
-
๐จ๐ปโ๐ป Demoing the GraphQL API for WordPress
Alongside, I did a demo of the GraphQL API for WordPress plugin. It's all me showing how to use the plugin in the wp-admin, for some 30 min.
-
๐ถ๐ป Rejuvenating WordPress through GraphQL
For plugin GraphQL API for WordPress I have chosen the latter approach, attempting to create a GraphQL schema that, even though it is based on WordPress and works for WordPress, it is not tied to WordPress (for instance, by removing inconsistent names and relationships).
-
๐พ GraphQL API for WordPress is now scoped, thanks to PHP-Scoper!
I just finished coding this same website, graphql-api.com, and launched it 2 weeks ago (yay! ๐ฅณ Btw, how do you like it? Be welcome to give me feedback, via DM or email)
-
๐ท๐ฝโโ๏ธ Building the GraphQL API in the Open #1 (March '21)
This is a channel to share news concerning the development of the GraphQL API for WordPress with the community, sent the first week of each month.
-
Leaving Wordpress for a new career path
Yep, this is all good, and then there's also headless WordPress, as to have WP in the back-end to manage the data, but use React to build the client-side, having the 2 communicate via the WP REST API (in core), or [WPGraphQL] or the GraphQL API for WordPress (plugins that must be installed).
-
What is the best way to embed a React app into a WordPress site?
GraphQL + Persisted queries via the GraphQL API for WordPress plugin
-
Any fresh suggestions/workflows/recos for headless wordpress with React?
You can try out the GraphQL API for WordPress: https://graphql-api.com
-
Demoing the GraphQL API for WordPress
Yesterday I presented plugin GraphQL API for WordPress in WordCamp India, with a 30-min demo that covers:
What are some alternatives?
phpstan-wordpress - WordPress extensions for PHPStan โ๏ธ
wordpress-seo - Yoast SEO for WordPress
mozart - Developers tool for WordPress plugins: Wraps all your projects dependencies in your own namespace, in order to prevent conflicts with other plugins loading the same dependencies in different versions.
web-stories-wp - Web Stories for WordPress
async-graphql - A GraphQL server library implemented in Rust
wp-react-starter - ๐WordPress Plugin Boilerplate using modern web techs like TypeScript, SASS, and so on... on top of a local development environment with Docker and predefined GitLab CI for continous integration and deployment!
faustjs - Faust.jsโข - The Headless WordPress Framework
Symfony Dotenv - Registers environment variables from a .env file
wp-graphql - :rocket: GraphQL API for WordPress
monorepo-builder - Composer tools to maintain a monorepo
wp-graphql-woocommerce - Add WooCommerce support and functionality to your WPGraphQL server