Giter Club home page Giter Club logo

tinyme's Introduction

TinyMe

Latest Stable Version Latest Unstable Version License Total Downloads

A tiny php framework based on flight and medoo.

简体中文读我

Installation

Just like Laravel installation, set public directory as server root path in vhost.conf and using composer to install or update packages and so on. You can do these in your terminal like below:

//using git
git clone https://github.com/ycrao/tinyme.git tinyme.dev
//or using composer, but skip `composer install` command below
composer create-project --prefer-dist ycrao/tinyme tinyme.dev
cd tinyme.dev
cp .env.example .env
vim .env
composer install
cd app
chmod -R 755 storage

Demo site: http://tinyme.yas.so .

Documentation

TinyMe using third-party components, you can get help from their offical website.

Kernel

based on mikecao/flight , official website : http://flightphp.com/ , https://github.com/mikecao/flight .

Cache

if (Flight::cache('data')->contains('foo')) {
    $unit = Flight::cache('data')->fetch('foo');
} else {
    $bar = 'bar cache';
    Flight::cache('data')->save('foo', $bar);
}

based on doctrine/cache , official website : http://docs.doctrine-project.org/en/latest/reference/caching.html , https://github.com/doctrine/cache .

Log

$logger = Flight::log()->debug('debug log');

based on katzgrau/klogger , official website : https://github.com/katzgrau/KLogger .

Database and Model

Flight::model('Page')->getPageByID(1);
Flight::db()->get('tm_page', '*', [
            'id' => 1
            ]);

based on catfan/medoo , official website : https://github.com/catfan/medoo , http://medoo.in/doc .

Reference

flight-app-demo

License

The TinyMe framework is open-sourced software licensed under the MIT license.

QQ Group (官方QQ群)

如果你懂中文,欢迎加入官方QQ群:260655062

tinyme's People

Contributors

ycrao avatar

Watchers

James Cloos avatar Leonir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.