/yii2-note

笔记

Primary LanguagePHPMIT LicenseMIT

yii2-note

仿 https://pastebin.com/ 的笔记

Latest Stable Version Total Downloads Reference Status Build Status Dependency Status License

Installation

The preferred way to install this extension is through composer.

Either run

$ composer require yuncms/yii2-note

or add

"yuncms/yii2-note": "~2.0.0"

to the require section of your composer.json file.

笔记Url规则

    'notes/<page:\d+>' => 'note/note/index',
    'notes/create' => 'note/note/create',
    'notes' => 'note/note/index',
    'notes/<uuid:[\w+]+>/print' => 'note/note/print',
    'notes/<uuid:[\w+]+>/download' => 'note/note/download',
    'note/<uuid:[\w+]+>' => 'note/note/view',

License

This is released under the MIT License. See the bundled LICENSE.md for details.