Symfony Panther
wp-graphql
Symfony Panther | wp-graphql | |
---|---|---|
15 | 53 | |
2,886 | 3,603 | |
0.3% | 0.3% | |
5.5 | 9.7 | |
10 days ago | 4 days 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.
Symfony Panther
-
Any good resources on how to do “interaction” tests?
Use some library with WebDriver API (f.ex. Symfony Panther if you want to stick to PHP, or Playwright) to run tests against your WP backend
-
Any pro-tips for writing automated tests with Selenium PHP?
Personal experience: - don’t use Behat unless you really needed a “story telling”, it has a intermediate layer Gherkin that you’ll need to code. You can write “Given/When/Then” steps but you’ll also need to write “php code” that will interpret this step. - using real browser be prepared for instability - any interaction with JavaScript can broken/delay execution - be prepared that this tests are call functional they are the most expensive test, so start small unit then integration and only then functional. - use https://github.com/symfony/panther or https://codeception.com/ you’ll have phpunit alike interface to run them. - you’ll need to reset state of your database each time to provide “isolation” and stability
-
In your opinion, which existing PHP framework can become as popular as Symphony or Laravel?
For headless browser testing with symfony there is symfony panther (https://github.com/symfony/panther)
-
Seeking recommendation for image generation in PHP
I did something similar with Symfony Panther combined with ChromeDriver.
- Best PHP library options for scraping sites with JavaScript - Symfony Panther, Chrome-PHP, Mink, etc.?
-
How do you test your code ?
For tools, I use PHPUnit, Symfony's PHPUnit helper classes, and Panther (for frontend/headless-browser testing, mostly JS behavior)
-
Getting a DomDocument query failing
If you are comfortable with using composer and third party libraries I would suggest checking out https://github.com/symfony/panther
-
Browser automation question
I like this one recently https://github.com/symfony/panther
-
10+The Best PHP Projects GitHub 2022
Panther
-
Can I emulate a browser runtime environment in PHP?
What you're looking for is a package to control a "headless browser". The best one IMO is symfony/panther: https://github.com/symfony/panther
wp-graphql
-
Why Everyone Hates WordPress
Are you dead set on building a Nuxt + Vue application? Partial to NextJS like I am? Well good news everyone, WordPress has done a pretty decent job over the past couple of years building out the WordPress API and enabling developers to leverage WordPress as a Headless CMS. Pair that with the amazing WPGraphQL Pluginand you’re cooking with JavaScript. You get all the benefits of really solid backend CMS that end users are familiar with, and can grasp with a 1 hour CMS training, distributed using your favorite flavor of JavaScript.
-
Nuxt3, Wordpress and ACF Flexible content types
It's very easy to use when you use https://www.wpgraphql.com/ Here's an example of a repeatable component I set up using the repeater filled. It might help you.
-
redirect headless wordpress frontend without affecting API
I am using Headless Wordpress with https://www.wpgraphql.com/ for API hosted on SiteGround and Nextjs for frontend.
-
Looking for a plugin/codebase using which I can enter and save data which will then be available via the REST API
I think you might be looking for WPGraphQL
-
Why is does modern HTML/CSS seem so complex and convoluted? (details in comment)
- WPGraphQL
-
I made my own WordPress Plugin!
Look at other popular plugins to see what they do, and how that's different from what you did. For example browse a bit through https://github.com/wp-graphql/wp-graphql
-
How to fetch data from a GraphQL endpoint into a NextJS 13 server component using the native fetch() API
As you can see I'm getting all the posts from my Wordpress GraphQL endpoint and receiving the title, excerpt, slug and date fields, there's more I can get if I follow the GraphQL API for Wordpress documentation, but that's all I need for the demo.
-
Show HN: New GraphQL API for WordPress (1.5 years of development, 16000 commits)
How does this compare to WPGraphQL https://www.wpgraphql.com that's been around for quite some time (https://github.com/wp-graphql/wp-graphql)
Did you find shortcomings with that plugin?
-
how to add login for site owner and functions to add and remove media/text from website?
You can use wordpress as a backend and then hook up your frontend through a graphql api plugin.
-
Build and deploy site when wordpress data update.
You want to use WP as a headless CMS. Look at https://www.wpgraphql.com
What are some alternatives?
headless-chromium-php - Instrument headless chrome/chromium instances from PHP
faustjs - Faust.js™ - The Headless WordPress Framework
google-search-results-php - Google Search Results PHP API via Serp Api
elementor - The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
Goutte - Goutte, a simple PHP Web Scraper
wp-graphql-woocommerce - Add WooCommerce support and functionality to your WPGraphQL server
php-webdriver - PHP client for Selenium/WebDriver protocol. Previously facebook/php-webdriver
wordpress-popular-posts - WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
DiDOM - Simple and fast HTML and XML parser
objectbox-dart - Flutter database for super-fast Dart object persistence
laravel-totem - Manage Your Laravel Schedule From A Web Dashboard
wp-graphql-jwt-authentication - Authentication for WPGraphQL using JWT (JSON Web Tokens)