SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known (SQL: insert into `users` code example
Example: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
Check your DB_HOST on your .env file
DB_HOST=http://localhost/ --> DB_HOST=localhost