承接 andrewlamers/chargify-laravel 相关项目开发

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

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

andrewlamers/chargify-laravel

最新稳定版本:v2.0.0

Composer 安装命令:

composer require andrewlamers/chargify-laravel

包简介

Laravel service provider for chargifys API using the chargley chargify SDK.

README 文档

README

This is a wrapper using the chargley chargify SDK. It creates a service provider and facade for autoloading into laravel.

How to Install

Laravel 5.0

  1. Install the andrewlamers/chargify-laravel package

    $ composer require andrewlamers/chargify-laravel
  2. Update config/app.php to activate ChargifyLaravel

    # Add `ChargifyLaravelServiceProvider` to the `providers` array
    'providers' => array(
        ...
        Andrewlamers\ChargifyLaravel\ChargifyLaravelServiceProvider::class,
    )
    
    # Add the `ChargifyLaravelFacade` to the `aliases` array
    'aliases' => array(
        ...
        'Chargify' => Andrewlamers\ChargifyLaravel\ChargifyLaravelFacade::class
    )
  3. Generate a template Chargify config file

    $ php artisan vendor:publish
  4. Update app/config/chargify.php with your chargify API Information

    return array(
        'hostname' => 'mysite.chargify.com',
        'api_key' => 'my chargify api key',
        'shared_key' => 'my chargify shared key'
    );

Laravel 4.2

  1. Install the andrewlamers/chargify-laravel 1.* version

    $ composer require andrewlamers/chargify-laravel:1.*
  2. Update config/app.php to activate ChargifyLaravel

    # Add `ChargifyLaravelServiceProvider` to the `providers` array
    'providers' => array(
        ...
        'Andrewlamers\ChargifyLaravel\ChargifyLaravelServiceProvider'
    )
    
    # Add the `ChargifyLaravelFacade` to the `aliases` array
    'aliases' => array(
        ...
        'Chargify' => 'Andrewlamers\ChargifyLaravel\ChargifyLaravelFacade'
    )
  3. Generate a template Chargify config file

    $ php artisan config:publish andrewlamers/chargify-laravel
  4. Update app/config/packages/andrewlamers/chargify-laravel/config.php with your chargify API Information

    return array(
        'hostname' => 'mysite.chargify.com',
        'api_key' => 'my chargify api key',
        'shared_key' => 'my chargify shared key'
    );

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache
  • 更新时间: 2015-10-21