承接 carloscsrm/sharelaravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

carloscsrm/sharelaravel

Composer 安装命令:

composer require carloscsrm/sharelaravel

包简介

Share content in Facebook and Twitter

README 文档

README

Plugin for Laravel 4 just to share content in Facebook and Twitter

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License

Installation

  1. Add carloscsrm/sharelaravel to composer.json.

"carloscsrm/sharelaravel": "dev-master"

  1. Run composer update to pull down the latest version of Share-Laravel.

  2. Now open up app/config/app.php and add the service provider to your providers array.

'providers' => array( 'Carloscsrm\Sharelaravel\SharelaravelServiceProvider', ),

The Alias is automatically added by the system, you don't need add it manually. The alias is Sharelaravel

Configuration

Run php artisan config:publish carloscsrm/sharelaravel and modify the config file with your own information.

Usage

For using this package you can add this code in your templates

{{Sharelaravel::render($your_url, array('twitterVia'=>'your_twitter_account', 'textToShare'=>'Your text for twitter')) }}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-21