obydul/larable 问题修复 & 功能扩展

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

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

obydul/larable

最新稳定版本:v1.4.1

Composer 安装命令:

composer require obydul/larable

包简介

Collection of morphable features and packages for Laravel application.

README 文档

README

Collection of morphable features and packages for Laravel application.

CI

Installation

composer require obydul/larable

Configuration

This step is optional

php artisan vendor:publish --provider="Obydul\\Larable\\LarableServiceProvider" --tag=config

Migrations

You need to publish the migration files for use the package:

php artisan vendor:publish --provider="Obydul\\Larable\\LarableServiceProvider" --tag=migrations

Collections

The available morphable packages/features.

Service Name Feature/Package Description
Like laravel-like:v5.1.1 User like feature feature.
Follow laravel-follow:v5.1.0 User follow unfollow feature .
Subscribe laravel-subscribe:v4.2.0 User subscribe unsubscribe feature.
Favorite laravel-favorite:v5.1.0 User favorite unfavorite feature.
Vote laravel-vote:v3.1.0 User voting feature.

Cleanup Unused Services

Currently, there are 5 services. We will keep adding more services. The chances are good that you will not want them all. In order to avoid shipping these dependencies with your code, you can run the Obydul\Larable\Task\Composer::cleanup task and specify the services you want to keep in composer.json:

{
    "require": {
        "obydul/larable": "^1.1"
    },
    "scripts": {
        "pre-autoload-dump": "Obydul\\Larable\\Task\\Composer::cleanup"
    },
    "extra": {
        "obydul/larable": [
            "Like",
            "Follow"
        ]
    }
}

This example will remove all services other than "Like" and "Follow" when composer update or a fresh composer install is run.

IMPORTANT: If you add any services back in composer.json, you will need to remove the vendor/obydul/larable directory explicitly for the change you made to have effect:

rm -r vendor/obydul/larable
composer update

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-24