faustjs
php-scoper
Our great sponsors
faustjs | php-scoper | |
---|---|---|
21 | 2 | |
1,337 | 671 | |
1.7% | 0.6% | |
9.3 | 8.8 | |
6 days ago | 6 days ago | |
TypeScript | PHP | |
GNU General Public License v3.0 or later | MIT License |
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.
faustjs
-
A Warning Regarding Gatsby Cloud
Yeah, in hindsight, we would have used Next/Vercel. So we're tactically moving over to that. There are many new frameworks, like Astro, that are really exciting, but it seems like Next is the best choice if you have a data-heavy app that has a dynamic mix of SSR and static pages. For Wordpress in particular, I'd recommend that you check out Faust.js. It's build with Next and I'm amazed by how well it works with Wordpress without much effort: https://faustjs.org/
-
Looking for some advice! Currently working in wordpress to built some sites for clients. Looking to make a change and reading up on next.js and seems like it could be a great solution but is there a CMS that is comparable to Wordpress from a client making content updates standpoint?
https://faustjs.org is a great headless Wordpress solution for Nextjs. I've tried several CMS solutions and ultimately WordPress is invariably the friendliest option from a client perspective.
- Recommendations for Wordpress with NodeJS or other
-
Next.js - WordPress headless
I'm working through a large project where we're leveraging WordPress and Next.js. Check out Faust.js (https://faustjs.org/) which works as a layer to handle a lot of the query/template/routing stuff that maybe isn't super-intuitive when trying to hook WordPress up headlessly...
-
Why is does modern HTML/CSS seem so complex and convoluted? (details in comment)
- FaustJS (built for headless WP on NextJS w/ full site editing capabilities)
- Wha t headless CMS are you using for your clients?
-
Working with the Apollo Client in Faust.js
Faust.js is the front-end JavaScript framework built on top of Next.js, created to make developing headless WordPress sites easier. The idea of this new version is to make a parity between the WordPress world that a developer might be used to but replicate it as much as possible in the JavaScript front-end world.
-
Who is WordPress now for?
This is where it started. Then there is also Faustjs started by WPEngine. https://faustjs.org/
- I'm building a new frontend for my Wordpress site in Next js
-
[AskJS] What framework to use?
https://faustjs.org/ built specifically for headless WP
php-scoper
-
🍾 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 ); // ... } ] ]
-
👷🏽♂️ Building the GraphQL API in the Open #1 (March '21)
🍾 GraphQL API for WordPress is now scoped, thanks to PHP-Scoper! describes a strategy to scope a WordPress plugin using PHP-Scoper, as to avoid conflicts with other plugins.
What are some alternatives?
wp-graphql - :rocket: GraphQL API for WordPress
builder - Drag and drop headless CMS for React, Vue, Svelte, Qwik, and more
wordpress-seo - Yoast SEO for WordPress
nextjs-wordpress - 💀 It's headless WordPress!
monorepo-builder - Composer tools to maintain a monorepo
GatoGraphQL - Interact with all your data in WordPress using GraphQL
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!
react-notion - A fast React renderer for Notion pages
site-kit-wp - Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
graphql-api-for-wp - [READ ONLY] GraphQL API 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.