znframework / package-database
ZN Framework Database Package
Installs: 7 312
Dependents: 10
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=7.0.0
- znframework/package-cache: >=6.0
- znframework/package-datatypes: >=6.0
- znframework/package-datetime: >=6.0
- znframework/package-filesystem: >=6.0
- znframework/package-helpers: >=6.0
- znframework/package-hypertext: >=6.0
- znframework/package-pagination: >=6.0
- znframework/package-protection: >=6.0
- znframework/package-request: >=6.0
- znframework/package-response: >=6.0
- znframework/package-security: >=6.0
- znframework/package-zerocore: >=6.0
This package is auto-updated.
Last update: 2024-11-03 15:58:31 UTC
README
ZN Framework Database Package
Follow the steps below for installation and use.
Installation
You only need to run the following code for the installation.
composer require znframework/package-database
Documentation
Click for documentation of your library.
Example Usage
Basic level usage is shown below.
<?php require 'vendor/autoload.php'; ZN\ZN::run(); # The default settings are in the ZN\Database\DatabaseDefaultConfiguration file. # You can make your settings in this file. # The Config::set() method should be used if you need to configure settings externally. Config::database('database', [ 'driver' => 'mysqli', 'host' => 'localhost', 'database' => 'test', 'user' => 'root', 'password' => '', 'prefix' => '' ]); $persons = DB::persons(); Output::display($persons->result());