Add the following to the main composer.json
"repositories": [
{
"type": "path",
"version": "dev-master",
"url": "/home/nghi/log-viewer"
}
],
"require": [
"louisitvn/log-viewer": "dev-master",
]
Then add the service to config/app.php
Then
php artisan config:cache