Skip to content
/ sdb Public

A new way to handle flat databases with php.

Notifications You must be signed in to change notification settings

devsimsek/sdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

hits Github All Releases GitHub license Maintenance GitHub issues Open Source


smskdb

smskdb

smskdb - A New Flat Json Database
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

Ever needed any flat database on your php project?

With smskdb you can create, edit and query flat database with smskdb class.

So why waiting? Get started now!

(back to top)

Built With

  • Php
  • Json database

(back to top)

Getting Started

Installation

You can install sdb using git or github cli

OS X & Linux & Windows (With Github CLI):

gh repo clone devsimsek/sdb

OS X & Linux & Windows (With Git):

git clone https://github.com/devsimsek/sdb.git

(back to top)

Usage

Once you've installed smskdb successfully on your workspace you can start using your flat database.

Example Usage;

<?php
require "Sdb.php";

$sdb = new Sdb("exampleDirectory", true);

// Create New Database
if ($sdb->create("example.sdb")) {
    // Load created database and access it by objects
    $sdb->load("example.sdb", SDB_READ_OBJ);
    // Set new data in database
    $sdb->set("test", array("is_success" => "true"));
    // Save updated records to database
    $sdb->save();
}

(back to top)

Roadmap

  • Optimizing code
  • Create sql engine

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make sdb better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

devsimsek - @smskSoft - mtnsmsk@smsk.ga

Project Link: https://github.com/devsimsek/sdb

(back to top)

About

A new way to handle flat databases with php.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages