install propel-gen

How to install propel-gen on Linux server ?
Ans:
Propel is an open-source Object-Relational Mapping (ORM) for PHP5. It allows you to access your database using a set of objects, providing a simple API for storing and retrieving data.
Propel gives you, the web application developer, the tools to work with databases in the same way you work with other classes and objects in PHP.
* Propel gives your database a well-defined API.
* Propel uses the PHP5 OO standards — Exceptions, autoloading, Iterators and friends.
You can easily installed it by using PEAR command.

root@server [/] pear channel-discover pear.propelorm.org
root@server [/] pear install -a propel/propel_generator
root@server [/] pear install -a propel/propel_runtime

You can check it by using the command.

root@server [/] ll /usr/local/bin/propel-gen

Done
Reference: http://www.propelorm.org/wiki/Documentation/1.2/Installation

Leave a Comment