ReasonableFramework is RVHM structured PHP framework. aka, RSF, VSPF, C-2020-018490
ReasonableFramework
- ReasonableFramework is
RVHM
structured PHP framework with common security
- Prefix code:
RSF
(ReasonableFramework)
- Old prefix code:
VSPF
(Very Simple PHP Framework)
Security policy
Specification
- Database connection (via PDO, MySQLi (MySQL Improved), MySQL Tranditional, MySQL CLI, Oracle(OCI))
- RVHM structure:
R
is Route (like as controller
), V
is View, H
is Helper (like as import
on Python/Go/NodeJS), M
is Model and implemented with KV bind
(like as Map
data structure), Model is not required.
- Controllable shared variables: Minimize abuse of global variables (Inspired by the
scope
of AngularJS, and SharedPreferences
of Android Framework)
Compatible
- Tested in PHP 5.3.3
- Tested in PHP 7.x
How to use
- Extract or clone this project to your (restrictive) shared web hosting.
- You can intergrate all of PHP projects (linear, modular (ex.
autoloader
), or others) without complicated extensions.
- You can write your code and rewrite by
route
parameter without heavy framework. (like as controller
)
- You can add your custom
ini.php
configuration file in config
directory.
- Enjoy it!
Map of structure
Roadmap
- Support critial and special-purposed web environment (industry, scientific, legacy, or more)
Quick Start
- git clone https://github.com/gnh1201/reasonableframework.git
- set up database configuration:
/storage/config/database.ini.php
- create new file:
/route/example.php
- go to
http://[base_url]/?route=example
or http://[base_url]/example/
(if set .htaccess
) in your web browser.
- code it.
Examples
- CORS, CSRF, XSS, SQL-injection protection is common security, it is free and open-source for everyone.
- Firewall, DDoS protection, and more security tools are available only for sponsors. more
Remote logger (free for all)
Compatible of free web hostings
Provider |
Pass? |
Tested version |
Note |
vultr.com (Vultr Holdings Co.) |
✔️ Passed |
v1.6.5.2 |
Paid, Pre-configured LAMP server |
cafe24.com (Cafe24 Inc.) |
✔️ Passed |
v1.6.2 |
Paid |
woobi.co.kr (MyCGI) |
✔️ Passed |
v1.6.2 |
|
dothome.co.kr (Anysecure Inc.) |
✔️ Passed |
v1.5 |
|
ivyro.net (Smileserv Inc.) |
✔️ Passed |
v1.5 |
|
000webhost.com |
⚠️ Warn |
v1.5 |
Advertising logo |
freewebhostingarea.com |
✔️ Passed |
v1.5 |
|
infinityfree.net |
⚠️ Warn |
v1.5 |
Anti-crawling |
freehosting.io |
✔️ Passed |
v1.5 |
|
freehostingeu.com |
⚠️ Warn |
v1.5 |
CURL blocked |
freehostingnoads.net |
⚠️ Warn |
v1.5 |
CURL blocked |
awardspace.com |
⚠️ Warn |
v1.5 |
CURL blocked |
How to use CLI (Command line interface)
$ php cli.php --route [route name] --session-id [session ID]
Administratives
- This project was registered to the Korea Copyright Commission's software copyright registration system. the registration number is
C-2020-018490
(version: v1.6.5.1-kcc) and approved in June 3, 2020.
- The open source license applied to this project will remain the same now and in the future.
한국어(Korean)
- 리즈너블 프레임워크는 한국의 웹 개발 환경에 적합한 PHP 프레임워크입니다.
- 레거시 코드에 기반하거나 숙련되지 않은 개발자가 프로그램을 개발하여도 최대의 안정성을 제공합니다.
- 한국, 북미, 유럽권의 PHP를 기반으로 하는 무료 웹 호스팅에서도 안정적인 운영이 가능합니다.
- 객체지향, 모듈러(MVC), 시큐어 코딩 등 현대적인 웹 기술을 모르더라도 더 적합한 기준을 제공합니다.
- 리즈너블 프레임워크는 CSRF, XSS, SQL 인젝션 등 기초적인 보안 위협에 대응하도록 설계되어 있습니다.
- 이 프로젝트는 PHP 버전 4 부터 버전 7까지 다양한 기업 수준의 적용 사례를 포함하고 있습니다.
- 이 프로젝트는 카카오톡 채팅방에서 실시간으로 버그 및 보안 이슈를 제보받고 있습니다.
English
- ReasonableFramework is a PHP framework designed to the restrictive web environments.
- It provides maximum stability even if the program is developed for developers who are based on legacy code or are not skilled.
- It also works smoothly on free web hosting (in South Korea, America, and Europe) based on PHP 4 and 7.
- It provides a convincing standard even if you don't know modern web techs, such as object-oriented, modular(MVC), and secure coding.
- ResonableFramework is designed to respond to fundamental security threats such as CSRF, XSS, and SQL injection.
- This project including a lots of the enterprise level cases from PHP version 4(legacy) to 7(modern).
- This project receiving a realtime reports that bugs and security issues in the official chatting room.
Contact us