title: OctoberCMS and BotMan
body: <p>I want to integrate a chatbot (BotMan <strong>version 2.0</strong>) into an existing OctoberCMS project , here is what I did till now :</p>
  <p><strong>1-</strong> I added BotMan to the projct using the following command :</p>
  <pre><code>composer require botman/botman
  </code></pre>
  <p><strong>2-</strong> I created a <code>routes.php</code> file in the same directory as the <code>plugin.php</code> file</p>
  <pre><code>&lt;?php
  
  use BotMan\BotMan\BotMan;
  use BotMan\BotMan\BotManFactory;
  use BotMan\BotMan\Drivers\DriverManager;
  
  
  
  //Route::match(['get', 'post'], '/botman', 'BotManController@handle');
  //Route::get('/botman/tinker', 'October\Demo\BotManController@tinker');
  // Create an instance
  $botman = BotManFactory::create($config);
  
  // Give the bot something to listen for.
  $botman-&gt;hears('hello', function (BotMan $bot) {
      $bot-&gt;reply('Hello yourself.');
  });
  
  // Start listening
  $botman-&gt;listen();
  </code></pre>
  <p>My questions are :</p>
  <blockquote>
  <p>1- Where I have to add the BotManController.php file</p>
  <p>2- I tried to add BotManController.php in the same directory as the routes.php file but I get the following error :</p>
  </blockquote>
  <pre><code> Class 'App\Http\Controllers\Controller' not found
  </code></pre>
  <p>( and thats because its an OctoberCMS project not Laravel project ... I dont have the App directory )</p>
  <p>Can anyone please provide me a solution to that or another way to integrate Botman into OctoberCMS !</p>