PHPackages                             mazentouati/snacks-console - 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. mazentouati/snacks-console

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

mazentouati/snacks-console
==========================

Snacks console is an intuitive browser-based SQL console to run and save SQL queries.

0.1.0(7y ago)4102MITJavaScriptPHP &gt;=7.1.0

Since Nov 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sunchayn/snacks-console)[ Packagist](https://packagist.org/packages/mazentouati/snacks-console)[ RSS](/packages/mazentouati-snacks-console/feed)WikiDiscussions master Synced yesterday

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

mazentouati/snacks-console
--------------------------

[](#mazentouatisnacks-console)

[![GitHub (pre-)release](https://camo.githubusercontent.com/b3de1a40c58053b0bea7db3c452f952a210a032d8790a21f2a1bf18eae15407e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d7072652f6d617a656e746f756174692f736e61636b732d636f6e736f6c652e737667)](https://github.com/mazentouati/snacks-console/releases/tag/0.1.0)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cd323e945e3acb67d240b5accc29a98cb8f514174f59f67979ca6341a0d880e1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d617a656e746f756174692f736e61636b732d636f6e736f6c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mazentouati/snacks-console/?branch=master)[![StyleCI](https://camo.githubusercontent.com/21c0752c1b8eac9f4f1045dfccbaf446e68a50b30fef37cc42687f307a2c05ca/68747470733a2f2f7374796c6563692e696f2f7265706f732f3135373239323038302f736869656c64)](https://styleci.io/repos/157928738)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](./LICENSE)

An intuitive browser-based SQL console to run and save SQL queries.

[![demo](https://camo.githubusercontent.com/5cad5e611ef8f88557734628fc12f11b84101ad6971f63acca86a3f3dbea7dfc/68747470733a2f2f6d617a656e746f756174692e6769746875622e696f2f736e61636b73636f6e736f6c652f7075626c69632f7374617469632f73637265656e73686f74732f736e61636b73636f6e736f6c652e676966)](https://camo.githubusercontent.com/5cad5e611ef8f88557734628fc12f11b84101ad6971f63acca86a3f3dbea7dfc/68747470733a2f2f6d617a656e746f756174692e6769746875622e696f2f736e61636b73636f6e736f6c652f7075626c69632f7374617469632f73637265656e73686f74732f736e61636b73636f6e736f6c652e676966)

Usage guideline
---------------

[](#usage-guideline)

Snacks@console is a PHP based application. Before you use it, you have to make sure that your system is ready to run PHP applications. All web server such as [Laragon](https://laragon.org/) (recommended) or [XAMPP](https://www.apachefriends.org) provide bundle all the requirement to run a PHP based application in one package.

After you setup your webserver. Open the command line inside the web server's root directory, usally `www`, and follow along the installation process

### through composer

[](#through-composer)

we recommend installing this package through [composer](http://getcomposer.org/) :

```
composer create-project mazentouati/snacks-console "console"
```

*Note: make sure that your web server enables the RewriteEngine.*

Plans
-----

[](#plans)

This is an initial version, it's just a prototype to test and enhance the current experience. We plan to add the following features :

### Enhance queries support

[](#enhance-queries-support)

currently the console supports the following commands:

- Select
- Update
- Delete
- Insert
- Use `database`

Theoretically, it can execute any SQL command but we plan to make the experience of DDL ( data definition language ) like `Create` or `Alter` more accessible by supporting interactive inserting in the console.

### Add syntax highlight

[](#add-syntax-highlight)

Additionally, we plan to add syntax highlight for the SQL commands

### Enhance the manipulation of the fetched data

[](#enhance-the-manipulation-of-the-fetched-data)

currently, the data shown when using `select` command isn't interactive. We plan to make the table resizable, the cells clickable ( shows full column's data when click ) and whatever required to make it interactive.

Documentation
-------------

[](#documentation)

Unfortunately, I'm overwhelmed by Snacks project and it's sub-projects. I'll incrementally add the documentation, tests for both the source code and the application.

very SOON...

Contributing
------------

[](#contributing)

Please check [the guide](./CONTRIBUTING.md)

If you like to contribute by writing the JavaScript tests, It would be great !

LICENSE
-------

[](#license)

> © [MIT](./LICENSE) | 2018, mazentouati/snacks-console

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2734d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7164ab33d58fab73910af7ca68f8d742190ecaaf9409b3e6c12d2e301a9419af?d=identicon)[sunchayn](/maintainers/sunchayn)

---

Top Contributors

[![sunchayn](https://avatars.githubusercontent.com/u/14861869?v=4)](https://github.com/sunchayn "sunchayn (13 commits)")

---

Tags

command-lineconsolejavascriptphpqueryreplsqlphpdatabasesqlqueryadminstration

### Embed Badge

![Health badge](/badges/mazentouati-snacks-console/health.svg)

```
[![Health](https://phpackages.com/badges/mazentouati-snacks-console/health.svg)](https://phpackages.com/packages/mazentouati-snacks-console)
```

###  Alternatives

[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k22.9k](/packages/clouddueling-mysqldump-php)[opis/database

A database abstraction layer over PDO, that provides a powerful and intuitive query builder, bundled with an easy to use schema builder

10184.2k3](/packages/opis-database)[friedolinfoerder/wp-activerecord

An ActiveRecord implementation for WordPress

237.2k](/packages/friedolinfoerder-wp-activerecord)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
