pollora/framework
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.
pollora/framework 适用场景与选型建议
pollora/framework 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.35k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 10 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 pollora/framework 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pollora/framework 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3.35k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 28
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-10-21