Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-server

PHP Server

A PHP Server Framework

Features

  • Multiple Versions Support
  • Shared Resources Folder
  • Router
  • Views
  • Controllers
  • DB - MySQL
  • DB - JSON DB
  • XHR / Client API
  • Built-in Emailer
  • Validation
  • App Boilerplate
  • Admin Dashboard Boilerplate

DOS.php - Developers Operating System

The main framework class file can be found at :

system/dos.php

Installation

clone the repository and start the apache server

Basic Setup

Basic setup / settings file can be found here :

system/settings.json

{
    "app": {
        "version": "boilerplate"
    },
    "db": {
        "server": "localhost",
        "user": "root",
        "password": "",
        "db": "basic"
    }
}

Json Database

A tiny JSON type database for basic applications

Usage example :

$db = new JDB( DOS::getPath('db') );

$user = $db->select('users',['name' => $data['username'], 'password' => $data['password']]);
if( $user ) $_SESSION['_admin'] = $user;

About

PHP Server

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages