PHPackages                             rubyqorn/db-manipulator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. rubyqorn/db-manipulator

ActiveLibrary[Database &amp; ORM](/categories/database)

rubyqorn/db-manipulator
=======================

Package for comfortable interaction with PHP databases

v1.0(6y ago)07MITPHPCI failing

Since Jan 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rubyqorn/db-manipulator)[ Packagist](https://packagist.org/packages/rubyqorn/db-manipulator)[ RSS](/packages/rubyqorn-db-manipulator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

About DB-Manipulator
====================

[](#about-db-manipulator)

DB-Manipualtor this is a PHP package which help you to manage your data in database. And do it really easy. In couple clicks you can get, update, insert and delete your data. This package oriented at databases like MySQL and PostgreSQL.

First actions
=============

[](#first-actions)

Before starting you have to create some files. In root directory you have to create `/env.ini`file where you will display your data for database connection. The second file `settings.php` will be display in `config` directory in root directory of your project. The `config/settings.php` it's just a file where will be display needed for successfull connection with database.

Second actions
==============

[](#second-actions)

The second actions will be passing our database connection information. Add this lines into `env.ini`file which was created in root directory:

```
DB_DRIVER=mysql
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=password

```

The first parameter is `DB_DRIVER` can be mysql or pgsql. Host by default can be localhost. And user wih password will be according to name and password of your database.

Third action
============

[](#third-action)

When we have created our configuration files and filled out it our database data we can access `rubyqorn/db-manipualtor` package for manipulating your database.

```
composer require rubyqorn/db-manipulator

```

Finnal actions
==============

[](#finnal-actions)

You can create classes which will be manipulate you database data. You can create class where you want or create a directory and name it like `models` and there create a files which will be extends from basic class.

So I was create a class named like `Model` in models directory

```
'/models/Model.php'
