yusufusta/rasba
Composer 安装命令:
composer require yusufusta/rasba
包简介
RasBa, makes it easy to create web pages with PHP.
README 文档
README
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.
- Router
- Easy, small
- Anti-Scrap / RasbaJs
- DataBase
- Template Engine
- More JS function
📦 Install
You can easily install with Composer.
composer require yusufusta/rasba
🔎 Examples
You should check examples folder. Also simple a title:
<?php require __DIR__ . '/vendor/autoload.php'; $Rasba = new Rasba\Router(); $Rasba->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
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-02-14