Evgenii Goryaev aka floor12
Development of complicated web projects.

Open source packages

In the process of developing projects, I often have a desire to take out the same repeating functionality to independent packages, for reusing it in the future. When these desires coincide with the availability of free time, I create and post packages on GitHub. Some of these packages I will post on this page.

floor12/yii2-metamaster

Add all SEO meta and OpenGraph tags to your app with a few line of code

Build Status scrutinizer badge Latest Stable Version Latest Unstable Version Total Downloads License

When we are developing a public site on yii2, not some internal information system, we need to organize the generation of various SEO and OpenGraph tags. Some of these tags are indexed by search engines (page title, meta-description, canonical). The other part, OpenGraph, and Twitter tags are needed to correctly display the preview (thumbnail) of the page while sharing it on social networks. In this case, it is often necessary to set, for example, a picture-cover on a specific page, set a picture of an article, but when sharing other pages - show the default picture. All these tasks are solved by this small extension for the Yii2 framework. It is possible to call a class in a couple of lines, passing the View object into it and set up all the necessary tags.

floor12/yii2-notification

Creating notifications in browser with queue and JS and PHP-api

Latest Stable Version scrutinizer badge Latest Unstable Version Total Downloads License

n many projects, it is necessary to show notifications to the user. I put in a separate package a small component for creating notifications of three types in a browser: information (info), positive (success) and negative (error). It is easy to use by calling a JS function or a PHP class. To visualize notifications, SVG icons are built-in into the DOM. You can customize the view of notifications by overriding basic CSS styles. This solution has no dependencies and has a small size.

floor12/yii2-module-files

Easy add custom files filed to ActiveRecord models of Yii2 framework

Build Status scrutinizer badge Latest Stable Version Latest Unstable Version Total Downloads License

Working with files has always been a big problem for me. This module is the third attempt to solve this problem. This module has almost all the necessary features: it adds any number of file fields to models, with individual validators (with the ability to use scripts), and also allows you to work with files using a widget that supports the preview of MS office documents, crop and image rotation, drag and drop upload, sorting files and download files as ZIP-archive.

floor12/yii2-phone

Validator and formatter for phone numbers.

Build Status Latest Stable Version Latest Unstable Version Total Downloads License

Unfortunately, the standard formatter component of the Yii2 framework cannot format phone numbers, and the core validators environment does not have a validator for phone numbers too (but there is one for email, for example). In my projects, I have to work with phone numbers no less than with emails. To solve this, a small component was written that allows us to do this quite quickly and conveniently:: validate phone numbers on the client and server-side, as well as format their output.

floor12/yii2-module-backup

Yii2 module to create, restore, download project backups with web-interface, console commands and REST-api.

Build Status Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads License

This module allows working with backups of MySQL databases and file folders. It has a web-interface, console controller and REST-API to create, delete, restore and download backups.