title: Lumen 5.4 with Laravel Mailable
body: <p>Naive question: is there a way to use Artisan to create a Mailable class within Lumen framework like this: <code>php artisan make:mail OrderShipped</code> (example taken from the docs).</p>
  
  <p>Here is the <strong>composer.json</strong></p>
  
  <pre><code>{
  "name": "laravel/lumen",
  "description": "The Laravel Lumen Framework.",
  "keywords": ["framework", "laravel", "lumen"],
  "license": "MIT",
  "type": "project",
  "require": {
      "php": "&gt;=5.6.4",
      "laravel/lumen-framework": "5.4.*",
      "vlucas/phpdotenv": "~2.2",
      "firebase/php-jwt": "^4.0",
      "guzzlehttp/guzzle": "^6.3",
      "illuminate/mail": "5.4",
      "phanan/cascading-config": "~2.0"
  },
  "require-dev": {
      "fzaninotto/faker": "~1.4",
      "phpunit/phpunit": "~5.0",
      "mockery/mockery": "~0.9"
  },
  "autoload": {
      "psr-4": {
          "App\\": "app/"
      }
  },
  "autoload-dev": {
      "classmap": [
          "tests/",
          "database/"
      ]
  },
  "scripts": {
      "post-root-package-install": [
          "php -r \"copy('.env.example', '.env');\""
      ]
  },
  "minimum-stability": "dev",
  "prefer-stable": true
  }
  </code></pre>
  
  <p>This is how <strong>bootstrap/app.php</strong> has been modified (added all of these):</p>
  
  <pre><code>$app-&gt;withFacades( true, [
    'Illuminate\Support\Facades\Mail' =&gt; 'Mail',
  ]);
  
  $app-&gt;register(\Illuminate\Mail\MailServiceProvider::class);
  $app-&gt;configure('mail');
  $app-&gt;alias('mailer','Illuminate\Mail\Mailer');
  config('mail');
  </code></pre>
  
  <p>And this is what <code>php artisan</code> gives me:</p>
  
  <pre><code>Laravel Framework Lumen (5.4.7) (Laravel Components 5.4.*)
  
  Usage:
    command [options] [arguments]
  
  Options:
    -h, --help            Display this help message
    -q, --quiet           Do not output any message
    -V, --version         Display this application version
        --ansi            Force ANSI output
        --no-ansi         Disable ANSI output
    -n, --no-interaction  Do not ask any interactive question
        --env[=ENV]       The environment the command should run under
    -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  
  Available commands:
    help                Displays help for a command
    list                Lists commands
    migrate             Run the database migrations
   auth
    auth:clear-resets   Flush expired password reset tokens
   cache
    cache:clear         Flush the application cache
    cache:forget        Remove an item from the cache
    cache:table         Create a migration for the cache database table
   db
    db:seed             Seed the database with records
   make
    make:migration      Create a new migration file
    make:seeder         Create a new seeder class
   migrate
    migrate:install     Create the migration repository
    migrate:refresh     Reset and re-run all migrations
    migrate:reset       Rollback all database migrations
    migrate:rollback    Rollback the last database migration
    migrate:status      Show the status of each migration
   queue
    queue:failed        List all of the failed queue jobs
    queue:failed-table  Create a migration for the failed queue jobs database table
    queue:flush         Flush all of the failed queue jobs
    queue:forget        Delete a failed queue job
    queue:listen        Listen to a given queue
    queue:restart       Restart queue worker daemons after their current job
    queue:retry         Retry a failed queue job
    queue:table         Create a migration for the queue jobs database table
    queue:work          Start processing jobs on the queue as a daemon
   schedule
    schedule:run        Run the scheduled commands
  </code></pre>
  
  <p>I am on OS X El Capitan, Apache2, PHP 5.6.31</p>
  
  <p>So again, how (if at all) can I use artisan to make:mail? If this is not achievable without full-blown Laravel, is there a template to create Mailable classes? Will they be usable?</p>
  
  <p>Refs: </p>
  
  <ul>
  <li><a href="https://laravel.com/docs/5.4/mail#generating-mailables" rel="nofollow noreferrer">https://laravel.com/docs/5.4/mail#generating-mailables</a></li>
  <li><a href="https://scotch.io/tutorials/easy-and-fast-emails-with-laravel-5-3-mailables" rel="nofollow noreferrer">https://scotch.io/tutorials/easy-and-fast-emails-with-laravel-5-3-mailables</a></li>
  <li><a href="https://stackoverflow.com/questions/40728207/lumen-5-3-send-email">Lumen 5.3 send email</a> (no make:mail?)</li>
  </ul>