Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yonis-savary/sharp-php
PHP Framework, light, clean code
https://github.com/yonis-savary/sharp-php
framework mvc php php8
Last synced: about 2 months ago
JSON representation
PHP Framework, light, clean code
- Host: GitHub
- URL: https://github.com/yonis-savary/sharp-php
- Owner: yonis-savary
- License: apache-2.0
- Created: 2023-07-28T16:29:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-19T12:20:09.000Z (over 1 year ago)
- Last Synced: 2023-10-19T13:10:32.102Z (over 1 year ago)
- Topics: framework, mvc, php, php8
- Language: PHP
- Homepage:
- Size: 493 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: Docs/security/authentication.md
Awesome Lists containing this project
README
# 🧊 sharp-php
> [!IMPORTANT]
> This project is still under developmentSharp 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
## 📚 Documentation and Tutorials
You can find resources to work/learn with Sharp in the [Docs directory](./Docs)
## 📦 Create a project
```bash
mkdir MyProject
cd MyProjectgit 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 MyProjectphp do serve
```This script :
1. Copy Sharp and its Test suite
2. Copy the `Public` directory and `do` script
3. Create an empty application named `MyProject`Your directory will look like
- `MyProject/`
- `Public/`
- `Sharp/`
- `.git/`
- `do`
- `sharp.json`
- `.gitignore`
- `.gitmodules`## Release's features
- 🟢 - 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`](https://github.com/yonis-savary/sharp-extensions) repository got some additionnal features that can be used to make development faster