pollora/framework
最新稳定版本:v13.4.0
Composer 安装命令:
composer create-project pollora/framework
包简介
Laravel & WordPress blend for coding as sweet as honey. Join the hive!
README 文档
README
About Pollora Framework
Pollora is a framework that bridges Laravel and WordPress, combining Laravel's architecture patterns with WordPress's content management capabilities. It allows developers to use Laravel's service providers, dependency injection, Blade templates, and Eloquent ORM while maintaining full WordPress functionality.
Key Features
- WordPress routing via
Route::wp()with template hierarchy support - PHP attributes for hooks (
#[Action],#[Filter]), post types (#[PostType]), taxonomies (#[Taxonomy]), scheduling (#[Schedule]), and REST routes (#[WpRestRoute]) - Auto-discovery system that scans and registers components automatically
- Blade templates with Sage Directives for WordPress data
- Theme system with dynamic PSR-4 autoloading, parent/child theme support, and Vite asset management
- WordPress authentication guard and password hashing integration
- Event dispatching for WordPress core, WooCommerce, Gravity Forms, and Yoast SEO
- Module system via nwidart/laravel-modules
Documentation
Full documentation is available at github.com/Pollora/documentation.
Installation
Pollora is installed via the skeleton project:
composer create-project pollora/pollora my-project
See the skeleton README for detailed setup instructions.
Requirements
- PHP ^8.3
- Laravel 13.x
- WordPress 6.9+
Testing
composer test # Run all checks (Rector, Pint, PHPStan, Pest) composer test:unit # Run Pest tests with 100% coverage requirement composer test:types # Run PHPStan static analysis composer test:lint # Check code style with Pint composer test:refacto # Check refactoring rules with Rector
Contributing
Please see CONTRIBUTING.md for details.
Security
If you discover a security vulnerability, please report it via GitHub Security Advisories. See SECURITY.md for details.
Changelog
All notable changes are documented in CHANGELOG.md.
License
Pollora is open-sourced software licensed under the GPL-2.0-or-later.
统计信息
- 总下载量: 3.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-10-21