paulogmello/short-php
Composer 安装命令:
composer require paulogmello/short-php
包简介
A PHP lib to speed up your projects
README 文档
README
This library is for you who want use your time developing the system, pages, a lot of cool things and has no time to think about connections, databases, etc.
With shortPHP, you use a few line of codes (one in most cases) to select, update, insert, delete in databases, send and delete files, and many more.
We have some modules in shortPHP, like:
| Module | Purpouse |
|---|---|
| Database | Select, Update, Insert, Delete and another SQL Commands |
| Files | Read, Create, Send, Delete Files |
| Array | Tools to improve your arrays |
| Basic | A few tools like date, criptography and more |
| Send e-mails | |
| Sessions | Create and organize Sessions and Cookies |
| Math | Math operations |
Instalation
The most faster way to install is in composer, but you can donwload from github
composer require paulogmello/short-php:dev-main
Examples
$db = new shortPHP('myCars', $server, $user, $pass);
$database->insert('cars', 'name,value,type,color', $name, $value,'sedan', 1);
$cars_red = $database->select('cars', '*', 'WHERE color = 1');
统计信息
- 总下载量: 78
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-19