yisonli / wxmenu
An editor for wechat menu.
1.1
2020-03-12 07:46 UTC
Requires
- php: >=7.0.0
- encore/laravel-admin: ~1.6
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2026-03-24 10:57:45 UTC
README
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
