Voguepay Yii2 Extension

Yii2 wrapper for VoguePay Payment Processor Mobile/Server-to-Server and Command Api. Mobile/Server-to-Server API let you get a link token for payment by sending your merchant ID and other necessary parameters. Command API allows you to directly perfom several actions (fetch transactions details, pay a user, withdraw money to bank accounts, create a new user) on VoguePay from your application.

Using Yii2 extension in WordPress

An example of using Yii in a WordPress plugin. Weird thing to do and it definitely could be done better but may come in handy one day.

Yii 2 Inspections for IntelliJ IDEA

Yii 2 and Craft CMS 3 Inspections for PhpStorm/IdeaUltimate plugin reached public beta status. Created by Vladimir Reznichenko who previously created inavluable Php Inspections (EA Extended) plugin, Yii 2 Inspections is now able to check for:

  • Missing @property annotations, checks property feature annotations (has quick fix and settings)
  • Translation message correctness, checks if messages have translations and follows best practices (has settings)
  • Missing translations, checks translation files for missing translations (has quick fix)
  • Unused translations, checks translation files for unused translations (has quick fix)

Bug reports and feature ideas are welcome at issue tracker.

Yii 2 Support for IntelliJ IDEA

Vlad Nikishin posted a plugin for IntelliJ IDEA platform (including PhpStorm) which adds more Yii 2 support. For now features are:

  • Views (autocomplete, jump to view).
  • i18n (autocomplete, generate params array).

Post-processing response

New small but handy recipe in the community cookbook shows how to efficiently post-process response content. As an example, Wordpress-like short tags are implemented.

Programming With Yii2: Using the Debugger

Despite really old opening video from pre-release deubgger version, a good overview of the tool capabilities.

Recent security issues with PHPMailer and SwiftMailer

Recently three Remote Code Execution vulnerabilities were discovered in in PHPMailer and SwiftMailer.

All three mention Yii among the affected frameworks in the initial release, so Yii team commented on this to clarify who is affected and what action is required.

Programming With Yii2: Helpers

Tuts+ published fresh Yii 2.0 article about helpers: what they are, built-in ones, building a custom one.

Implementation of JSON API specification for the Yii framework

Anton Tuyakhov implemented JSON API specification. An extension has custom data serializer, supports content negotiation, HATEOAS links and JSON input.

Programming With Yii2: Routing and URL Creation

An overview of routing and URLs in Yii.