Deployer revisited

Jacob Moen moved all his Yii projects deployment to Deployer and did a blog post with results, tips and tricks.

Interactive Yii 2.0 shell

An extension providing an interactive shell for Yii framework 2.0 based on psysh was adopted under yiisoft GitHub organization recently. There are no releases yet but you may already try it.

Yii 2.0 Cookbook: Canonical URLs

A new cookbook recipe tells about how to use canonical URLs in Yii to deal with duplicated content URLs.

Yii 2.0 Cookbook: CSRF

Another security article in Yii 2.0 Cookbook is about Cross-site request Forgery type of attack. It describes what the attack is and how Yii may protect you from it.

Yii 2.0 Cookbook: XSS

Fresh Yii 2.0 Cookbook describes what XSS security vulnerability is and how to deal with it.

materializecss for Yii2

Christoph Erdmann released production ready version of his Materialize CSS extension for Yii 2. It provides an alternative CSS framework to use instead of Bootstrap.

Yii 2.0 Cookbook: RBAC

The cookbook got a new article aiming to be more sequentional guide to role based access control emphasizing the most questioned parts of it.

Yii fork of jquery-pjax version 2.0.6 released

Yii fork of jquery-pjax just had a new release fixing bugs, adding enhancements and new options.

If your composer.json version isn't fixed to 2.0.5, run composer update in order to update the library. Else change the version and then run composer update.

Composer 1.0.0-beta1

Jordi Boggiano released first Composer beta. Yes, we've used enldess alphas before! That means more stability and some new features. My favorites are the following.

composer show now displays installed packages only, not all the packages available. By adding --tree we can get a nice installed packages tree. With composer why we can learn about why certain package was installed. And with composer why-not it's possible to get an idea why certain package wasn't installed in certain version.

Sandstorm. Build Yii 2 migrations phpMyAdmin style

Sandstorm is a desktop application that runs on NodeWebkit with ReactJS. Using it you can:

  • Create table structure in visual phpMyAdmin style
  • Generate migrations for Yii2
  • Run commands (migrate/up, gii/model, gii/crud) in project directory

Sandstorm