https://github.com/yonis-savary/sharp
Simple & Intuitive framework for PHP8
https://github.com/yonis-savary/sharp
framework mvc php8
Last synced: 2 months ago
JSON representation
Simple & Intuitive framework for PHP8
- Host: GitHub
- URL: https://github.com/yonis-savary/sharp
- Owner: yonis-savary
- License: apache-2.0
- Created: 2024-10-09T07:42:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-17T21:33:33.000Z (over 1 year ago)
- Last Synced: 2025-07-15T18:20:30.237Z (9 months ago)
- Topics: framework, mvc, php8
- Language: PHP
- Homepage:
- Size: 432 KB
- Stars: 0
- 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
## Welcome !
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, making a framework that can work with your IDE and doesn't use magic syntaxes or unnecessary complexity layers.
## 📚 Documentation and Tutorials
You can find resources to work/learn with Sharp in the [`docs/` directory](./docs/README.md)
## 📦 Get Sharp
```bash
composer create-project yonis-savary/sharp-project NewProject
cd NewProject
php do serve
```
Your directory will look like
- `.git/`
- `MyProject/`
- `Public/`
- `vendor/`
- `.gitignore`
- `composer.json`
- `composer.lock`
- `do`
- `sharp.php`
## Release's features
- 🟢 - tested feature
- 🔵 - tested feature (some edge-case tests may be missing)
- 🟡 - untested feature
🫀 Core
- 🟢 Configuration (sharp.php)
- 🟢 Caching
- 🟢 Logging
- 🟢 Events
- 🟢 CLI Commands (With base utilities commands)
- 🔵 CLI build system
- 🟢 Tests
🌐 Web
- 🟢 Session
- 🟢 Request / Responses
- 🔵 Request Fetch (CURL)
- 🟢 Controllers
- 🔵 Renderer
- 🟢 Routing / Middlewares
📁 Data
- 🟢 Database (With SQLite support)
- 🔵 Simple migration system
- 🟢 Models
- 🟢 FTP directory support
- 🟢 Queues support
- 🟢 Array object (for functional programming)
🔐 Security
- 🟢 Authentication
- 🟢 CSRF
🚀 Extras
- 🟢 Simple assets serving
- 🔵 Node modules dist file serving !
- 🟢 Automatic CRUD API for your models
- 🟢 Scheduler system
...and more ! The [`SharpExtension`](https://github.com/yonis-savary/sharp-extensions) repository got some additionnal features that can be used to make development faster
# Next release objectives
- [x] Scheduler system
- [x] New request validation system
- [x] Command rework
- [x] Framework installation rework
- [ ] Test every framework commands
- [ ] Test app creation/integration
- [ ] Test caching & benchmark performances