yusufusta/rasba 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

📦 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

Yusuf Usta

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2021-02-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固