Skip to content

Commit 21cfd0d

Browse files
committed
docs(readme): Update readme
1 parent 82e62c3 commit 21cfd0d

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
11
# Using Guzzle in a WordPress plug-in with PHP-Prefixer
22

3-
Using Guzzle in a WordPress plug-in with PHP-Prefixer
3+
**Using prefixed Guzzle with PHP-Prefixer** plug-in for WordPress. A plug-in to showcase the PHP-Prefixer service and how to use Guzzle in the WordPress Ecosystem.
4+
5+
## About the Plugin
6+
7+
A plug-in to integrate Guzzle, PHP HTTP client, in a WordPress plug-in with PHP-Prefixer. The plug-in shows a number fact from numbersapi.com using Guzzle as HTTP client. It is inspired by the Hello Dolly plug-in.
8+
9+
## About PHP-Prefixer
10+
11+
It’s super quick to get a [PHP-Prefixer](https://php-prefixer.com/) project up and running. Install any library freely. PHP-Prefixer will manage your namespaces.
12+
13+
- **Use the same libraries across all platforms**: Develop your solutions using the same libraries for all the platforms you work in, specifically WordPress, Joomla, Drupal, Laravel, Symfony, Slim Framework, etc.
14+
- **Composer + WordPress**: Use Composer for your WordPress projects. PHP-Prefixer will process the dependencies to run smoothly along with other third-party plug-ins.
15+
- **Fully integrated with Git**: Declare your name space configuration and let the service produce the packages. No local installation. No Phars. No new dependencies.
16+
17+
## About Guzzle, PHP HTTP client
18+
19+
Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. For more information, please, visit <https://docs.guzzlephp.org/en/stable/index.html>
20+
21+
22+
## References
23+
24+
- Blog: [New Tutorial: Using PHP Composer in the WordPress Ecosystem](https://blog.php-prefixer.com/2020/10/23/new-tutorial-using-php-composer-in-the-wordpress-ecosystem/)
25+
- Documentation: [How to Prefix a WordPress Plugin](https://php-prefixer.com/docs/guides/how-to-prefix-wordpress-plugin/)
26+
27+
## License
28+
29+
MIT License
30+
31+
## Copyright
32+
33+
Copyright (c) 2021 Desarrollos Inteligentes Virtuales, SL

0 commit comments

Comments
 (0)