botman / tinker

Gives your Laravel chatbot the ability to try your chatbot in your local terminal.
100 stars 57 forks source link

can't install in laravel 10 #21

Open polodev opened 1 year ago

polodev commented 1 year ago

can't install in laravel 10

muath-ye commented 11 months ago

I installed it as symlink, the following steps to get it in your project:

1- update your root composer.json as following:

{
    "name": "laravel/laravel",
    // ...
    "require": {
         // ...
        "botman/tinker": "*",
        // ...
    },
    // ...
    "repositories": [
        {
            "type": "path",
            "url": "./packages/tinker"
        }
    ]
}

2- And copy the content of current [https://github.com/botman/tinker/](botman/tinker] repo into ./packages/tinker as following image: image

3- update the packages/tinker/composer.json with the version of latest tag as following: image