ReasonableFramework is RVHM structured PHP framework. aka, RSF, VSPF, C-2020-018490
assets | ||
helper | ||
route | ||
storage | ||
system | ||
vendor | ||
view | ||
webapp | ||
bootstrap.707.sh | ||
bootstrap.sh | ||
cli.php | ||
composer.json | ||
fixindent.sh | ||
FUNDING.yml | ||
index.php | ||
KOREAN.MD | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
VERSION.MD | ||
welcome.bat | ||
welcome.sh |
ReasonableFramework
- ReasonableFramework is
RVHM
structured PHP web framework, securely and compatibility - Prefix code:
RSF
(ReasonableFramework) - Old prefix code:
VSPF
(Very Simple PHP Framework)
Donate us (or if you need technical support)
Specification
- Database connection (via PDO, MySQLi (MySQL Improved), MySQL Tranditional, MySQL CLI, Oracle(OCI))
- RVHM Structure:
R
is Route (like ascontroller
),V
is View,H
is Helper (like asimport
on Python/Go/NodeJS),M
is Model and implemented withKV bind
(like asMap
data structure), Model is not required. - AppJail(Experimental): Load a legacy PHP applications on the jailed area without modifying the source code.
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 ascontroller
) - You can add your custom
ini.php
configuration file inconfig
directory. - Enjoy it!
Map of structure
Roadmap: Support legacy
- Support critical legacy web server (old: PHP 4.x ~ modern: 7.x)
- Support critical old browser (old: IE 6 ~ modern: IE 11)
- Do Clean & Modern PHP without hard studies.
Contact me
- Go Namhyeon gnh1201@gmail.com
- Website: https://exts.kr/go/home
Quick Start
- git clone https://github.com/gnh1201/reasonableframework.git
- set up database configuration:
/storage/config/database.ini.php
- touch(make new file):
/route/example.php
- go to
http://[base_url]/?route=example
orhttp://[base_url]/example/
(if set.htaccess
) in your web browser. - enjoy it.
Examples
- REST API Integration (Naver Papago Translation REST API)
- Payment Gateway Integration (KCP)
- Gnuboard CMS Integration (version 4, version 5)
[NEW] Advanced security (only for sponsors)
- CORS, CSRF, XSS, SQL-injection protection is common security, it is free and open-source for everyone.
- Firewall, DDoS protection, and more tools are available only for sponsors. see details
How to use CLI
$ php cli.php --route [route name]
한국어(Korean)
- 리즈너블(이유있는) 프레임워크는 대한민국 및 동아시아권 웹 개발 환경을 위해 설계된 PHP 프레임워크입니다.
- 인적 기술력 수준에 취약한 환경에 집중적으로 유효하도록 설계되어 최고 수준의 안정성과 보안을 유지할 수 있습니다.
- 개발 인력이 객체지향, 모듈러(MVC), 시큐어 코딩 등 현대적인 웹 기술을 모르더라도, 한단계 더 높은 기술 수준을 지원합니다.
- 리즈너블 프레임워크는 CSRF, XSS, SQL 인젝션 등 기초적인 보안 위협에 사전 대응하도록 설계되어 있습니다.
- 현대적 웹 개발 기술과 환경을 함께 사용하실 수 있습니다.
- 공식 카카오톡 오픈채팅방을 통해 신속한 버그 및 보안이슈 해결이 가능합니다. https://open.kakao.com/o/g9spGfrb
English
- Reasonable Framework is a PHP framework designed for East Asian web development environments.
- Designed to focus on environments vulnerable because of the not trained developers, it can maintain the highest level of stability and security.
- Even if the development staff doesn't know modern web technologies such as object-oriented and modular (MVC) and secure coding, we're support the higher technical level.
- Resonable Framework is designed to proactively respond to fundamental security threats such as CSRF, XSS, and SQL injection.
- Use with modern web development environments and techniques.
- You can quickly resolve bugs and security issues in our chatting room: https://open.kakao.com/o/g9spGfrb