定制 litecms/contact 二次开发

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

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

litecms/contact

最新稳定版本:v10.1.1

Composer 安装命令:

composer require litecms/contact

包简介

Contact package for litecms.

README 文档

README

Lavalite package that provides contact management facility for the cms.

Installation

Run the below command form the root folder of lavalite.

    composer require "litecms/contact"

Migration and seeds

    php artisan migrate
    php artisan db:seed --class=Litecms\\Contact\\Seeders\\ContactTableSeeder

Publishing

  • Configuration
    php artisan vendor:publish --provider="Litecms\Contact\Providers\ContactServiceProvider" --tag="config"
  • Language
    php artisan vendor:publish --provider="Litecms\Contact\Providers\ContactServiceProvider" --tag="lang"
  • Views
    php artisan vendor:publish --provider="Litecms\Contact\Providers\ContactServiceProvider" --tag="view"

URLs and APIs

Web Urls

  • Admin
    http://path-to-route-folder/admin/contact/{modulename}
  • User
    http://path-to-route-folder/user/contact/{modulename}
  • Public
    http://path-to-route-folder/contacts

API endpoints

These endpoints can be used with or without /api/ And also the user can be varied depend on the type of users, eg user, client, admin etc.

Resource

  • List
    http://path-to-route-folder/api/user/contact/{modulename}
    METHOD: GET
  • Create
    http://path-to-route-folder/api/user/contact/{modulename}
    METHOD: POST
  • Edit
    http://path-to-route-folder/api/user/contact/{modulename}/{id}
    METHOD: PUT
  • Delete
    http://path-to-route-folder/api/user/contact/{modulename}/{id}
    METHOD: DELETE

Public

  • List
    http://path-to-route-folder/api/contact/{modulename}
    METHOD: GET
  • Single Item
    http://path-to-route-folder/api/contact/{modulename}/{slug}
    METHOD: GET

Others

  • Report
    http://path-to-route-folder/api/user/contact/{modulename}/report/{report}
    METHOD: GET
  • Export/Import
    http://path-to-route-folder/api/user/contact/{modulename}/exim/{exim}
    METHOD: POST
  • Action
    http://path-to-route-folder/api/user/contact/{modulename}/action/{id}/{action}
    METHOD: PATCH
  • Actions
    http://path-to-route-folder/api/user/contact/{modulename}/actions/{action}
    METHOD: PATCH
  • Workflow
    http://path-to-route-folder/api/user/contact/{modulename}/workflow/{id}/{transition}
    METHOD: PATCH

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-20