2017 © Pedro Peláez
 

symfony-bundle linebot-bundle

image

phakpoom/linebot-bundle

  • Wednesday, May 9, 2018
  • by phakpoom
  • Repository
  • 1 Watchers
  • 0 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Installation

@see https://igor.io/2013/02/07/composer-stability-flags.html, (*1)

Now you have to set require dependency like this during developing., (*2)

"require": {
  "sylius/grid": "1.2.x-dev",
  "sylius/grid-bundle": "1.2.x-dev",
  "linemob/core-php": "dev-master",
  "phpmob/changmin": "dev-node4",
  "phakpoom/linebot-bundle": "dev-master"
}

README.md

  1. LineBotBundle (CORE) SEE
  2. UserBundle SEE
  3. KeywordBundle SEE
  4. AdminBundle SEE

Testing

$ ./vendor/bin/phpunit
$ ./vendor/bin/behat

LineBotBundle provide behat context for testing response from line just add context see below:, (*3)

# behat.yml
default:
    FriendsOfBehat\ContextServiceExtension:
         imports:
              - "vendor/phakpoom/linebot-bundle/src/LineMob/Behat/Resources/config/services.xml" # add this

The Versions