Source: https://stackoverflow.com/questions/31671067/check-table-exists
https://www.yiiframework.com/doc/api/2.0/yii-db-exception
https://www.yiiframework.com/doc/api/2.0/yii-db-connection#open()-detail
I was surprised that Yii2 did not have .env support out of the box. Here is how to add it.
You first need to add Yii 2 Core Bower Asset
https://github.com/yidas/yii2-bower-asset
Then you can require yii2
I am nuts about books. I read on all kinds of topics. I attempt to review each book I read for the sake of my own enrichment as well as conversation starters with others.
You never know what you will find in an attic! Usually there is a hodgepodge of things buried under dust.
Most of what is included here are notes to myself. The majority of folks will not find interest in these posts.