creode/laravel-nova-meet-the-team 问题修复 & 功能扩展

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

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

creode/laravel-nova-meet-the-team

最新稳定版本:1.11.0

Composer 安装命令:

composer require creode/laravel-nova-meet-the-team

包简介

Add Meet the Team feature to your Laravel Nova application.

README 文档

README

Module for Laravel Nova to allow a user to add different team members to a website.

Installation

You can install this package via composer using this command:

composer require creode/laravel-nova-meet-the-team

The package will automatically register itself.

Meet the Team Page

This module also has the capability of rendering a page of all teams by visiting "/meet-the-team". To enable this, you can add this service provider to the providers section of your config/app.php file:

'providers' => [
    ...
    Creode\LaravelNovaMeetTheTeam\Providers\MeetTheTeamServiceProvider::class,
    ...
],

Usage

Publishing Migrations

You can publish the migrations this module exposes with:

php artisan vendor:publish --tag="nova-meet-the-team-migrations"

Publishing Config

You can publish the config this module exposes with:

php artisan vendor:publish --tag="nova-meet-the-team-config"

Configuring Models

You can configure the models this module uses by publishing the config and editing the config file. This allows for the capability to use your own models for the team members and teams.

The suggested way to interact with these models is to use the repository classes that are provided by this module. These can be accessed by using the following classes:

use Creode\LaravelNovaMeetTheTeam\Repositories\TeamRepository;
use Creode\LaravelNovaMeetTheTeam\Repositories\TeamMemberRepository;

These repositories as based on the Laravel Repository package.

Ordering by Weight

The team members can be ordered by weight. This is a field that is added to the team members table.

You can order the team members by weight by using the following snippet:

$teams = $teamRepository->with('members')->ordered()->get();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固