PHPackages                             elephpant/crud - 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. elephpant/crud

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

elephpant/crud
==============

CRUD is a abstraction of PDO for simplify to simplify reading, writing, updating and removing data from the Database

1.0.5(2y ago)118MITPHPPHP ^8.0

Since Jan 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sergiodanilojr/crud)[ Packagist](https://packagist.org/packages/elephpant/crud)[ Docs](https://www.sergiodanilojr.com.br)[ RSS](/packages/elephpant-crud/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (8)Used By (0)

CRUD @ElePHPant
===============

[](#crud-elephpant)

[![Maintainer](https://camo.githubusercontent.com/7b1d28a2036b608f54a554b494e6678bbe1d58bc90f33baeb9c8ae3af0590b57/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d4073657267696f64616e696c6f6a722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/sergiodanilojr)[![Source Code](https://camo.githubusercontent.com/2ebed42529de56f32b757e40504418dd37b718b663db4a87084a02ff3ab2783c/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d656c65706870616e742f637275642d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/sergiodanilojr/crud)[![PHP from Packagist](https://camo.githubusercontent.com/c012ba76c185ee5ebf2927c78c2da490a38832956459a9082d3d0a47cecd6062/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f656c65706870616e742f637275642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elephpant/crud)[![Latest Version](https://camo.githubusercontent.com/18cdb554e4eb70e0422f7c8ba5f61de1370f85bceedb37a037034f62427ffb70/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f656c65706870616e742f637275642e7376673f7374796c653d666c61742d737175617265)](https://github.com/sergiodanilojr/crud/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/ace65fd5a6d2c279e982da51f2cc86868b00a3c611096c77e783e636bf9c706d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f73657267696f64616e696c6f6a722f637275642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sergiodanilojr/crud)[![Quality Score](https://camo.githubusercontent.com/e8eb897ea8ad74089d5c1e674d983f0d050a89dd5f2208de6ede63cb32238d6c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73657267696f64616e696c6f6a722f637275642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sergiodanilojr/crud)[![Total Downloads](https://camo.githubusercontent.com/50f83b98a36ddd231df876e1885a0fe7bddf0a70137a0298b59c1cc2aed596c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c65706870616e742f637275642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elephpant/crud)

CRUD is a abstraction of PDO to simplify reading, writing, updating and removing data from the Database.

CRUD é uma abstração para simplificar a leitura, escrita, atualização e remoção de dados do Banco de Dados.

### Highlights

[](#highlights)

- Extremaly Easy
- Executa Leitura, Escrita e remoção de dados no Banco de dados
- Trabalha com variáveis de Ambiente para setar as configurações do Banco de dados
- Composer ready and PSR-2 compliant (Pronto para o Composer e compatível com PSR-2)

###### BEFORE INSTALL!

[](#before-install)

For you work with this component, is important work with a component like `bash vlucas/dotenv` for you set your enviroment variables;

```
DB_DRIVER="mysql"
DB_PORT="3306"
DB_HOST="your_database_host"
DB_USER="root"
DB_PASSWORD="passworddb"
DB_NAME="elephpant"
```

Installation
------------

[](#installation)

CRUD is available via Composer:

```
"elephpant/crud": "*"
```

or run

```
composer require elephpant/crud
```

#### Documentation

[](#documentation)

```
