A RESTful User Service API and its implementation.
composer
vagrant
First add the following entry to your /etc/hosts or C:\Windows\System32\drivers\etc\hosts:
192.168.56.56 homestead.test
Then run the following commands to create Homestead.yaml:
composer install
vendor/bin/homestead make --ip 192.168.56.56
Then ensure .env have values like
APP_URL=https://homestead.test
GITHUB_CLIENT_ID=0123456789abcdef0123
GITHUB_CLIENT_SECRET=0123456789abcdef0123456789abcdef01234567
And run finally
vagrant up --provision
To Xdebug Lusp, run xon
and then edit /etc/php/8.1/cli/conf.d/20-xdebug.ini on your Homestead VM as follows:
--- a
+++ b
@@ -1,5 +1,7 @@
zend_extension=xdebug.so
xdebug.mode = debug
+xdebug.start_with_request = yes
xdebug.discover_client_host = true
+xdebug.client_host = 10.0.2.2
xdebug.client_port = 9003
xdebug.max_nesting_level = 512
Then execute systemctl restart php8.1-fpm.service
.
The worktree to the commit d72e3a8 has been licensed under MIT.