title: How to host a Laravel website on Netlify?
body: <p>I'm trying to host my Laravel website on <a href="https://www.netlify.com/docs/cli/" rel="nofollow noreferrer">Netlify</a>.</p>
  
  <p>I was originally using Laravel Forge to deploy and host my website.
  The deploy script that was used on Laravel forge was:</p>
  
  <pre><code>cd /home/forge/lucaban.com
  git pull origin master
  composer install --no-interaction --prefer-dist --optimize-autoloader
  echo "" | sudo -S service php7.1-fpm reload
  
  if [ -f artisan ]
  then
      php artisan migrate --force
  fi
  </code></pre>
  
  <p>Is there any way I can host the website on Netlify and run these composer commands? Because I think I can only insert NodeJS commands into the build command input.</p>
  
  <p>I have not yet succeeded getting my website live...</p>