Skip to content

Instantly share code, notes, and snippets.

View ejlocop's full-sized avatar
🏠
Working from home

Eric Locop ejlocop

🏠
Working from home
View GitHub Profile
@ejlocop
ejlocop / ServeCommand.php
Created January 31, 2018 07:32
set a default laravel php artisan serve host and port.
<?php
namespace Illuminate\Foundation\Console;
use Illuminate\Console\Command;
use Symfony\Component\Process\ProcessUtils;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Process\PhpExecutableFinder;
class ServeCommand extends Command