composer require laravel/passport --with-all-dependencies
composer setup
container-compose build
container exec breeze_app composer setup
composer test
sudo php artisan serve --host 192.168.1.4 --port 80
sudo php artisan serve --host 0.0.0.0 --port 80
We will need to install apfd
to handle form data in PUT
and PATCH
method.
pecl channel-update pecl.php.net
pecl install apfd
Add the following extension to the php.ini
extension=apfd.so
/(.*)
forward to/
/api/(.*)
forward to/api
{
"routes": [
{
"src": "/(.*)",
"dest": "/api/index.php"
},
{
"src": "/api/(.*)",
"dest": "/api/index.php"
}
]
}