Repository navigation
Home
APIne is a simple to use modular MVC Framework ready for the IoT (Internet of Things). It intends to be a general purpose framework and API providing session management, authentication, routing, and a database abstraction without including useless tools.
The most notable features include a complete session manager (login, logout, registration and password restoration) with basic users and permissions and a database abstraction layer that prevents you to write every queries.
- PHP 5.4.0 or greater
- MySQL 5
- Apache 2.4
- mod_rewrite
- filter_module
The project must be set in a virtual host that allows rewrites for the routes to work.
-
Clone this project in your working directory
$git clone https://github.com/Youmy001/apine_framework.git -
Setup a virtual host for the project directory that allow rewrite rules and optionaly has mod_deflate and filter_module enabled in apache for version 2.4 or greater.
-
Import
resources/apine_sql_tables.sqlinto your database. This file includes the instructions to create the tables needed by the framework. -
Create a copy of
sample_config.ininamedconfig.ini. -
Edit the
Databasesection inconfig.inito include connection to your database. Check the wiki for more informations on configuration. -
Install composer depandancies with the following command :
$ php composer.phar install -
Open your browser and go to your virtual host address. APIne Framework is now ready to work.
- Introduction
- Getting Started
- Utilities
- Entity Manager
- Entity Model
- Entity Lazy Loading
- Entity Factories
- Edit File (Coming Soon)
- Image Edition (Coming Soon)
- Advanced Topics