An open API service indexing awesome lists of open source software.

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

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