https://github.com/polylang/wp-all-import-pro-stubs
WP All Import Pro Stubs
https://github.com/polylang/wp-all-import-pro-stubs
Last synced: 3 months ago
JSON representation
WP All Import Pro Stubs
- Host: GitHub
- URL: https://github.com/polylang/wp-all-import-pro-stubs
- Owner: polylang
- License: gpl-3.0
- Created: 2021-06-24T13:52:45.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-05T13:11:26.000Z (almost 5 years ago)
- Last Synced: 2025-12-14T05:36:42.669Z (7 months ago)
- Language: PHP
- Size: 337 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WP All Import Pro Stubs
This package provides stub declarations for [WP All Import Pro](https://www.wpallimport.com/).
These stubs can help plugin and theme developers leverage static analysis tools like [PHPStan](https://phpstan.org/).
Stubs are generated directly from the source using [giacocorsiglia/stubs-generator](https://github.com/GiacoCorsiglia/php-stubs-generator).
## Requirements
- PHP >=7.1
## Installation
Require this package as a development dependency with Composer.
```bash
composer require --dev wpsyntex/wp-all-import-pro-stubs
```
## Usage in PHPStan
Include the stubs in the PHPStan configuration file.
```yaml
parameters:
bootstrapFiles:
- vendor/wpsyntex/wp-all-import-pro-stubs/wp-all-import-pro-stubs.php
```