暫無描述

sunhao fe08a6fbcc 初始 5 年之前
..
Text fe08a6fbcc 初始 5 年之前
build fe08a6fbcc 初始 5 年之前
.gitattributes fe08a6fbcc 初始 5 年之前
.gitignore fe08a6fbcc 初始 5 年之前
ChangeLog.md fe08a6fbcc 初始 5 年之前
LICENSE fe08a6fbcc 初始 5 年之前
README.md fe08a6fbcc 初始 5 年之前
build.xml fe08a6fbcc 初始 5 年之前
composer.json fe08a6fbcc 初始 5 年之前
package.xml fe08a6fbcc 初始 5 年之前

README.md

Text_Template

Installation

Text_Template should be installed using the PEAR Installer. This installer is the backbone of PEAR, which provides a distribution system for PHP packages, and is shipped with every release of PHP since version 4.3.0.

The PEAR channel (pear.phpunit.de) that is used to distribute Text_Template needs to be registered with the local PEAR environment:

sb@ubuntu ~ % pear channel-discover pear.phpunit.de
Adding Channel "pear.phpunit.de" succeeded
Discovery of channel "pear.phpunit.de" succeeded

This has to be done only once. Now the PEAR Installer can be used to install packages from the PHPUnit channel:

sb@vmware ~ % pear install phpunit/Text_Template
downloading Text_Template-1.0.0.tgz ...
Starting to download Text_Template-1.0.0.tgz (2,493 bytes)
....done: 2,493 bytes
install ok: channel://pear.phpunit.de/Text_Template-1.0.0

After the installation you can find the Text_Template source files inside your local PEAR directory; the path is usually /usr/lib/php/Text.