I had the same problem. You probably answered no when you were promted
Would you like to install database support (installs laminas-db)? y/N
You might need to follow the installation and start again. https://docs.laminas.dev/tutorials/getting-started/skeleton-application/