Download the PHP package ycrao/tinyme without Composer

On this page you can find all versions of the php package ycrao/tinyme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tinyme

TinyMe

Latest Stable Version Latest Unstable Version License Total Downloads

A tiny php framework based on flight and medoo.

IntroductionPage | 简体中文读我

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:

You can view this project page by typing http://127.0.0.1:9999 url in your browser.

API Service

Please import sql\tinyme.sql to your local MySQL database, then modify .env file configuration.

Route

Method Route or URI Note
post /api/login Get access-token by logining account.
get /api/pages Get current user pages with pagination.
post /api/page Create a new page.
get /api/page/@id Get page by specified id.
put /api/page/@id Update page by specified id.
delete /api/page/@id Delete page by specified id.

API error code

Code Note
500 fail or error.
401 (Unauthorized) access token already expired.
403 (Forbidden) illegal or incorrect credentials.
404 (Not Found) api or route not existed.
200 (OK) success.

post api/login

Using email and password to login and get access token. Please recall login api when token is expired, do not call this api frequently when old token(s) not expired.

Request Example

Response Example

Using 200 as code when success.

Using non-2xx (403500 etc) digital when fail or error.

get api/pages

Get current user pages with pagination.

Request Example

Response Example

post api/page

Create a new page.

Request Example

Response Example

get api/page/@id

Get page by specified id.

Request Example

Response Example

put api/page/@id

Update page by specified id.

Request Example

Response Example

delete /api/page/@id

Delete page by specified id.

Request Example

Response Example

Documentation

Kernel

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

Cache

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

Log

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

Database and Model

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.


All versions of tinyme with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
mikecao/flight Version 1.3.*
catfan/medoo Version 1.6.*
katzgrau/klogger Version 1.*
doctrine/cache Version 1.4.*
vlucas/phpdotenv Version 2.0.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ycrao/tinyme contains the following files

Loading the files please wait ....