yuges-code/laravel-orderable 问题修复 & 功能扩展

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

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

yuges-code/laravel-orderable

最新稳定版本:1.0.2

Composer 安装命令:

composer require yuges-code/laravel-orderable

包简介

📶 Order generation for Laravel eloquent models

README 文档

README

Build GitHub Branch Check Runs GitHub Tests Action Status Project GitHub Release Packagist Downloads GitHub License Packagist Stars Packagist Dependency Version Quality

Laravel Orderable

📶 Order generation for Laravel eloquent models


💿 Installation

→ Composer

You can install the package via composer:

composer require yuges-code/laravel-orderable

→ Publishing Config

Publishing the config file (config/orderable.php) is optional:

php artisan vendor:publish --provider="Yuges\Orderable\Providers\OrderableServiceProvider" --tag="orderable-configs"

→ Changing Migrations

You need to change the migration to create the order column:

$table->unsignedInteger('order')->default(1)->index();

or

$table->order();

→ Running Migrations

After that, you need to run migrations:

php artisan migrate

🧪 Running Tests

→ PHPUnit tests

To run tests, run the following command:

composer test

⚖️ License

The MIT License (MIT). Please see License File for more information.


🙆🏼‍♂️ Authors Information

Created in 2025 by:

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固