定制 angel/carousels 二次开发

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

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

angel/carousels

Composer 安装命令:

composer require angel/carousels

包简介

An Angel CMS module for carousels.

README 文档

README

This is a module for the Angel CMS.

Installation

Add the following requirements to your composer.json file:

"require": {
    "angel/carousels": "dev-master"
},

Issue a composer update to install the package.

Add the following service provider to your providers array in app/config/app.php:

'Angel\Carousels\CarouselsServiceProvider'

Issue the following command:

php artisan migrate --package="angel/carousels"
php artisan asset:publish  angel/carousels

Finally, open up your app/config/packages/angel/core/config.php and add the module to the menu array:

'menu' => array(
	'Pages'		=> 'pages',
	'Menus'		=> 'menus',
	'Carousels'	=> 'carousels', // <--- Add this line
	'Users'		=> 'users',
	'Settings'	=> 'settings'
),

Usage

    <?php
        $Carousel = App::make('Carousel');
        $carousel = $Carousel::find(1);
    ?>
    @include('carousels::render')

If you need to modify the default display or carousel options:

php artisan asset:publish angel/carousels
php artisan view:publish angel/carousels

And edit views/packages/angel/carousels/render.blade.php

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 5
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-08-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固