Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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)