Eugenio Goryaev
Desarrollo, soporte y optimización

Paquetes y componentes open source

En el proceso de desarrollar proyectos, a menudo tengo un deseo de separar la misma funcionalidad de repetición al independiente paquete, para reutilizarlo en un futuro. Cuando estos deseos coinciden con la disponibilidad de ocio, yo creo y publico eses paquetes en GitHub . Algunos de estos paquetes están aqui. Traduciré la documentación de estos paquetes al español, pero ahora los sólo están disponible en inglés y ruso.


floor12/yii2-module-files

Easy add custom files filed to ActiveRecord models of Yii2 framework

Scrutinizer Code Quality 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/imagenator

Generation of an image for OpenGraph with a logo and title of a page or article.

Build Status Scrutinizer Code Quality

News sites often have previews of news for OpenGraph in the form of text, a logo, a photo, or a collage of all of this. This module allows you to generate this kind of image for each article according to the specified parameters with font support.
floor12/mindbox-api-client

General abstraction over MindBox API

Scrutinizer Code Quality Code Coverage Build Status

For one of the projects, it was necessary to work with mindbox. For work, a general abstraction was written, using which you can perform any queries.
floor12/yii2-summernote

The Summernote WYSIWYG-editor Yii-widget, with all assets included.

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

The Summernote WYSIWYG-editor Yii-widget, with all assets included and some bugs fixed. Ready to use in form.

floor12/yii2-phone

Validator and formatter for phone numbers.

Build Status Code quality score Code Coverage Latest Stable 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-metamaster

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

Build Status Scrutinizer Code Quality 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-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.