Skip to content

Instantly share code, notes, and snippets.

View jeff-silva's full-sized avatar
😷
Working from home

Jeferson Inácio jeff-silva

😷
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