一个快速构建PHP ORM类的工具
PHP cli模式使用 '+', Shell模式使用 '-', 建议使用Shell模式
sudo ln -s /home/www/OrmBuild/gorm /usr/bin/gorm
gorm -f "/home/gsinhi/models" -e "\Base\Model\AbstractModel" -u root -p -n test_orm
立即学习“PHP免费学习笔记(深入)”;
php -f gorm.php +f /home/gsinhi/testOrm
php -f gorm.php +f /home/gsinhi/testOrm +u test +p +n test_orm
php -f gorm.php +f /home/gsinhi/testOrm +o false
namespace Config;class Db extends \Config\ConfigAbstract { public function init() { return array( 'host' => '127.0.0.1', 'dbname' => 'test', 'username' => 'test', 'passwd' => 'test', 'port' => '3306', 'options' => array("SET NAMES 'utf8'") ); }}项目主页:http://www.open-open.com/lib/view/home/1440401020497
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号