uthando-cms/uthando
Composer 安装命令:
composer create-project uthando-cms/uthando
包简介
Base App for Uthando CMS
关键字:
README 文档
README
Introduction
This is a simple, base application for Uthando CMS. You can use it without any of the other modules as a base ZF2 MVC application as a base start for your projects.
Installation using Composer
The easiest way to install Uthando CMS is to use Composer. If you don't have it already installed, then please install as per the documentation.
Install Uthando CMS:
composer create-project uthando-cms/uthando path/to/install
// if you are installing on a production server you may wish install only the required dependencies
composer create-project --no-dev uthando-cms/uthando path/to/install
Installation using a tarball with a local Composer
If you don't have composer installed globally then another way to install Uthando CMS is to download the tarball and install it:
-
Download the tarball, extract it and then install the dependencies with a locally installed Composer:
cd my/project/dir curl -#L https://github.com/uthando-cms/uthando/tarball/master | tar xz --strip-components=1 -
Download composer into your project directory and install the dependencies:
curl -s https://getcomposer.org/installer | php php composer.phar install
If you don't have access to curl, then install Composer into your project as per the documentation.
Installing extra modules and libraries
There are a number of modules you can add and these will get you up and running very quickly. The official Uthando CMS modules are:
- Uthando Admin
- Uthando Article
- Uthando Business List
- Uthando Common
- Uthando Contact
- Uthando DomPdf
- Uthando Events
- Uthando File Manager
- Uthando Mail
- Uthando Navigation
- Uthando News
- Uthando Newsletter
- Uthando Portfolio
- Uthando Session Manager
- Uthando Testimonial
- Uthando Theme Manager
- Uthando Twitter
- Uthando User
Web server setup
PHP CLI server
The simplest way to get started if you are using PHP 5.4 or above is to start the internal PHP cli-server in the root directory:
php -S 0.0.0.0:8080 -t public/ public/index.php
This will start the cli-server on port 8080, and bind it to all network interfaces.
Note: The built-in CLI server is for development only.
Apache setup
To setup apache, setup a virtual host to point to the public/ directory of the project and you should be ready to go! It should look something like below:
<VirtualHost *:80>
ServerName zf2-app.localhost
DocumentRoot /path/to/uthando-cms/public
<Directory /path/to/zf2-app/public>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</Directory>
</VirtualHost>
Nginx setup
To setup nginx, open your /path/to/nginx/nginx.conf and add an
include directive below
into http block if it does not already exist:
http {
# ...
include sites-enabled/*.conf;
}
Create a virtual host configuration file for your project under /path/to/nginx/sites-enabled/uthando-cms.localhost.conf
it should look something like below:
server {
listen 80;
server_name zf2-app.localhost;
root /path/to/uthando-cms/public;
location / {
index index.php;
try_files $uri $uri/ @php;
}
location @php {
# Pass the PHP requests to FastCGI server (php-fpm) on 127.0.0.1:9000
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME /path/to/uthando-cms/public/index.php;
include fastcgi_params;
}
}
Restart the nginx, now you should be ready to go!
uthando-cms/uthando 适用场景与选型建议
uthando-cms/uthando 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 53 次下载、GitHub Stars 达 1, 最近一次更新时间为 2014 年 04 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「zf2」 「cms」 「uthando」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 uthando-cms/uthando 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 uthando-cms/uthando 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 uthando-cms/uthando 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
LosLog provides some log utility
GraphQL authentication for your headless Craft CMS applications.
EdpModuleLayouts is very simple Laminas module for making module-specific layouts insanely easy.
Set Links with a specific language parameter
Supercharged text field validation.
统计信息
- 总下载量: 53
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-04-27