skip to Main Content

Run Horizon by Supervisord in Laradock

Laradock needs to be set up to work with Supervisor. Here is how to Run Horizon by Supervisord in Laradock .   Supervisord Configuration To Run Horizon by supervisord in…

Laradock SQLSTATE[HY000] [2002] Connection Timed Out

Laradock SQLSTATE[HY000] [2002] Connection timed out

Somtimes tinkering with Laradock containers you may get a SQLSTATE[HY000] [2002] Connection timed out or to be more specifically Illuminate\Database\QueryExceptionPOST /login SQLSTATE[HY000] [2002] Connection timed out (SQL: select * from…

Removing Failed Jobs in Laravel Horizon

Removing Failed Jobs in Laravel Horizon, how is that done really? First you will notice you can restart jobs, but you cannot remove them. And if you had quite a…

Laravel Forge Server Files Sync

Laravel Forge Server Files Sync using rsync is the way to go to quickly synchronize files between servers. Just do a simple ssh -o ForwardAgent=yes forge@origin.com "rsync -aze 'ssh -o…

BrowserSync and Laravel

To install Browser Sync in Laravel run npm i -D browser-sync Webpack Tweak in webpack.mix.js add mix.browserSync('laravel.test'); or one with the url you are using to the bottom of the file…

Laravel Git Tricks

Laravel Git Tricks

There are many git commands you need to run your Laravel projects well. Here are Laravel Git Tricks that I am sure you cannot live without List all branches of…

Laravel Logs

Laravel Logs

Laravel Logs are normally decided in config/app.php and your .env file.  Let's go through all the configuration options here and how you can set up logging locally properly as well…

Laravel Deployer Multiple Hosts

Laravel Deployer Multiple Hosts

Most of us will wind up wanting a Laravel Deployer Multiple Hosts setup. You start out development on one test or staging server, but you often need another production server…

Laravel Cors Setup

Laravel Cors Setup

Laravel Cors setup is quite easy with the awesome package by Barry. There a few basic steps to take and you can deal with Cross Origin Resource Sharing (Not to…

Back To Top