apiki / wpsteak-plugin
A fully structured WordPress plugin.
Installs: 68
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 1
Forks: 5
Open Issues: 39
Type:wordpress-plugin
Requires
- php: >=7.4
- apiki/wpsteak: 0.1.2
- composer/installers: 1.11.0
- league/container: 3.3.5
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: 0.7.1
- edgedesign/phpqa: ^1.24.0
- nette/neon: 3.2.2
- php-stubs/wordpress-stubs: 5.7.1
- phpcompatibility/phpcompatibility-wp: 2.1.1
- phpunit/phpunit: 9.5.4
- slevomat/coding-standard: 7.0.8
- szepeviktor/phpstan-wordpress: 0.7.5
- vimeo/psalm: 4.7.3
- wp-coding-standards/wpcs: 2.3.0
- dev-master
- 3.1.11
- 3.1.10
- 3.1.9
- v3.1.8
- v3.1.7
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.1
- v3.0.0
- v2.1.1
- v2.1.0
- v2.0.0
- v1.0.1
- v1.0.0
- v0.2.0
- v0.1.0
- dev-renovate/babel-monorepo
- dev-renovate/eslint-plugin-react-7.x
- dev-renovate/eslint-plugin-jsx-a11y-6.x
- dev-renovate/eslint-plugin-import-2.x
- dev-dependabot/npm_and_yarn/word-wrap-1.2.4
- dev-dependabot/npm_and_yarn/stylelint-15.10.1
- dev-renovate/npm-loader-utils-vulnerability
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-2.0.4
- dev-renovate/husky-4.x
- dev-renovate/node-wp-i18n-1.x
- dev-dependabot/npm_and_yarn/socket.io-parser-3.3.3
- dev-dependabot/composer/twig/twig-3.4.3
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/shell-quote-1.7.3
- dev-renovate/cycjimmy-semantic-release-action-2.x
- dev-renovate/npm-node-sass-vulnerability
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/node-sass-7.0.0
- dev-dependabot/npm_and_yarn/nanoid-3.2.0
- dev-renovate/stylelint-scss-3.x
- dev-renovate/eslint-7.x
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/ws-7.4.6
- dev-renovate/apiki-wpsteak-1.x
- dev-renovate/wordpress-monorepo
- dev-renovate/sass-loader-9.x
- dev-renovate/cross-env-7.x
- dev-renovate/style-loader-1.x
- dev-renovate/file-loader-6.x
- dev-renovate/browser-sync-webpack-plugin-2.x
- dev-renovate/webpack-4.x
- dev-renovate/cz-conventional-changelog-3.x
- dev-renovate/eslint-config-airbnb-18.x
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-develop
This package is auto-updated.
Last update: 2025-03-11 19:11:05 UTC
README
Features
- All advantages from WPSteak
- Dependency injection container;
- Ready for unit tests with PHPUnit;
- PHP CodeSniffer configured with WordPress Coding Standards;
- Wonderful resources processing configuration extracted from wpemerge-theme;
- PHP PSR-4 autoloading for all your source code and tests;
Requirements
- PHP >= 7.4
- Composer
Quickstart
- Browse to
wp-content/plugins
. - Run
composer create-project apiki/wpsteak-plugin your-plugin-name
.
Directory structure
. ├── dist/ # Bundles, optimized images etc. ├── languages/ # Language files. ├── resources/ # Build process configuration, Scripts, Styles, etc. ├── src/ # PSR-4 autoloaded classes. │ ├── Entities/ # Classes for using on data mapper. │ │ ├── Categories.php │ │ ├── Category.php │ │ ├── ExampleCategory.php │ │ ├── Example.php │ │ ├── Examples.php │ │ ├── Page.php │ │ ├── Post.php │ │ ├── Posts.php │ │ ├── Tag.php │ │ └── Tags.php │ ├── Providers/ # Your hooks declarations. │ │ ├── Assets │ │ │ ├── Admin.php │ │ │ ├── Editor.php │ │ │ ├── Login.php │ │ │ └── Theme.php │ │ ├── Example │ │ │ ├── PostMeta.php │ │ │ └── PostType.php │ │ └── ExampleCategory │ │ └── Taxonomy.php │ ├── Repositories/ # Where you put your data handle (includes API). │ │ ├── Category.php │ │ ├── Example.php │ │ ├── Page.php │ │ ├── Post.php │ │ └── Tag.php │ ├── Services/ # Where your business logic goes on. │ └── Widgets/ # Widget classes. ├── tests/ # PHP Unit tests. ├── views/ # View files used for metaboxes, shortcodes, etc. ├── config.json.dist ├── config.php # Where your providers and services providers will be loaded. └── wpsteak.php # Bootstrap plugin.