https://github.com/derekisbusy/yii2-amp
Collection of AMP widgets and layouts.
https://github.com/derekisbusy/yii2-amp
accelerated-mobile-pages amp amp-html yii2 yii2-amp yii2-extension yii2-widgets
Last synced: about 2 months ago
JSON representation
Collection of AMP widgets and layouts.
- Host: GitHub
- URL: https://github.com/derekisbusy/yii2-amp
- Owner: derekisbusy
- Created: 2017-05-09T04:50:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T04:50:48.000Z (about 9 years ago)
- Last Synced: 2025-01-24T09:42:58.984Z (over 1 year ago)
- Topics: accelerated-mobile-pages, amp, amp-html, yii2, yii2-amp, yii2-extension, yii2-widgets
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yii2-AMP (Accelerated Mobile Pages)
===================================
Collection of AMP widgets and layouts.
Installation
------------
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist derekisbusy/yii2-amp "*"
```
or add
```
"derekisbusy/yii2-amp": "*"
```
to the require section of your `composer.json` file.
Usage
-----
Once the extension is installed, simply use it in your code by :
```php
= \derekisbusy\amp\Menu::widget(); ?>```