On a new Laravel 5 install on a mac, i received the following error after setting the virtual hosts and .env files
Fatal error: Call to undefined function database_path() in /Library/WebServer/Documents/laraveltest/config/database.php on line 51
The line 51 contains the following:
'database' => env('DB_DATABASE', database_path('database.sqlite')),
changing it to
'database' => 'dbname',
results in the following error
FatalErrorException in ProviderRepository.php line 150:
Class 'Collective\Html\HtmlServiceProvider' not found
any help is much appreciated