fivefifteen/basis
Composer 安装命令:
composer require fivefifteen/basis
包简介
A WordPress boilerplate. Get a local dockerized WordPress project up and running complete with secrets encryption, dependency management/compilation, and more by running a single command.
README 文档
README
Basis
A WordPress boilerplate. Get a local dockerized WordPress project up and running complete with secrets encryption, dependency management/compilation, and more by running a single command.
Table of Contents
Features
- Dockerized development environment via Lando & Docker
- Secrets encryption via SOPS
- Intergrated deployment solution via WordUp & Deployer
- WordPress terminal control via WP-CLI
- WordPress core & plugins management using Packagist & WordPress Packagist as repositories via Composer
- (Five Fifteen Plugins & Advanced Custom Fields repositories are optionally pre-configured as well)
- Theme boilerplate via Primer
- Front-end dependency management using GitHub & npm as repositories via Fetcher
- JavaScript & CSS/SCSS compilation/minification via Piler
- and more...
- All of the above in a single command 👌
Requirements
Usage
Run the following command (replacing "my-new-website" with your website's slug):
composer create-project fivefifteen/basis my-new-website
The setup script will ask you a few questions (feel free to mash enter and leave everything with default values) and when it's finished the URL to the local version of your new website will be displayed.
Visiting that URL will show you the WordPress setup screen where you can create your admin user account and then log in to the WordPress dashboard.
See your site's newly generated readme.md on what to do from there.
Configuration
The default values for any of the questions that are asked by the setup script can be configured by setting an environment variable with the BASIS_ prefix:
export BASIS_SOPS_AGE_PUBLIC_KEY="age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p"
Development
To create a project for testing using the latest development versions of both Basis and Primer, use the following command:
export BASIS_PRIMER_VERSION=dev-development; composer create-project fivefifteen/basis my-new-website dev-development
Related Projects
- Primer - A WordPress theme boilerplate. The perfect starting point for your custom WordPress theme.
- WordUp - A WordPress Deployer Recipe.
License Information
GPL-2.0 (See the license.md file for more info)
fivefifteen/basis 适用场景与选型建议
fivefifteen/basis 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 81 次下载、GitHub Stars 达 14, 最近一次更新时间为 2024 年 12 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「template」 「wordpress」 「boilerplate」 「example」 「starter」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 fivefifteen/basis 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 fivefifteen/basis 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 fivefifteen/basis 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP class to extend when building a WordPress plugin allowing you to follow smart plugin setup standards.
Anax htmlform module.
Laravel 5.7 Boilerplate based on Bootstrap 4 and Tabler for Backend.
WordPress Plugin Framework
Simple ASCII output of array data
E2E Studios PHP Framework adaptation of leafsphp/blade package
统计信息
- 总下载量: 81
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2024-12-14

