Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulogmello/shortphp
A simple PHP library to speed up your projects
https://github.com/paulogmello/shortphp
database library mysql mysql-database php8 utilities
Last synced: 3 months ago
JSON representation
A simple PHP library to speed up your projects
- Host: GitHub
- URL: https://github.com/paulogmello/shortphp
- Owner: paulogmello
- Created: 2024-01-18T18:15:07.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-09-19T20:54:54.000Z (4 months ago)
- Last Synced: 2024-10-15T01:03:34.101Z (3 months ago)
- Topics: database, library, mysql, mysql-database, php8, utilities
- Language: PHP
- Homepage:
- Size: 469 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShortPHP 1.5
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, and more in databases, send and delete files, and 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 |
| Mail | 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 githubcomposer 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');