Git Product home page Git Product logo

Comments (11)

ranrinc avatar ranrinc commented on August 26, 2024 1

Again thanks @gundamew

from botman-driver-line.

gundamew avatar gundamew commented on August 26, 2024

I recommend you to create the base project with BotMan Studio:

composer create-project --prefer-dist botman/studio <directory>

Then you can load the driver via Composer. See: Loading a package from a VCS repository section.

For example:

{
    "require": {
        "gundamew/botman-driver-line": "dev-master",
    },
    "repositories": [
        {
            "type": "path",
            "url": "../botman-driver-line"
        }
    ]
}

Finally, run Composer and the driver configurations will published automatically.

from botman-driver-line.

ranrinc avatar ranrinc commented on August 26, 2024

Hi @gundamew,

thanks for the help.. I did install botman using botman studio will try to load the driver via VCS.. btw is there anything else that I need to know? I mean when you say run Composer?

thanks.

from botman-driver-line.

gundamew avatar gundamew commented on August 26, 2024

Oh, I mean run composer install or composer update after editing composer.json file, and the Composer scripts will publish the driver configurations automatically.

from botman-driver-line.

ranrinc avatar ranrinc commented on August 26, 2024

@gundamew hi there.. so sorry would really love to implement botman into line. However still did not get how to install. repository would be to this github? Furthermore is there a step to install the driver into botman? php artisan botman:install-driver line ?? Very nubie and would like to have line on my messenger list. Thanks

from botman-driver-line.

gundamew avatar gundamew commented on August 26, 2024

This BotMan driver is an unofficial driver so you can not install it via BotMan. You have to install it manually.

If you want to try this driver, you should know how to require Composer package locally at least.

from botman-driver-line.

ranrinc avatar ranrinc commented on August 26, 2024

@gundamew put the json and then run composer update... with error.. What did I do wrong?

Screen Shot 2019-03-12 at 11 46 57 AM

this is my json

{
    "name": "botman/studio",
    "description": "BotMan Chatbot framework.",
    "keywords": [
        "botman",
        "chatbot",
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": "^7.1.3",
        "botman/botman": "~2.0",
        "botman/driver-facebook": "^1.9",
        "botman/driver-telegram": "^1.5",
        "gundamew/botman-driver-line": "dev-master",
        "botman/driver-web": "~1.0",
        "botman/studio-addons": "~1.3",
        "botman/tinker": "~1.0",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "5.7.*",
        "laravel/tinker": "^1.0"
    },
    "require-dev": {
        "beyondcode/laravel-dump-server": "^1.0",
        "filp/whoops": "~2.0",
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^2.0",
        "phpunit/phpunit": "^7.0"
    },
    "autoload": {
        "classmap": [
            "database/seeds",
            "database/factories"
        ],
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "extra": {
        "laravel": {
            "dont-discover": [
            ]
        }
    },
    "scripts": {
        "post-root-package-install": [
            "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ],
        "post-install-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postInstall",
            "BotMan\\Studio\\Providers\\DriverServiceProvider::publishDriverConfigurations"
        ],
        "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
            "BotMan\\Studio\\Providers\\DriverServiceProvider::publishDriverConfigurations"
        ],
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover"
        ]
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true
    },
    "repositories": [
        {
            "type": "path",
            "url": "../botman-driver-line"
        }
    ],
    "minimum-stability": "dev",
    "prefer-stable": true
}

from botman-driver-line.

gundamew avatar gundamew commented on August 26, 2024

Did you download the driver before running Composer? Please read the “Repositories” chapter in Composer document for more information.

from botman-driver-line.

ranrinc avatar ranrinc commented on August 26, 2024

@gundamew got it... have it working... yay.... is there a specific line only tags? like making a horizontal carrousel?

from botman-driver-line.

gundamew avatar gundamew commented on August 26, 2024

I did not write any document. Please check LINE Messaging API document and read the code stored in src/Extensions path.

And remember this repository is still work in progress, the code may change in the future.

from botman-driver-line.

gundamew avatar gundamew commented on August 26, 2024

@ranrinc if you have installed the driver successfully. Please close this issue. Thanks. 😄

from botman-driver-line.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.