Home

Awesome

An editor for WeChat Menu.

This is a laravel-admin extension that integrates wx_menu into laravel-admin.

Screenshot

<img src="wxmenu.jpg">

Installation

First, install dependencies:

composer require yisonli/wxmenu

Then, publish the resource directory:

php artisan vendor:publish --tag=wxmenu --force

Configuration

In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.

'extensions' => [
    'wxmenu' => [
        // set to false if you want to disable this extension
        'enable' => true,
    ]
]

Usage

Use it in the form form:

$form->wxmenu('content');

// Also you can set default value like this
$form->wxmenu('content')->default($default_value);

License

Licensed under The MIT License.

About Me

name: yison.li
blog: http://yyeer.com
github: https://github.com/yisonli