OwOFrame
Open source license : Learn More
OwO! OwOFrame
is developed based on the MVC (Model-Views-Controller)
model. The framework's standard formulation draws on ThinkPHP
, so the naming rules for some methods seem There are similarities. This repository is just my personal practice repository.
If you think this repository is helpful to you, please give this repository a Star
QWQ
中文版简介请点这里
What can I do?
OwOFrame is a small framework that I developed using my free time. Of course, there are many shortcomings. The functions currently supported by this framework are listed below:
Basic System Components
-
!!!IDE Friendly!!!
All comments can be displayed well inVisual Studio Code
, all are manual comments :) -
AppManager
Judge the corresponding routing controller by identifyingHTTP_URI
and assign it to the corresponding Application -
CommandManager
Support some operations through the Command Line method on the CLI -
ConfigurationParser
Configuration Parser -
EventManager
Event Manager(Hooks Module) -
Exception
Error capture and Stack output (I know that advanced frameworks have them and are better than mine QAQ) -
PluginLoader
Plug-in loader (a support method that can be flexibly changed independent of Application) -
Language
Custom languages packages supported -
Logger
Support the most basic logging -
Redis
Support basic Redis operations -
RouterManager
Router Manager -
BetterRouter
Better Router (More personalized routing binding settings) -
Template
Back-end rendering template (basic functions have been completed, turtle speed development advanced functions o( ̄▽ ̄)o) -
TextFormat
Support ANSI control code output color in CMD & Shell -
WMI
WMI operation class written for Windows system
Basic Util Components
-
CookieClass
A common Cookie class -
EmptyAppGenerator
Generate a new Application template with one click -
FileUploadClass
File upload support -
Helper
An integrated method class (see the source code for details) -
SessionClass
A common Session class
Third Party Resources
How to use me?
§1. Installation
1.1. First way can use command git clone https://github.com/Tommy131/OwOFrame.git
to clone the repository from Github to location.
1.2. Or you can use the second way with command composer create-project tommy131/owoframe -s dev
to create the repository to location.
§2. Next Step
After open CMD
in Windows or Shell
in Linux, use command cd owoframe && composer install
to change work path on owoframe.
If you used composer to install this repository, you may not to run the command from the top.
Do I need modify my Web configuration (e.g. for Nginx) ?
Yes. The step(s) please see the below:
# Set your web root path to /public (Example);
root /www/owoframe/public;
location / {
index index.php index.html;
try_files $uri $uri/ /index.php$is_args$query_string;
}
How to running my Application in CLI-Mode with OwOFrame?
In the OwOFrame, I built the Command Manager. You can customize the registration management of the implementation Commands, and you can also modify the entry file in the CLI-Mode to touch your project requirements. The basically usage will be called in the root path like owo [command]
.
Linux users need use command ./owo.sh [command]
to run the registed commands.
Statement
© 2016-2021 OwOBlog-DGMT
. Please comply with the open source license of this project for modification, derivative or commercial use of this project.
My Contacts: