Download the PHP package ratingthomas/sqlmanager without Composer
On this page you can find all versions of the php package ratingthomas/sqlmanager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ratingthomas/sqlmanager
More information about ratingthomas/sqlmanager
Files in ratingthomas/sqlmanager
Download ratingthomas/sqlmanager
More information about ratingthomas/sqlmanager
Files in ratingthomas/sqlmanager
Vendor ratingthomas
Package sqlmanager
Short Description A small script that lets you easily interact with your mysql database
License AGPL-3.0-or-later
Homepage https://github.com/Ratingthomas/sqlmanager
Package sqlmanager
Short Description A small script that lets you easily interact with your mysql database
License AGPL-3.0-or-later
Homepage https://github.com/Ratingthomas/sqlmanager
Please rate this library. Is it a good library?
Informations about the package sqlmanager
SQLManager
SQLManager is a small script that lets you easily interact with your mysql database.
Features
- Easy to use
- Secure (SQL Injection prevention)
- Simple and fast
Installation
-
Download the latest release with composer or from the releases page.
- Put the script somewhere in your project.
- Add the following code:
How to use
Here i will explain how you can use the script.
Connect to Database
Parrameter | Details | Example |
---|---|---|
db_host | The database host. | localhost |
db_username | Username | root |
db_password | Password | admin |
db_name | The name of the database | test |
Get data from the dabatase
Example 1
Example 2
Parrameter | Details | Example | Type | Required | Can be empty |
---|---|---|---|---|---|
query | The sql query | SELECT * FROM test; |
String | true | False |
options | If you have a where statement | [$param1, $param2] |
Array | true | true |
array_push | Make the array Multidimensional | true |
boolean | false | true |
no_result | Set this to true if the sql query has no return falue | true |
boolean | false | true |
Get the connection info.
All versions of sqlmanager with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0.0
The package ratingthomas/sqlmanager contains the following files
Loading the files please wait ....