Dec 18, 2017


Extension for making, creating and storing your models in database

Make, create and store models in database. Another way to work with fixtures in Yii 2.

Dec 13, 2017


LUYA CMS Version 1 ready for download


Today, after more than two years of development, we are proud to announce the release of version 1.0 of LUYA. Along the way to this milestone, the system has seen 6'500 commits, 16 alpha releases, 8 beta releases and 4 release candidates. 35 developers have contributed to the source code and provided translations for 10 languages. LUYA has been downloaded 79'565 times (over all modules) and has been used for more than 100 web projects (we know of), some popular high-traffic websites among them. But more important than looking back is looking forward to the further development and adoption of LUYA and the growth of its community in the months and years to come!


Why use LUYA for your next web project?

These are just some of the advantages:

  • building upon the solid and popular Yii framework, LUYA offers a clear and modular architecture that can easily be extended to any needs
  • console commands for scaffolding, content synchronization, deployment and other tasks let developers (and clients) save time and money
  • pro-active error reporting helps discovering and ironing out bugs
  • LUYA is well-tested and includes state-of-the-art security measures
  • a comprehensive and continually extended guide and API documentation makes learning the ins and outs of LUYA a breeze
  • the administration UI is clearly structured and easy to use
  • LUYA is and will always be free to use

Give LUYA a try! We provide kickstarter repositories as well as a an online demo.

LUYA 1.0 includes the following components in stable release:

  • core: is the foundation upon which all modules build their specific functionality
  • admin: provides an administration user interface with login screen, user and permission management, CRUD views, full text search and many other features that can be extended by other modules
  • cms: extends the web application framework to be a powerful and versatile content management system
  • deployer: makes it painless to deploy projects to several environments using console commands (and to roll back to the previous version within seconds should anything go wrong)
  • testsuite: provides PHPUnit test cases and a built-in web server to test applications, modules, components, APIs and classes
  • errorapi: sends exceptions to custom error APIs, enabling notifications through email, Slack and other channels
  • frontendgroup: allows to restrict web page access in the frontend to specific user groups and their users
  • crawler: feeds the full-text search of a website by crawling its pages and creating an index that can be influenced by special markup in the source code of the pages
  • remoteadmin: collects data from multiple LUYA installations (that can be located on different hosting environments) and combines it on an overview screen
  • styleguide: creates a visual catalog of all design modules implemented as luya/web/Element components
  • contactform: makes the creation of contact forms (as well as other types of online forms) a simple and quick task
  • gallery: extends LUYA with the possibility to place image galleries on web pages
  • news: provides basic news features with overview and detail views, categories and tags

LUYA 1.0 includes common content blocks and widgets that are available in two flavors as separate repositories: generic and bootstrap3. Complement these with your own specific blocks and widgets.


Additions and enhancements since RC4 include:

  • Cross Origin Resource Sharing (CORS) can be enabled to accept AJAX requests from other domains
  • The local file system can be swapped for other storages like Amazon's EC2
  • The link plugin can target mail addresses and storage files besides menu items and external URLs
  • Web pages can be scheduled to become active and inactive at specific dates and times
  • Web page content can be accompanied by microdata in JSON-LD format
  • The tabs to open relational data in CRUD views have been improved (they open automatically and are labelled)
  • The administration UI includes the feature to define variables (key/value) that can be used throughout the frontend and elsewhere
  • URL redirections can be defined directly in the administration UI (e.g. to forward old URLs or to provide short URLs for communication purposes)
  • The administration's UI has seen many other improvements and bug fixes
  • Security has been enhanced

Download LUYA Version 1.0

Please check the full Changelog and the Upgrading Guide where you will find a list of all breaking changes.

If you have any problems or questions regarding the upgrade process, don't hesitate to create an issue on GitHub.

12 December 2017
LUYA developer team

Dec 11, 2017


Yii development notes #18

Posted another issue of Yii development notes. It is about both present and the future.

Have a good read.

Dec 11, 2017


Redis extension 2.0.7 released

Yii team released new version of Redis extension.

This release makes the extension compatible with PHP 7.2 by refering to BaseObject instead of the Object class in Yii.

It also adds simple ORDER BY support to the ActiveQuery so DataProvider functionaility is now fully supported.

Besides two bug fixes this release also greatly improves stablilty by being able to detect a lost connection to the redis server and Connection can now be configured to reconnect if desired.

Dec 8, 2017


Integrate CloudwaysCDN With Yii2 Applications

Cloudways recently launched its own CDN service in partnership with StackPath. Known as CloudwaysCDN, it is an all new, global network with built-in WAF, DDoS protection and flat global pricing of just $1 a month.

Previously I have covered how CloudwaysCDN integration with so many PHP frameworks. Today, I will demonstrate how to integrate CloudwaysCDN with Yii2 applications. Yii2 is a solid framework that is already very popular with PHP developers.

Dec 5, 2017


Debug extension version 2.0.13 released

Yii team released debug extension:

  • PHP 7.2 compatibility.
  • Bugfixes.
  • HTTP headers are now sent regardless if page is served via AJAX so panel could be referenced from single page apps.
  • DB panel got duplicated queries counts.
  • Request panel got "General Info" block.
  • User component is now configurable for UserSwitch and UserPanel.

Nov 25, 2017


Yii DI container and injector

Experimental framework indepenent PSR-11 compatible DI container and injector from Yii team. No relase yet. Feedback is very welcome.

Nov 25, 2017


jQueryUI Extension 2.0.7 released

Yii team jQueryUI extension update. New version is fixing bugs and updates jQueryUI dependency so it works with latest Yii release.

Nov 17, 2017


Yii development notes #17

Posted another issue of Yii development news. Have a good read.

Nov 13, 2017


Queue Extension 2.0.1 released

We've released version 2.0.1 of the Queue extension. This version is fixing bugs as well as adding some enhancements we'll review below.

  • Added console commands for removing jobs and clearing whole queue. Both depend on the queue broker driver so details could be found in updated guide for particular driver.
  • Added support for Igbinary job serializer.
  • Allowed to change vhost setting for RabbitMQ.
  • Extension is now compatible with PHP 7.2.
  • Some classes and interfaces were marked as deprecated. See UPGRADE for details.
  • A benchmark measuring time to get the job to the worker was performed As expected, fastest implementations are Gearman, Beanstalk, Radis and RabbitMQ. Average time is 1-2 ms. Details could be found in this gist.