定制 axn/laravel-laroute 二次开发

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

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

axn/laravel-laroute

最新稳定版本:1.8.0

Composer 安装命令:

composer require axn/laravel-laroute

包简介

Extend aaronlord/laroute package.

README 文档

README

This package is an extension of lord/laroute to lighten the laroute.js file by providing only the names and URLs of the routes; the other properties (host, methods, action) are useless in most cases. Also we think that it is not safe to expose the paths of the classes of the application; so we are more secure as well.

Installation

Install the package with Composer:

composer require axn/laravel-laroute 

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just add the service provider to the array of providers in config/app.php:

'providers' => [ // ... Axn\Laroute\ServiceProvider::class, ],

Usage

See the reader of aaronlord/laroute: https://github.com/aaronlord/laroute

The difference is that the action and link_to_action methods are no longer usable as the road actions have been removed from laroute.js.

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04