getpop/resources
Composer 安装命令:
composer require getpop/resources
包简介
Resources for the website (CSS, JS files)
README 文档
README
Resources for the website (CSS, JS files)
Install
Via Composer
composer require getpop/resources
Development
The source code is hosted on the GatoGraphQL monorepo, under SiteBuilder/packages/resources.
Usage
Initialize the component:
\PoP\Root\App::stockAndInitializeModuleClasses([([ \PoP\Resources\Module::class, ]);
Architecture foundations
Layouts are rendered through custom-built reactivity, based on observing a unique JavaScript object (which contains database and configuration data).
The view is implemented through Handlebars templates, which can be loaded both in the client (through the Handlebars runtime) and in the server (through PHP library LightnCandy). This approach is isomorphic: the same code works on both environments.
Implementation coming soon.
Main Concepts
Rendering through JavaScript templates
Will be added soon...
Isomorphic Server-Side Rendering
Will be added soon...
Reactivity
Will be added soon...
Architecture Design and Implementation
Dataloading
Dataloading Modules
Handlebars
Will be added soon...
LightnCandy
Will be added soon...
Code Splitting
Will be added soon...
Progressive-Web App
Will be added soon...
Single-Page Application
Will be added soon...
Content CDN
Will be added soon...
A/B Testing
Will be added soon...
Form Input Modules
Will be added soon...
Client-side Rendering
Will be added soon...
JavaScript templates through Handlebars
Will be added soon...
Executing JavaScript functions
Will be added soon...
Resources
Will be added soon...
Asset-bundling
Will be added soon...
Progressive Booting
Will be added soon...
Links in body
Will be added soon...
State Management
Will be added soon...
Data Cache, Configuration Cache and Replication
Will be added soon...
Reactivity
Will be added soon...
Server-Side Rendering
Will be added soon...
Isomorphism
Will be added soon...
JavaScript templates into PHP through LightnCandy
Will be added soon...
Rendering a Webpage as a Transactional Email
Will be added soon...
PHP versions
Requirements:
- PHP 8.1+ for development
- PHP 7.2+ for production
Supported PHP features
Check the list of Supported PHP features in GatoGraphQL/GatoGraphQL
Preview downgrade to PHP 7.2
Via Rector (dry-run mode):
composer preview-code-downgrade
Standards
To check the coding standards via PHP CodeSniffer, run:
composer check-style
To automatically fix issues, run:
composer fix-style
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
To execute PHPUnit, run:
composer test
Static Analysis
To execute PHPStan, run:
composer analyse
Report issues
To report a bug or request a new feature please do it on the GatoGraphQL monorepo issue tracker.
Contributing
We welcome contributions for this package on the GatoGraphQL monorepo (where the source code for this package is hosted).
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email leo@getpop.org instead of using the issue tracker.
Credits
License
GNU General Public License v2 (or later). Please see License File for more information.
getpop/resources 适用场景与选型建议
getpop/resources 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 396 次下载、GitHub Stars 达 2, 最近一次更新时间为 2019 年 10 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「resources」 「graphql」 「Gato」 「GatoGraphQL」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 getpop/resources 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 getpop/resources 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 getpop/resources 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Resource group sub-menus for Laravel Nova.
GraphQL authentication for your headless Craft CMS applications.
Payment resources library used by the official CCV Payment Services plugins
Filament package to prevent the update of outdated records.
Authorize introspection documentarion for rebing/graphql-laravel
Sylius backend integration for Vue Storefront 2
统计信息
- 总下载量: 396
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-10-24