How to Scrape Web Pages for Metadata

Learn how to make it simple for users to add links to your website by leveraging PHP to scrape metatags such as title and description from URLs.

Yii 2.0.11

Yii team released version 2.0.11 of the framework which includes more than 110 enhancement and bug fixes.

Yii2 Inspections for IntelliJ IDEA 1.0.0 released

The plugin for PhpStorm and Idea that was mentioned before at YiiFeed reached version 1.0.0.

New version, besides fixing issues and improving performance, adds a new option for reporting untranslated messages.

The release will be available after two day review by JetBrains. If you want to get updates for the plugin immediately without being review-delayed, rate the plugin at

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.