Order domain when it becomes available for registration via WebSupport API v1 https://rest.websupport.sk/docs/v1.intro
- Run
composer require websupport/domain-catcher
- Copy
vendor/websupport-sk/domain-catcher/.env.example
to.env
- Update API
identifier
,secret
anduser ID
in.env
with your own from https://admin.websupport.sk/en/auth/security-settings
- Run
composer install
- Copy
.env.example
to.env
- Replace API identifier, secret and user ID in
.env
with your own from https://admin.websupport.sk/en/auth/security-settings - Set
DRY_RUN
totrue
if you want to test the script without actually ordering the domain.
Set cron to URL http://localhost:8000/cron/?domains[]=test.sk&domains[]=test2.sk&...
Append query param XDEBUG_SESSION=1
to the URL to enable debug mode.