Yii2 Commands

April 29, 2020

Install Yii

Check if Table Exists

Source: https://stackoverflow.com/questions/31671067/check-table-exists

Database Exception Class

https://www.yiiframework.com/doc/api/2.0/yii-db-exception

Database Connection Class

https://www.yiiframework.com/doc/api/2.0/yii-db-connection#open()-detail

Adding Yii2 .env support

I was surprised that Yii2 did not have .env support out of the box. Here is how to add it.

Adding Yii2 to your PHP project with Composer Require

You first need to add Yii 2 Core Bower Asset

https://github.com/yidas/yii2-bower-asset

Then you can require yii2

Password Hidden Prompt

Book Reviews

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.

My Book Reviews
The Attic

You never know what you will find in an attic! Usually there is a hodgepodge of things buried under dust.

Explore the Attic
Technology

Most of what is included here are notes to myself. The majority of folks will not find interest in these posts.

Technology Posts