Commit b60c7d5a252f3bac13285aaf284eba0985b43dc7
1 parent
2af8f130
autocompress
Showing
3 changed files
with
634 additions
and
3 deletions
Show diff stats
composer.json
@@ -31,7 +31,8 @@ | @@ -31,7 +31,8 @@ | ||
31 | "bower-asset/amcharts-stock": "@dev", | 31 | "bower-asset/amcharts-stock": "@dev", |
32 | "speixoto/yii2-amcharts": "^0.1.1", | 32 | "speixoto/yii2-amcharts": "^0.1.1", |
33 | "2amigos/yii2-tinymce-widget": "~1.1", | 33 | "2amigos/yii2-tinymce-widget": "~1.1", |
34 | - "kartik-v/yii2-widget-select2": "@dev" | 34 | + "kartik-v/yii2-widget-select2": "@dev", |
35 | + "skeeks/yii2-assets-auto-compress": "*" | ||
35 | }, | 36 | }, |
36 | "require-dev": { | 37 | "require-dev": { |
37 | "yiisoft/yii2-debug": "~2.0.0", | 38 | "yiisoft/yii2-debug": "~2.0.0", |
composer.lock
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", | 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", |
5 | "This file is @generated automatically" | 5 | "This file is @generated automatically" |
6 | ], | 6 | ], |
7 | - "content-hash": "1ad205bd41e4dfbc52bad09c7e6c1677", | 7 | + "content-hash": "ae07dde3aabaa4e39a997d4cac66f44f", |
8 | "packages": [ | 8 | "packages": [ |
9 | { | 9 | { |
10 | "name": "2amigos/yii2-tinymce-widget", | 10 | "name": "2amigos/yii2-tinymce-widget", |
@@ -607,6 +607,37 @@ | @@ -607,6 +607,37 @@ | ||
607 | "time": "2016-09-14T20:40:20+00:00" | 607 | "time": "2016-09-14T20:40:20+00:00" |
608 | }, | 608 | }, |
609 | { | 609 | { |
610 | + "name": "container-interop/container-interop", | ||
611 | + "version": "1.2.0", | ||
612 | + "source": { | ||
613 | + "type": "git", | ||
614 | + "url": "https://github.com/container-interop/container-interop.git", | ||
615 | + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8" | ||
616 | + }, | ||
617 | + "dist": { | ||
618 | + "type": "zip", | ||
619 | + "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8", | ||
620 | + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8", | ||
621 | + "shasum": "" | ||
622 | + }, | ||
623 | + "require": { | ||
624 | + "psr/container": "^1.0" | ||
625 | + }, | ||
626 | + "type": "library", | ||
627 | + "autoload": { | ||
628 | + "psr-4": { | ||
629 | + "Interop\\Container\\": "src/Interop/Container/" | ||
630 | + } | ||
631 | + }, | ||
632 | + "notification-url": "https://packagist.org/downloads/", | ||
633 | + "license": [ | ||
634 | + "MIT" | ||
635 | + ], | ||
636 | + "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", | ||
637 | + "homepage": "https://github.com/container-interop/container-interop", | ||
638 | + "time": "2017-02-14T19:40:03+00:00" | ||
639 | + }, | ||
640 | + { | ||
610 | "name": "ezyang/htmlpurifier", | 641 | "name": "ezyang/htmlpurifier", |
611 | "version": "v4.9.3", | 642 | "version": "v4.9.3", |
612 | "source": { | 643 | "source": { |
@@ -1258,6 +1289,59 @@ | @@ -1258,6 +1289,59 @@ | ||
1258 | "time": "2015-09-19T16:54:05+00:00" | 1289 | "time": "2015-09-19T16:54:05+00:00" |
1259 | }, | 1290 | }, |
1260 | { | 1291 | { |
1292 | + "name": "intervention/httpauth", | ||
1293 | + "version": "2.0.3", | ||
1294 | + "source": { | ||
1295 | + "type": "git", | ||
1296 | + "url": "https://github.com/Intervention/httpauth.git", | ||
1297 | + "reference": "69d4627c398c2d74b1c70aae7de7121e0b627c17" | ||
1298 | + }, | ||
1299 | + "dist": { | ||
1300 | + "type": "zip", | ||
1301 | + "url": "https://api.github.com/repos/Intervention/httpauth/zipball/69d4627c398c2d74b1c70aae7de7121e0b627c17", | ||
1302 | + "reference": "69d4627c398c2d74b1c70aae7de7121e0b627c17", | ||
1303 | + "shasum": "" | ||
1304 | + }, | ||
1305 | + "require": { | ||
1306 | + "php": ">=5.3.0" | ||
1307 | + }, | ||
1308 | + "type": "library", | ||
1309 | + "extra": { | ||
1310 | + "laravel": { | ||
1311 | + "providers": [ | ||
1312 | + "Intervention\\Httpauth\\HttpauthServiceProvider" | ||
1313 | + ], | ||
1314 | + "aliases": { | ||
1315 | + "Httpauth": "Intervention\\Httpauth\\Facades\\Httpauth" | ||
1316 | + } | ||
1317 | + } | ||
1318 | + }, | ||
1319 | + "autoload": { | ||
1320 | + "psr-4": { | ||
1321 | + "Intervention\\Httpauth\\": "src/Intervention/Httpauth" | ||
1322 | + } | ||
1323 | + }, | ||
1324 | + "notification-url": "https://packagist.org/downloads/", | ||
1325 | + "license": [ | ||
1326 | + "MIT" | ||
1327 | + ], | ||
1328 | + "authors": [ | ||
1329 | + { | ||
1330 | + "name": "Oliver Vogel", | ||
1331 | + "email": "oliver@olivervogel.com", | ||
1332 | + "homepage": "http://olivervogel.com/" | ||
1333 | + } | ||
1334 | + ], | ||
1335 | + "description": "HTTP authentication (Basic & Digest) including ServiceProviders for easy Laravel integration", | ||
1336 | + "homepage": "https://github.com/Intervention/httpauth", | ||
1337 | + "keywords": [ | ||
1338 | + "Authentication", | ||
1339 | + "http", | ||
1340 | + "laravel" | ||
1341 | + ], | ||
1342 | + "time": "2017-06-28T17:37:25+00:00" | ||
1343 | + }, | ||
1344 | + { | ||
1261 | "name": "kartik-v/bootstrap-fileinput", | 1345 | "name": "kartik-v/bootstrap-fileinput", |
1262 | "version": "v4.4.1", | 1346 | "version": "v4.4.1", |
1263 | "source": { | 1347 | "source": { |
@@ -1548,6 +1632,219 @@ | @@ -1548,6 +1632,219 @@ | ||
1548 | "time": "2017-03-13T07:08:03+00:00" | 1632 | "time": "2017-03-13T07:08:03+00:00" |
1549 | }, | 1633 | }, |
1550 | { | 1634 | { |
1635 | + "name": "mrclay/jsmin-php", | ||
1636 | + "version": "2.3.2", | ||
1637 | + "source": { | ||
1638 | + "type": "git", | ||
1639 | + "url": "https://github.com/mrclay/jsmin-php.git", | ||
1640 | + "reference": "932c9633c35b390beb2cfdea69a41ea7dbc8d759" | ||
1641 | + }, | ||
1642 | + "dist": { | ||
1643 | + "type": "zip", | ||
1644 | + "url": "https://api.github.com/repos/mrclay/jsmin-php/zipball/932c9633c35b390beb2cfdea69a41ea7dbc8d759", | ||
1645 | + "reference": "932c9633c35b390beb2cfdea69a41ea7dbc8d759", | ||
1646 | + "shasum": "" | ||
1647 | + }, | ||
1648 | + "require": { | ||
1649 | + "ext-pcre": "*", | ||
1650 | + "php": ">=5.3.0" | ||
1651 | + }, | ||
1652 | + "require-dev": { | ||
1653 | + "phpunit/phpunit": "4.2" | ||
1654 | + }, | ||
1655 | + "type": "library", | ||
1656 | + "autoload": { | ||
1657 | + "psr-0": { | ||
1658 | + "JSMin\\": "src/" | ||
1659 | + } | ||
1660 | + }, | ||
1661 | + "notification-url": "https://packagist.org/downloads/", | ||
1662 | + "license": [ | ||
1663 | + "MIT" | ||
1664 | + ], | ||
1665 | + "authors": [ | ||
1666 | + { | ||
1667 | + "name": "Stephen Clay", | ||
1668 | + "email": "steve@mrclay.org", | ||
1669 | + "role": "Developer" | ||
1670 | + }, | ||
1671 | + { | ||
1672 | + "name": "Ryan Grove", | ||
1673 | + "email": "ryan@wonko.com", | ||
1674 | + "role": "Developer" | ||
1675 | + } | ||
1676 | + ], | ||
1677 | + "description": "Provides a modified port of Douglas Crockford's jsmin.c, which removes unnecessary whitespace from JavaScript files.", | ||
1678 | + "homepage": "https://github.com/mrclay/jsmin-php/", | ||
1679 | + "keywords": [ | ||
1680 | + "compress", | ||
1681 | + "jsmin", | ||
1682 | + "minify" | ||
1683 | + ], | ||
1684 | + "time": "2015-03-30T15:04:42+00:00" | ||
1685 | + }, | ||
1686 | + { | ||
1687 | + "name": "mrclay/minify", | ||
1688 | + "version": "3.0.3", | ||
1689 | + "source": { | ||
1690 | + "type": "git", | ||
1691 | + "url": "https://github.com/mrclay/minify.git", | ||
1692 | + "reference": "404664509c3d2b3a745e091c86c968a13cba3efc" | ||
1693 | + }, | ||
1694 | + "dist": { | ||
1695 | + "type": "zip", | ||
1696 | + "url": "https://api.github.com/repos/mrclay/minify/zipball/404664509c3d2b3a745e091c86c968a13cba3efc", | ||
1697 | + "reference": "404664509c3d2b3a745e091c86c968a13cba3efc", | ||
1698 | + "shasum": "" | ||
1699 | + }, | ||
1700 | + "require": { | ||
1701 | + "ext-pcre": "*", | ||
1702 | + "intervention/httpauth": "~2.0", | ||
1703 | + "monolog/monolog": "~1.1", | ||
1704 | + "mrclay/jsmin-php": "~2", | ||
1705 | + "mrclay/props-dic": "^2.2", | ||
1706 | + "php": "^5.3.0 || ^7.0", | ||
1707 | + "tubalmartin/cssmin": "~4" | ||
1708 | + }, | ||
1709 | + "require-dev": { | ||
1710 | + "firephp/firephp-core": "~0.4.0", | ||
1711 | + "leafo/scssphp": "~0.6.6", | ||
1712 | + "marcusschwarz/lesserphp": "~0.5.1", | ||
1713 | + "meenie/javascript-packer": "~1.1", | ||
1714 | + "phpunit/phpunit": "4.8.*", | ||
1715 | + "tedivm/jshrink": "~1.1.0" | ||
1716 | + }, | ||
1717 | + "suggest": { | ||
1718 | + "firephp/firephp-core": "Use FirePHP for Log messages", | ||
1719 | + "marcusschwarz/lesserphp": "LESS support", | ||
1720 | + "meenie/javascript-packer": "Keep track of the Packer PHP port using Composer" | ||
1721 | + }, | ||
1722 | + "type": "library", | ||
1723 | + "extra": { | ||
1724 | + "branch-alias": { | ||
1725 | + "dev-master": "3.0.x-dev" | ||
1726 | + } | ||
1727 | + }, | ||
1728 | + "autoload": { | ||
1729 | + "classmap": [ | ||
1730 | + "lib/" | ||
1731 | + ] | ||
1732 | + }, | ||
1733 | + "notification-url": "https://packagist.org/downloads/", | ||
1734 | + "license": [ | ||
1735 | + "BSD-3-Clause" | ||
1736 | + ], | ||
1737 | + "authors": [ | ||
1738 | + { | ||
1739 | + "name": "Stephen Clay", | ||
1740 | + "email": "steve@mrclay.org", | ||
1741 | + "role": "Developer" | ||
1742 | + } | ||
1743 | + ], | ||
1744 | + "description": "Minify is a PHP5 app that helps you follow several rules for client-side performance. It combines multiple CSS or Javascript files, removes unnecessary whitespace and comments, and serves them with gzip encoding and optimal client-side cache headers", | ||
1745 | + "homepage": "https://github.com/mrclay/minify", | ||
1746 | + "time": "2017-11-03T21:00:15+00:00" | ||
1747 | + }, | ||
1748 | + { | ||
1749 | + "name": "mrclay/props-dic", | ||
1750 | + "version": "2.2.0", | ||
1751 | + "source": { | ||
1752 | + "type": "git", | ||
1753 | + "url": "https://github.com/mrclay/Props.git", | ||
1754 | + "reference": "9ed6cf3a027f1eab03abdd134ec209467cf9c77e" | ||
1755 | + }, | ||
1756 | + "dist": { | ||
1757 | + "type": "zip", | ||
1758 | + "url": "https://api.github.com/repos/mrclay/Props/zipball/9ed6cf3a027f1eab03abdd134ec209467cf9c77e", | ||
1759 | + "reference": "9ed6cf3a027f1eab03abdd134ec209467cf9c77e", | ||
1760 | + "shasum": "" | ||
1761 | + }, | ||
1762 | + "require": { | ||
1763 | + "container-interop/container-interop": "^1.1", | ||
1764 | + "php": ">=5.3.3", | ||
1765 | + "pimple/pimple": "~3.0" | ||
1766 | + }, | ||
1767 | + "require-dev": { | ||
1768 | + "phpunit/phpunit": "~4.8" | ||
1769 | + }, | ||
1770 | + "type": "library", | ||
1771 | + "autoload": { | ||
1772 | + "psr-0": { | ||
1773 | + "Props\\": [ | ||
1774 | + "src/", | ||
1775 | + "test/" | ||
1776 | + ] | ||
1777 | + } | ||
1778 | + }, | ||
1779 | + "notification-url": "https://packagist.org/downloads/", | ||
1780 | + "license": [ | ||
1781 | + "MIT" | ||
1782 | + ], | ||
1783 | + "authors": [ | ||
1784 | + { | ||
1785 | + "name": "Steve Clay", | ||
1786 | + "email": "steve@mrclay.org", | ||
1787 | + "homepage": "http://www.mrclay.org/" | ||
1788 | + } | ||
1789 | + ], | ||
1790 | + "description": "Props is a simple DI container that allows retrieving values via custom property and method names", | ||
1791 | + "keywords": [ | ||
1792 | + "container", | ||
1793 | + "dependency injection", | ||
1794 | + "dependency injection container", | ||
1795 | + "di", | ||
1796 | + "di container" | ||
1797 | + ], | ||
1798 | + "time": "2016-02-10T18:59:20+00:00" | ||
1799 | + }, | ||
1800 | + { | ||
1801 | + "name": "natxet/CssMin", | ||
1802 | + "version": "v3.0.5", | ||
1803 | + "source": { | ||
1804 | + "type": "git", | ||
1805 | + "url": "https://github.com/natxet/CssMin.git", | ||
1806 | + "reference": "9580f5448f05a82c96cfe6c7063a77807d8ec56d" | ||
1807 | + }, | ||
1808 | + "dist": { | ||
1809 | + "type": "zip", | ||
1810 | + "url": "https://api.github.com/repos/natxet/CssMin/zipball/9580f5448f05a82c96cfe6c7063a77807d8ec56d", | ||
1811 | + "reference": "9580f5448f05a82c96cfe6c7063a77807d8ec56d", | ||
1812 | + "shasum": "" | ||
1813 | + }, | ||
1814 | + "require": { | ||
1815 | + "php": ">=5.0" | ||
1816 | + }, | ||
1817 | + "type": "library", | ||
1818 | + "extra": { | ||
1819 | + "branch-alias": { | ||
1820 | + "dev-master": "3.0-dev" | ||
1821 | + } | ||
1822 | + }, | ||
1823 | + "autoload": { | ||
1824 | + "classmap": [ | ||
1825 | + "src/" | ||
1826 | + ] | ||
1827 | + }, | ||
1828 | + "notification-url": "https://packagist.org/downloads/", | ||
1829 | + "license": [ | ||
1830 | + "MIT" | ||
1831 | + ], | ||
1832 | + "authors": [ | ||
1833 | + { | ||
1834 | + "name": "Joe Scylla", | ||
1835 | + "email": "joe.scylla@gmail.com", | ||
1836 | + "homepage": "https://profiles.google.com/joe.scylla" | ||
1837 | + } | ||
1838 | + ], | ||
1839 | + "description": "Minifying CSS", | ||
1840 | + "homepage": "http://code.google.com/p/cssmin/", | ||
1841 | + "keywords": [ | ||
1842 | + "css", | ||
1843 | + "minify" | ||
1844 | + ], | ||
1845 | + "time": "2017-10-04T16:54:00+00:00" | ||
1846 | + }, | ||
1847 | + { | ||
1551 | "name": "noam148/yii2-image-manager", | 1848 | "name": "noam148/yii2-image-manager", |
1552 | "version": "1.2.5", | 1849 | "version": "1.2.5", |
1553 | "source": { | 1850 | "source": { |
@@ -1735,6 +2032,56 @@ | @@ -1735,6 +2032,56 @@ | ||
1735 | "time": "2017-06-05T06:31:10+00:00" | 2032 | "time": "2017-06-05T06:31:10+00:00" |
1736 | }, | 2033 | }, |
1737 | { | 2034 | { |
2035 | + "name": "pimple/pimple", | ||
2036 | + "version": "v3.2.2", | ||
2037 | + "source": { | ||
2038 | + "type": "git", | ||
2039 | + "url": "https://github.com/silexphp/Pimple.git", | ||
2040 | + "reference": "4d45fb62d96418396ec58ba76e6f065bca16e10a" | ||
2041 | + }, | ||
2042 | + "dist": { | ||
2043 | + "type": "zip", | ||
2044 | + "url": "https://api.github.com/repos/silexphp/Pimple/zipball/4d45fb62d96418396ec58ba76e6f065bca16e10a", | ||
2045 | + "reference": "4d45fb62d96418396ec58ba76e6f065bca16e10a", | ||
2046 | + "shasum": "" | ||
2047 | + }, | ||
2048 | + "require": { | ||
2049 | + "php": ">=5.3.0", | ||
2050 | + "psr/container": "^1.0" | ||
2051 | + }, | ||
2052 | + "require-dev": { | ||
2053 | + "symfony/phpunit-bridge": "^3.2" | ||
2054 | + }, | ||
2055 | + "type": "library", | ||
2056 | + "extra": { | ||
2057 | + "branch-alias": { | ||
2058 | + "dev-master": "3.2.x-dev" | ||
2059 | + } | ||
2060 | + }, | ||
2061 | + "autoload": { | ||
2062 | + "psr-0": { | ||
2063 | + "Pimple": "src/" | ||
2064 | + } | ||
2065 | + }, | ||
2066 | + "notification-url": "https://packagist.org/downloads/", | ||
2067 | + "license": [ | ||
2068 | + "MIT" | ||
2069 | + ], | ||
2070 | + "authors": [ | ||
2071 | + { | ||
2072 | + "name": "Fabien Potencier", | ||
2073 | + "email": "fabien@symfony.com" | ||
2074 | + } | ||
2075 | + ], | ||
2076 | + "description": "Pimple, a simple Dependency Injection Container", | ||
2077 | + "homepage": "http://pimple.sensiolabs.org", | ||
2078 | + "keywords": [ | ||
2079 | + "container", | ||
2080 | + "dependency injection" | ||
2081 | + ], | ||
2082 | + "time": "2017-07-23T07:32:15+00:00" | ||
2083 | + }, | ||
2084 | + { | ||
1738 | "name": "psr/cache", | 2085 | "name": "psr/cache", |
1739 | "version": "1.0.1", | 2086 | "version": "1.0.1", |
1740 | "source": { | 2087 | "source": { |
@@ -1781,6 +2128,55 @@ | @@ -1781,6 +2128,55 @@ | ||
1781 | "time": "2016-08-06T20:24:11+00:00" | 2128 | "time": "2016-08-06T20:24:11+00:00" |
1782 | }, | 2129 | }, |
1783 | { | 2130 | { |
2131 | + "name": "psr/container", | ||
2132 | + "version": "1.0.0", | ||
2133 | + "source": { | ||
2134 | + "type": "git", | ||
2135 | + "url": "https://github.com/php-fig/container.git", | ||
2136 | + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" | ||
2137 | + }, | ||
2138 | + "dist": { | ||
2139 | + "type": "zip", | ||
2140 | + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", | ||
2141 | + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", | ||
2142 | + "shasum": "" | ||
2143 | + }, | ||
2144 | + "require": { | ||
2145 | + "php": ">=5.3.0" | ||
2146 | + }, | ||
2147 | + "type": "library", | ||
2148 | + "extra": { | ||
2149 | + "branch-alias": { | ||
2150 | + "dev-master": "1.0.x-dev" | ||
2151 | + } | ||
2152 | + }, | ||
2153 | + "autoload": { | ||
2154 | + "psr-4": { | ||
2155 | + "Psr\\Container\\": "src/" | ||
2156 | + } | ||
2157 | + }, | ||
2158 | + "notification-url": "https://packagist.org/downloads/", | ||
2159 | + "license": [ | ||
2160 | + "MIT" | ||
2161 | + ], | ||
2162 | + "authors": [ | ||
2163 | + { | ||
2164 | + "name": "PHP-FIG", | ||
2165 | + "homepage": "http://www.php-fig.org/" | ||
2166 | + } | ||
2167 | + ], | ||
2168 | + "description": "Common Container Interface (PHP FIG PSR-11)", | ||
2169 | + "homepage": "https://github.com/php-fig/container", | ||
2170 | + "keywords": [ | ||
2171 | + "PSR-11", | ||
2172 | + "container", | ||
2173 | + "container-interface", | ||
2174 | + "container-interop", | ||
2175 | + "psr" | ||
2176 | + ], | ||
2177 | + "time": "2017-02-14T16:28:37+00:00" | ||
2178 | + }, | ||
2179 | + { | ||
1784 | "name": "psr/http-message", | 2180 | "name": "psr/http-message", |
1785 | "version": "1.0.1", | 2181 | "version": "1.0.1", |
1786 | "source": { | 2182 | "source": { |
@@ -1930,6 +2326,63 @@ | @@ -1930,6 +2326,63 @@ | ||
1930 | "time": "2017-01-11T14:05:47+00:00" | 2326 | "time": "2017-01-11T14:05:47+00:00" |
1931 | }, | 2327 | }, |
1932 | { | 2328 | { |
2329 | + "name": "skeeks/yii2-assets-auto-compress", | ||
2330 | + "version": "1.3.1.2", | ||
2331 | + "source": { | ||
2332 | + "type": "git", | ||
2333 | + "url": "https://github.com/skeeks-semenov/yii2-assets-auto-compress.git", | ||
2334 | + "reference": "8d3df2f0a50ddde301773e8b40fc48a45363db3b" | ||
2335 | + }, | ||
2336 | + "dist": { | ||
2337 | + "type": "zip", | ||
2338 | + "url": "https://api.github.com/repos/skeeks-semenov/yii2-assets-auto-compress/zipball/8d3df2f0a50ddde301773e8b40fc48a45363db3b", | ||
2339 | + "reference": "8d3df2f0a50ddde301773e8b40fc48a45363db3b", | ||
2340 | + "shasum": "" | ||
2341 | + }, | ||
2342 | + "require": { | ||
2343 | + "mrclay/minify": "*", | ||
2344 | + "natxet/cssmin": "*", | ||
2345 | + "tedivm/jshrink": "*", | ||
2346 | + "yiisoft/yii2": "^2", | ||
2347 | + "yiisoft/yii2-httpclient": "^2" | ||
2348 | + }, | ||
2349 | + "type": "yii2-extension", | ||
2350 | + "autoload": { | ||
2351 | + "psr-4": { | ||
2352 | + "skeeks\\yii2\\assetsAuto\\": "src/" | ||
2353 | + } | ||
2354 | + }, | ||
2355 | + "notification-url": "https://packagist.org/downloads/", | ||
2356 | + "license": [ | ||
2357 | + "GPL-3.0+" | ||
2358 | + ], | ||
2359 | + "authors": [ | ||
2360 | + { | ||
2361 | + "name": "Semenov Alexander", | ||
2362 | + "email": "semenov@skeeks.com" | ||
2363 | + }, | ||
2364 | + { | ||
2365 | + "name": "SkeekS", | ||
2366 | + "email": "support@skeeks.com", | ||
2367 | + "homepage": "https://skeeks.com" | ||
2368 | + } | ||
2369 | + ], | ||
2370 | + "description": "Automatically compile and merge files js + css + html in yii2 project", | ||
2371 | + "homepage": "http://www.skeeks.com/", | ||
2372 | + "keywords": [ | ||
2373 | + "JS", | ||
2374 | + "Sx", | ||
2375 | + "app", | ||
2376 | + "assets", | ||
2377 | + "auto assets", | ||
2378 | + "css", | ||
2379 | + "framework", | ||
2380 | + "skeeks", | ||
2381 | + "yii" | ||
2382 | + ], | ||
2383 | + "time": "2017-10-05T13:42:22+00:00" | ||
2384 | + }, | ||
2385 | + { | ||
1933 | "name": "speixoto/yii2-amcharts", | 2386 | "name": "speixoto/yii2-amcharts", |
1934 | "version": "v0.1.1", | 2387 | "version": "v0.1.1", |
1935 | "source": { | 2388 | "source": { |
@@ -2026,6 +2479,52 @@ | @@ -2026,6 +2479,52 @@ | ||
2026 | "time": "2017-05-01T15:54:03+00:00" | 2479 | "time": "2017-05-01T15:54:03+00:00" |
2027 | }, | 2480 | }, |
2028 | { | 2481 | { |
2482 | + "name": "tedivm/jshrink", | ||
2483 | + "version": "v1.2.0", | ||
2484 | + "source": { | ||
2485 | + "type": "git", | ||
2486 | + "url": "https://github.com/tedious/JShrink.git", | ||
2487 | + "reference": "667e99774d230525d4d3dc2a50da7ba6b1d56bad" | ||
2488 | + }, | ||
2489 | + "dist": { | ||
2490 | + "type": "zip", | ||
2491 | + "url": "https://api.github.com/repos/tedious/JShrink/zipball/667e99774d230525d4d3dc2a50da7ba6b1d56bad", | ||
2492 | + "reference": "667e99774d230525d4d3dc2a50da7ba6b1d56bad", | ||
2493 | + "shasum": "" | ||
2494 | + }, | ||
2495 | + "require": { | ||
2496 | + "php": "^5.6|^7.0" | ||
2497 | + }, | ||
2498 | + "require-dev": { | ||
2499 | + "fabpot/php-cs-fixer": "0.4.0", | ||
2500 | + "phpunit/phpunit": "4.0.*", | ||
2501 | + "satooshi/php-coveralls": "^0.7.0" | ||
2502 | + }, | ||
2503 | + "type": "library", | ||
2504 | + "autoload": { | ||
2505 | + "psr-0": { | ||
2506 | + "JShrink": "src/" | ||
2507 | + } | ||
2508 | + }, | ||
2509 | + "notification-url": "https://packagist.org/downloads/", | ||
2510 | + "license": [ | ||
2511 | + "BSD-3-Clause" | ||
2512 | + ], | ||
2513 | + "authors": [ | ||
2514 | + { | ||
2515 | + "name": "Robert Hafner", | ||
2516 | + "email": "tedivm@tedivm.com" | ||
2517 | + } | ||
2518 | + ], | ||
2519 | + "description": "Javascript Minifier built in PHP", | ||
2520 | + "homepage": "http://github.com/tedious/JShrink", | ||
2521 | + "keywords": [ | ||
2522 | + "javascript", | ||
2523 | + "minifier" | ||
2524 | + ], | ||
2525 | + "time": "2017-05-30T02:59:46+00:00" | ||
2526 | + }, | ||
2527 | + { | ||
2029 | "name": "tinymce/tinymce", | 2528 | "name": "tinymce/tinymce", |
2030 | "version": "4.6.3", | 2529 | "version": "4.6.3", |
2031 | "source": { | 2530 | "source": { |
@@ -2072,6 +2571,59 @@ | @@ -2072,6 +2571,59 @@ | ||
2072 | "time": "2017-05-30T12:56:46+00:00" | 2571 | "time": "2017-05-30T12:56:46+00:00" |
2073 | }, | 2572 | }, |
2074 | { | 2573 | { |
2574 | + "name": "tubalmartin/cssmin", | ||
2575 | + "version": "v4.1.0", | ||
2576 | + "source": { | ||
2577 | + "type": "git", | ||
2578 | + "url": "https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port.git", | ||
2579 | + "reference": "1c7ae93cf6b392d4dae5c4ae18979918413af16e" | ||
2580 | + }, | ||
2581 | + "dist": { | ||
2582 | + "type": "zip", | ||
2583 | + "url": "https://api.github.com/repos/tubalmartin/YUI-CSS-compressor-PHP-port/zipball/1c7ae93cf6b392d4dae5c4ae18979918413af16e", | ||
2584 | + "reference": "1c7ae93cf6b392d4dae5c4ae18979918413af16e", | ||
2585 | + "shasum": "" | ||
2586 | + }, | ||
2587 | + "require": { | ||
2588 | + "ext-pcre": "*", | ||
2589 | + "php": ">=5.3.2" | ||
2590 | + }, | ||
2591 | + "require-dev": { | ||
2592 | + "cogpowered/finediff": "0.3.*", | ||
2593 | + "phpunit/phpunit": "4.8.*" | ||
2594 | + }, | ||
2595 | + "bin": [ | ||
2596 | + "cssmin" | ||
2597 | + ], | ||
2598 | + "type": "library", | ||
2599 | + "autoload": { | ||
2600 | + "psr-4": { | ||
2601 | + "tubalmartin\\CssMin\\": "src" | ||
2602 | + } | ||
2603 | + }, | ||
2604 | + "notification-url": "https://packagist.org/downloads/", | ||
2605 | + "license": [ | ||
2606 | + "BSD-3-Clause" | ||
2607 | + ], | ||
2608 | + "authors": [ | ||
2609 | + { | ||
2610 | + "name": "Tรบbal Martรญn", | ||
2611 | + "homepage": "http://tubalmartin.me/" | ||
2612 | + } | ||
2613 | + ], | ||
2614 | + "description": "A PHP port of the YUI CSS compressor", | ||
2615 | + "homepage": "https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port", | ||
2616 | + "keywords": [ | ||
2617 | + "compress", | ||
2618 | + "compressor", | ||
2619 | + "css", | ||
2620 | + "cssmin", | ||
2621 | + "minify", | ||
2622 | + "yui" | ||
2623 | + ], | ||
2624 | + "time": "2017-05-16T13:45:26+00:00" | ||
2625 | + }, | ||
2626 | + { | ||
2075 | "name": "yii2tech/filedb", | 2627 | "name": "yii2tech/filedb", |
2076 | "version": "1.0.3", | 2628 | "version": "1.0.3", |
2077 | "source": { | 2629 | "source": { |
@@ -2320,6 +2872,53 @@ | @@ -2320,6 +2872,53 @@ | ||
2320 | "time": "2016-12-20T13:26:02+00:00" | 2872 | "time": "2016-12-20T13:26:02+00:00" |
2321 | }, | 2873 | }, |
2322 | { | 2874 | { |
2875 | + "name": "yiisoft/yii2-httpclient", | ||
2876 | + "version": "2.0.4", | ||
2877 | + "source": { | ||
2878 | + "type": "git", | ||
2879 | + "url": "https://github.com/yiisoft/yii2-httpclient.git", | ||
2880 | + "reference": "720e3c9bdda260abffe61babfe39b91c4308ac4c" | ||
2881 | + }, | ||
2882 | + "dist": { | ||
2883 | + "type": "zip", | ||
2884 | + "url": "https://api.github.com/repos/yiisoft/yii2-httpclient/zipball/720e3c9bdda260abffe61babfe39b91c4308ac4c", | ||
2885 | + "reference": "720e3c9bdda260abffe61babfe39b91c4308ac4c", | ||
2886 | + "shasum": "" | ||
2887 | + }, | ||
2888 | + "require": { | ||
2889 | + "yiisoft/yii2": "~2.0.0" | ||
2890 | + }, | ||
2891 | + "type": "yii2-extension", | ||
2892 | + "extra": { | ||
2893 | + "branch-alias": { | ||
2894 | + "dev-master": "2.0.x-dev" | ||
2895 | + } | ||
2896 | + }, | ||
2897 | + "autoload": { | ||
2898 | + "psr-4": { | ||
2899 | + "yii\\httpclient\\": "" | ||
2900 | + } | ||
2901 | + }, | ||
2902 | + "notification-url": "https://packagist.org/downloads/", | ||
2903 | + "license": [ | ||
2904 | + "BSD-3-Clause" | ||
2905 | + ], | ||
2906 | + "authors": [ | ||
2907 | + { | ||
2908 | + "name": "Paul Klimov", | ||
2909 | + "email": "klimov.paul@gmail.com" | ||
2910 | + } | ||
2911 | + ], | ||
2912 | + "description": "HTTP client extension for the Yii framework", | ||
2913 | + "keywords": [ | ||
2914 | + "curl", | ||
2915 | + "http", | ||
2916 | + "httpclient", | ||
2917 | + "yii2" | ||
2918 | + ], | ||
2919 | + "time": "2017-06-23T09:36:13+00:00" | ||
2920 | + }, | ||
2921 | + { | ||
2323 | "name": "yiisoft/yii2-imagine", | 2922 | "name": "yiisoft/yii2-imagine", |
2324 | "version": "2.1.0", | 2923 | "version": "2.1.0", |
2325 | "source": { | 2924 | "source": { |
frontend/config/main.php
@@ -13,7 +13,7 @@ return [ | @@ -13,7 +13,7 @@ return [ | ||
13 | 'id' => 'app-frontend', | 13 | 'id' => 'app-frontend', |
14 | 'homeUrl' => '/', | 14 | 'homeUrl' => '/', |
15 | 'basePath' => dirname(__DIR__), | 15 | 'basePath' => dirname(__DIR__), |
16 | - 'bootstrap' => ['log'], | 16 | + 'bootstrap' => ['log', 'assetsAutoCompress'], |
17 | 'controllerNamespace' => 'frontend\controllers', | 17 | 'controllerNamespace' => 'frontend\controllers', |
18 | 'components' => [ | 18 | 'components' => [ |
19 | 'request' => [ | 19 | 'request' => [ |
@@ -53,6 +53,37 @@ return [ | @@ -53,6 +53,37 @@ return [ | ||
53 | '\/contact' => 'site/contact', | 53 | '\/contact' => 'site/contact', |
54 | ], | 54 | ], |
55 | ], | 55 | ], |
56 | + 'assetsAutoCompress' => | ||
57 | + [ | ||
58 | + 'class' => '\skeeks\yii2\assetsAuto\AssetsAutoCompressComponent', | ||
59 | + 'enabled' => true, | ||
60 | + | ||
61 | + 'readFileTimeout' => 3, //Time in seconds for reading each asset file | ||
62 | + | ||
63 | + 'jsCompress' => true, //Enable minification js in html code | ||
64 | + 'jsCompressFlaggedComments' => true, //Cut comments during processing js | ||
65 | + | ||
66 | + 'cssCompress' => true, //Enable minification css in html code | ||
67 | + | ||
68 | + 'cssFileCompile' => true, //Turning association css files | ||
69 | + 'cssFileRemouteCompile' => false, //Trying to get css files to which the specified path as the remote file, skchat him to her. | ||
70 | + 'cssFileCompress' => true, //Enable compression and processing before being stored in the css file | ||
71 | + 'cssFileBottom' => false, //Moving down the page css files | ||
72 | + 'cssFileBottomLoadOnJs' => false, //Transfer css file down the page and uploading them using js | ||
73 | + | ||
74 | + 'jsFileCompile' => true, //Turning association js files | ||
75 | + 'jsFileRemouteCompile' => false, //Trying to get a js files to which the specified path as the remote file, skchat him to her. | ||
76 | + 'jsFileCompress' => true, //Enable compression and processing js before saving a file | ||
77 | + 'jsFileCompressFlaggedComments' => true, //Cut comments during processing js | ||
78 | + | ||
79 | + 'htmlCompress' => true, //Enable compression html | ||
80 | + | ||
81 | + 'htmlCompressOptions' => //options for compressing output result | ||
82 | + [ | ||
83 | + 'extra' => false, //use more compact algorithm | ||
84 | + 'no-comments' => true //cut all the html comments | ||
85 | + ], | ||
86 | + ], | ||
56 | ], | 87 | ], |
57 | 'params' => $params, | 88 | 'params' => $params, |
58 | ]; | 89 | ]; |