PHPackages                             datatableswebutility/dwuty - 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. datatableswebutility/dwuty

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

datatableswebutility/dwuty
==========================

dwuty offers an easy way to generate editable tables on your website.

1.0.2.1(2y ago)2184[1 issues](https://github.com/rkatzfus/dwuty/issues)MITPHPPHP &gt;=8.1

Since Mar 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/rkatzfus/dwuty)[ Packagist](https://packagist.org/packages/datatableswebutility/dwuty)[ Docs](https://datatableswebutility.net/)[ RSS](/packages/datatableswebutility-dwuty/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (4)Dependencies (8)Versions (11)Used By (0)

datatableswebutility/dwuty

[![Packagist Version](https://camo.githubusercontent.com/a9734bb965ac27ac11bc5540c1b6960cbf4ce7bd9babd96c3555ff96dcba125c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646174617461626c65737765627574696c6974792f64777574793f6c6162656c3d76657273696f6e)](https://packagist.org/packages/datatableswebutility/dwuty)[![Packagist Downloads](https://camo.githubusercontent.com/93e91233f4cf4da4f9ef25ce662e1e09b698e2bf3bdddc021c681985658c943e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646174617461626c65737765627574696c6974792f6477757479)](https://packagist.org/packages/datatableswebutility/dwuty)[![GitHub License](https://camo.githubusercontent.com/ff8b6f517afad5a6882a75d78e1d7ba7dba2154f2ff621064ff8036a5519a778/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f726b61747a6675732f6477757479)](https://github.com/rkatzfus/dwuty/blob/main/LICENSE)[![Packagist PHP Version Support](https://camo.githubusercontent.com/699de995dfc37953892f64b2e85f24352c9a11efd9acf7138b07086fe2726ea8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646174617461626c65737765627574696c6974792f6477757479)](https://packagist.org/packages/datatableswebutility/dwuty)
[![MicrosoftSQLServer](https://camo.githubusercontent.com/4fcf9492b466aada74bda98f7f70019f35739eb3b8f62197b18312d3abbc2ad8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6963726f736f667425323053514c2532305365727665722d434332393237)](https://camo.githubusercontent.com/4fcf9492b466aada74bda98f7f70019f35739eb3b8f62197b18312d3abbc2ad8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6963726f736f667425323053514c2532305365727665722d434332393237)[![MySQL](https://camo.githubusercontent.com/384179289e90902f2c16e15e7a4cdd04664675bb8fdab0f25e6da92449cf8ab9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d7973716c2d253233303066)](https://camo.githubusercontent.com/384179289e90902f2c16e15e7a4cdd04664675bb8fdab0f25e6da92449cf8ab9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d7973716c2d253233303066)[![Postgres](https://camo.githubusercontent.com/0041963f4f1cf55b69599d45473edf466c8b6bdab5229d6eb64d473137659dc4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706f7374677265732d253233333136313932)](https://camo.githubusercontent.com/0041963f4f1cf55b69599d45473edf466c8b6bdab5229d6eb64d473137659dc4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706f7374677265732d253233333136313932)
[![Bootstrap](https://camo.githubusercontent.com/1e78c6edcf5d53ac80f7beeb12645af75e9e6cfc290125e736e5066e8331ef43/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f626f6f7473747261702d253233383531314641)](https://camo.githubusercontent.com/1e78c6edcf5d53ac80f7beeb12645af75e9e6cfc290125e736e5066e8331ef43/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f626f6f7473747261702d253233383531314641)[![jQuery](https://camo.githubusercontent.com/ff9e928d1efb367f0135ef8e6f760b52a6027a0eaa14d06e84b9841c57c7c805/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a71756572792d253233303736394144)](https://camo.githubusercontent.com/ff9e928d1efb367f0135ef8e6f760b52a6027a0eaa14d06e84b9841c57c7c805/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a71756572792d253233303736394144)

**dwuty** provides a simple and easy way to generate editable tables on your website.
The data can be stored in 3 different types of databases via the php [pdo interface](https://www.php.net/manual/en/book.pdo.php).

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

[](#installation)

It's important to add `"minimum-stability": "dev"` and `"prefer-stable": true` in your composer.json

> composer.json

```
{
  "minimum-stability": "dev",
  "prefer-stable": true
}
```

Install the package through [composer](http://getcomposer.org):

```
composer require datatableswebutility/dwuty

```

Make sure, that you include the composer [autoloader](https://getcomposer.org/doc/01-basic-usage.md#autoloading)somewhere in your codebase.

create `.env` file for the environment and update the database credentials

> .env

```
API_KEY="*******"

HOST_ENV="*******"
DATABASE_ENV="*******"
USER_ENV="*******"
PASSWORD_ENV="*******"
```

setup `.htaccess` to hide the `.env`

> .htaccess

```
# Disable index view

Options -Indexes

# Hide a specific file(s)

Order allow,deny
Deny from all

```

Example (mysql)
---------------

[](#example-mysql)

```
