In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for devel...
The only differences in Yii 2 is that its much simpler due to available functions in the Model class for loading and validating models.
Alternatively, inline assets (JS/CSS) can be registered at runtime from within the
Step 1: Initialize the Bootstrap Tooltip & Popover plugins in your view layout file
@web\views\layouts\main.php. Add this to somewhere in the beginning head section (after you have loaded the Jquery using your AppAsset or something similar).
composer update does not fetch any new packages (even though the source is updated)
composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.