Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yusufusta/rasba
RasBa, makes it easy to create web sites with PHP.
https://github.com/yusufusta/rasba
framework javascript php php7 web webframework
Last synced: 3 months ago
JSON representation
RasBa, makes it easy to create web sites with PHP.
- Host: GitHub
- URL: https://github.com/yusufusta/rasba
- Owner: yusufusta
- License: gpl-3.0
- Created: 2020-11-14T18:30:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-19T11:39:30.000Z (over 3 years ago)
- Last Synced: 2024-11-02T08:11:39.657Z (3 months ago)
- Topics: framework, javascript, php, php7, web, webframework
- Language: PHP
- Homepage:
- Size: 51.8 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RasBa
Build fast, small, uncomplicated websites. Bridge with PHP and JS.
## ✨ Features
> With RasbaHTML, the page is almost blank. All texts and variables are added while the page is loading (with RasbaJS). You can disable it.
- [x] Router
- [x] Easy, small
- [x] Anti-Scrap / RasbaJs
- [x] [DataBase](https://github.com/paragonie/easydb)
- [x] [Template Engine](https://latte.nette.org/)
- [ ] More JS function## 📦 Install
You can easily install with [Composer](https://getcomposer.org/).
```sh
composer require yusufusta/rasba
```## 🔎 Examples
You should check [examples](https://github.com/Quiec/RasBa/tree/master/examples) folder. Also simple a title:
```php
get('/', function ($Rasba) {
$Rasba->h1('Hello World!')->toBody();
});$Rasba->run();
```## ✏ .htaccess
You need edit `.htaccess` file like this:
```
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
```> index.php should be your rasba file.
## ✅ To-Do
- [ ] Documantion
## 👨💻 Author
[Yusuf Usta](https://github.com/quiec)