{"repo":"php-stubs/woocommerce-stubs","free":true,"listed":false,"github":"https://github.com/php-stubs/woocommerce-stubs","clone":"git clone https://github.com/php-stubs/woocommerce-stubs.git","description":"WooCommerce function and class declaration stubs for static analysis","language":"PHP","stars":96,"topics":["woocommerce","wordpress","static-analysis","stubs","phpstan","definitions"],"license":"MIT","category":"dev-tools","readme_excerpt":"[!IMPORTANT] Hello everyone! This is Viktor who runs the php-stubs organization. I am planning to stop contributing to the WordPress ecosystem because it is extremely difficult and I do not earn (min) €100/month. Please support my work to avoid abandoning this package. Thank you! WooCommerce Stubs This package provides stub declarations for the WooCommerce plugin functions, classes and interfaces. These stubs can help plugin and theme developers leverage IDE completion and static analysis tools like PHPStan. The stubs are generated directly from the source using php-stubs/generator. Requirements - PHP =7.1 Installation Require this package as a development dependency with Composer. Alternatively you may download woocommerce-stubs.php directly. Usage in PHPStan Include stubs in PHPStan configuration file. Support package maintenance Please consider supporting this work. Thank you!","default_branch":null,"files":null,"tree":[],"storefront":"/r/php-stubs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/php-stubs/woocommerce-stubs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}