Download the PHP package thee-prime/wpflint-app without Composer
On this page you can find all versions of the php package thee-prime/wpflint-app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thee-prime/wpflint-app
More information about thee-prime/wpflint-app
Files in thee-prime/wpflint-app
Package wpflint-app
Short Description WPFlint WordPress plugin skeleton — start your plugin with composer create-project thee-prime/wpflint-app my-plugin
License MIT
Informations about the package wpflint-app
WPFlint Plugin Skeleton
The official project skeleton for WPFlint — a Laravel-inspired framework for WordPress plugins.
Quick Start
The setup wizard runs automatically and asks you:
Then it:
- Generates
my-shop.phpwith the correct WordPress plugin header - Stamps your namespace everywhere (
MyShop\Providers\AppServiceProvider, etc.) - Runs Strauss to prefix the framework under your namespace (
MyShop\WPFlint\...) — zero conflict when multiple WPFlint plugins are active - Optionally sets up the Claude Code MCP server for AI-assisted development
What you get
Routes
AJAX routes — routes/ajax.php
REST API routes — routes/api.php
Admin menus
Registered in AppServiceProvider::register_menus() via the AdminPage fluent builder:
Background jobs (queue)
- Uncomment
QueueServiceProviderinAppServiceProvider::register(). - Run
wp wpflint migrateto create the jobs tables. - Dispatch jobs anywhere in your plugin:
WP-CLI commands
All generator commands are available inside WordPress via WP-CLI:
Why Strauss?
Without Strauss, two plugins both using WPFlint would produce a PHP fatal error (Cannot redeclare class WPFlint\Application). Strauss copies the framework into vendor-prefixed/ and rewrites all namespaces to be scoped under your plugin:
Both plugins load their own isolated copy. No conflict, ever.
After setup
Activate My Shop in the WordPress admin and start building.
Requirements
- PHP 7.4+
- WordPress 5.9+
- Composer 2.x
License
MIT