Skip to content
/ wxmenu Public

An extension plugin of WeChat Menu for laravel-admin.

License

Notifications You must be signed in to change notification settings

yisonli/wxmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An editor for WeChat Menu.

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

Screenshot

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

About

An extension plugin of WeChat Menu for laravel-admin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published