A microservice example for TCKN validation based on epigra/tckimlik works with Symfony HttpFoundation.
Simply, install dependencies with composer install
then it's will be alive!
# Start server
php -S localhost:8000
# Send request with cURL
curl \
--verbose \
--request POST \
--header "Content-Type: application/json" \
--data '{"identity":"11111111111", "name":"john", "surname": "doe", "birth": 1980}' \
localhost:8000
# Or more simple request with HTTPie
http -v localhost:8000 identity=11111111111 name=john surname=doe birth=1980