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 | ||
CDN_HOWTO.md | ||
cli.php | ||
composer.json | ||
fixindent.sh | ||
FUNDING.yml | ||
index.php | ||
KOREAN.MD | ||
lgplv3-147x51.png | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
VERSION.MD | ||
welcome.bat | ||
welcome.sh |
ReasonableFramework
- ReasonableFramework is
RVHM
structured PHP framework with common security - Prefix code:
RSF
(ReasonableFramework) - Old prefix code:
VSPF
(Very Simple PHP Framework)
technical support (donate us)
- Technical support and improved web security for ReasonableFramework ($4/Monthly, pay on Patreon)
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. - Controllable shared variables: Minimize abuse of global variables (Inspired by the
scope
of AngularJS, andSharedPreferences
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 ascontroller
) - You can add your custom
ini.php
configuration file inconfig
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
orhttp://[base_url]/example/
(if set.htaccess
) in your web browser. - enjoy it.
Examples
[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 security tools are available only for sponsors. more
[NEW] Remote Debugging (free for all)
- Remote debugging feature based on RFC3164(The BSD Syslog Protocol), with Papertrail
How to use CLI (Command line interface)
$ php cli.php --route [route name] --session-id [session ID]
한국어(Korean)
- 리즈너블(이유있는) 프레임워크는 거친 웹 개발 환경을 위해 설계된 PHP 프레임워크입니다.
- 레거시 개발이나 과학기술연구 등 특수 목적을 가진 개발에 특화된 설계로 높은 안정성과 보안을 제공합니다.
- PHP를 기반으로 하는 무료 웹 호스팅에서도 원활하게 돌아가도록 지원합니다.
- 객체지향, 모듈러(MVC), 시큐어 코딩 등 현대적인 웹 기술을 모르더라도 더 견고한 기준을 제공합니다.
- 리즈너블 프레임워크는 CSRF, XSS, SQL 인젝션 등 기초적인 보안 위협에 사전 대응하도록 설계되어 있습니다.
- PHP 버전 4 부터 버전 7까지 다양한 개인 및 기업 적용 사례를 보유하고 있습니다.
- 카카오톡 채팅방을 통해 실시간 버그 및 보안 이슈 해결이 가능합니다.
English
- Reasonable Framework is a PHP framework designed for rugged web development environments.
- Designed for special purpose development such as legacy development or science and technology research, it provides high stability and security.
- It also works smoothly on free web hosting based on PHP.
- It provides a stronger standard even if you don't know modern web technologies, such as object-oriented, modular (MVC), and secure coding.
- Resonable Framework is designed to proactively respond to fundamental security threats such as CSRF, XSS, and SQL injection.
- We have various enterprise cases from PHP version 4(legacy) to 7(modern).
- You can quickly resolve bugs and security issues in our chatting room.
Contact us
- gnh1201@gmail.com
- support@exts.kr
- catswords@protonmail (if you require confidential)