wpcloud/wp-stateless
Composer 安装命令:
composer require wpcloud/wp-stateless
包简介
WP-Stateless WordPress plugin
README 文档
README
Description
Upload and serve your WordPress media from Google Cloud Storage (GCS) with the WP-Stateless plugin. In as little as two minutes, you will be benefiting from serving your media from Google Cloud's distributed servers.
New to Google Cloud? Google is offering you a $300 credit to get you started.
Benefits
- Store and deliver media files on Google Cloud Storage instead of your server.
- Google Cloud Storage is geo-redundant, meaning your media is delivered by the closest server - reducing latency and improving page speed.
- Scale your WordPress website across multiple servers without the need for synchronizing media files.
- Native integration between Google Cloud Storage and WordPress.
- $300 free trial from Google Cloud. Nice!
Modes
- Backup - Upload media files to Google Storage and serve local file URLs.
- CDN - Copy media files to Google Storage and serve them directly from there.
- Ephemeral - Store and serve media files with Google Cloud Storage only. Media files are not stored locally, but local storage is used temporarily for processing and is required for certain compatibilities.
- Stateless - Store and serve media files with Google Cloud Storage only. Media files are not stored locally.
Features
- Setup assistant makes getting started fast and easy.
- No need to manually create service accounts or buckets - handled automatically.
- Settings panel provides you with further GCS configuration and file URL customization.
- Mask the default GCS URL with your own custom domain.
- Automatically replace hardcoded media URLs with GCS equivalents in post editor and meta.
- Batch image thumbnail regeneration.
- Synchronization tools for uploading existing files and images.
- All settings supported with wp-config constants and network setting overrides.
- Multiple modes: Backup, CDN, Ephemeral, Stateless.
- All files served in HTTPS mode.
- Serverless platform compatible, including Google App Engine.
- Multisite compatible.
Addons
- Elementor Website Builder Addon
- Gravity Forms Addon
- Gravity Forms Signature Addon
- WPForms Addon
- WooCommerce Addon
- Easy Digital Downloads Addon
- LiteSpeed Cache Addon
- Divi Theme Addon
- SiteOrigin CSS Addon
- SiteOrigin Widgets Bundle Addon
- BuddyPress Addon
- BuddyBoss Platform Addon
- Polylang Pro Addon
- Simple Local Avatars
Support, Feedback, & Contribute
We welcome community involvement via the GitHub repository.
Custom Development
Looking for a unique feature for your next project? Hire us!
Installation
- Search, install, and activate the WP-Stateless plugin via your WordPress dashboard.
- Begin WP-Stateless setup assistant at Media > Stateless Setup and click "Get Started Now."
- Click "Google Login" and sign in with your Google account.
- Set a Google Cloud Project, Google Cloud Storage Bucket, and Google Cloud Billing Account and click "Continue."
- Installation and setup are now complete. Visit Media > Stateless Settings for more options.
For a more detailed installation and setup walkthrough, please see the manual setup instructions on Github.
Frequently Asked Questions
What are the minimum server requirements for this plugin?
Beyond the official WordPress minimum requirements, WP-Stateless requires a minimum PHP version of 8.0 or higher and OpenSSL to be enabled.
What wp-config constants are supported?
For a complete list of supported wp-config constants, please consult the GitHub documentation.
How do I manually generate the Service Account JSON?
The WP-Stateless setup assistant will create the Service Account JSON automatically for you, but you can follow these steps if you choose to create it manually.
- Visit Google Cloud Console, and go to IAM & Admin > Service accounts.
- Click Create Service Account and name it wp-stateless.
- Set the role to Storage > Storage Admin.
- Check Furnish a new private key and select JSON as the key type.
- Open the JSON file and copy the contents into the Service Account JSON textarea within the WP-Stateless settings panel.
Where can I submit feature requests or bug reports?
We encourage community feedback and discussion through issues on the GitHub repository.
Can I test new features before they are released?
To ensure new releases cause as little disruption as possible, we rely on a number of early adopters who assist us by testing out new features before they are released. Please contact us if you are interested in becoming an early adopter.
Who maintains this plugin?
UDX maintains this plugin by continuing development through its own staff, reviewing pull requests, testing, and steering the overall release schedule. UDX is located in Durham, North Carolina, and provides WordPress engineering and hosting services to clients throughout the United States.
wpcloud/wp-stateless 适用场景与选型建议
wpcloud/wp-stateless 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 609 次下载、GitHub Stars 达 271, 最近一次更新时间为 2018 年 07 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 wpcloud/wp-stateless 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wpcloud/wp-stateless 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 609
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 272
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-07-24