定制 phphleb/radjax 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

phphleb/radjax

Composer 安装命令:

composer require phphleb/radjax

包简介

Ajax- and API-router for Micro-Framework HLEB

README 文档

README

RADJAX LOGO

The Radjax is not included in the original configuration of the framework HLEB, so it must be copied to the folder with the vendor/phphleb libraries from the github.com/phphleb/radjax repository or installed using Composer:

$ composer require phphleb/radjax

Connection to the project in /routes/radjax.php (are priority)

Radjax\Route::get("/info/", ["get"], "App\Controllers\TestController@index", ["protected"=>false]);

// and advanced customization

Radjax\Route::get("/weather/{y}/{m}/{d}/{h?}/", ["get","post"], "App\Controllers\TestController@weather", ["protected"=>true, "where"=>["y"=>"[0-9]+", "m"=>"[0-9]+", "d"=>"[0-9]+", "h"=>"[0-9]+"], "session_saved" => false]);

Connection separate from HLEB :

// require or through classes autoloader

require '/vendor-directory/phphleb/radjax/Route.php';

require '/vendor-directory/phphleb/radjax/Src/RCreator.php';

require '/vendor-directory/phphleb/radjax/Src/App.php';

// Initialization with the path to the route file.
// If the route was found, boolean `true` will be returned, else `false`.
$isActive = (new Radjax\Src\App(['/path-to-directory/routes/radjax-route.php']))->get();

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固