Important
This project is still under development
Sharp is a Framework for PHP 8 that focuses on code cleanliness and simplicity
The goal is to have a good balance between abstraction and concrete objects
You can find resources to work/learn with Sharp in the Docs directory
mkdir MyProject
cd MyProject
git init
git submodule add https://github.com/yonis-savary/sharp-php.git Sharp
# linux
cp -r Sharp/Core/Server/* .
# windows
xcopy /s Sharp/Core/Server/* .
php do fill-configuration
php do create-application MyProject
php do serve
This script :
- Copy Sharp and its Test suite
- Copy the
Public
directory anddo
script - Create an empty application named
MyProject
Your directory will look like
MyProject/
Public/
Sharp/
.git/
do
sharp.json
.gitignore
.gitmodules
- ๐ข - tested feature
- ๐ต - tested feature (some edge-case tests may be missing)
- ๐ก - untested feature
๐ซ Core
- ๐ข Configuration (JSON Format)
- ๐ข Caching
- ๐ข Logging
- ๐ข Events
- ๐ข CLI Commands (With base utilities commands)
- ๐ข Tests
๐ Web
- ๐ข Session
- ๐ข Request / Responses
- ๐ต Request Fetch (CURL)
- ๐ข Controllers
- ๐ต Renderer
- ๐ข Routing / Middlewares
๐ Data
- ๐ข Database (With SQLite support)
- ๐ข Models
- ๐ข FTP Directory
- ๐ข Queues support
- ๐ข Array object (for functional programming)
๐ Security
- ๐ข Authentication
- ๐ข CSRF
๐ Extras
- ๐ข Asset serving
- ๐ข Automatic CRUD API for Models
...and more ! The SharpExtension
repository got some additionnal features that can be used to make development faster