Answers for "run php artisan on server"

PHP
5

php artisan serve

The full command works like this:

php artisan serve --host=<host IP address> --port=<port to use>

php artisan serve --host=127.0.0.1 --port=8080
Posted by: Guest on July-01-2020
0

php run server laravel

Route::get('users', function()
{
    $users = User::all();

    return View::make('users')->with('users', $users);
});
Posted by: Guest on January-27-2021

Browse Popular Code Answers by Language