Skip to content

A "plug-n-play" RESTful API for your MySQL database with permissions.

Notifications You must be signed in to change notification settings

AnimasWeb/sleepy-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SleepyMySQL

A live RESTful API for your MySQL database with permissions.

This is not an API generator. This is for quickly creating a database and throwing REST in front of it.

composer.json

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/AnimasWeb/sleepy-mysql.git"
    }
  ],
  "require": {
    "AnimasWeb/sleepy-mysql": "dev-master"
  }
}

AllowAll

$db_config = array(
  'server' => 'localhost',
  'database' => 'test',
  'username' => 'root',
  'password' => '',
  'verbose' => false
);

$po = new \SleepyMySQL\SMPermissionsAllowAll();
$arrest = new \SleepyMySQL\SleepyMySQL($db_config, $po);
$arrest->rest();

About

A "plug-n-play" RESTful API for your MySQL database with permissions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages