garcia / wmenu
Installs: 51
Dependents: 0
Suggesters: 0
Security: 0
Stars: 35
Watchers: 4
Forks: 29
Open Issues: 3
Language:JavaScript
Requires
- php: >=5.4.0
- illuminate/support: 4.2.*
This package is not auto-updated.
Last update: 2024-11-13 08:06:33 UTC
README
laravel package menu like wordpress
This is a menu that has the functionality of wordpress, and ease of creating editing and selection, some css and javascripts property was used wordpress.
It has a nestable menu and sortable.
This project has two versions of menu creator
domain.com/menuw
"require": {
"laravel/framework": "4.2.*",
"garcia/wmenu": "dev-master"
}
'providers' => array(
'Garcia\Wmenu\WmenuServiceProvider',
),
php artisan asset:publish garcia/wmenu
CREATE TABLE `menus` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
CREATE TABLE `menu_items` (
`id` int(11) NOT NULL,
`label` varchar(255) NOT NULL,
`link` varchar(255) NOT NULL,
`parent` varchar(255) NOT NULL DEFAULT '0',
`sort` int(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`class` varchar(50) DEFAULT NULL,
`menu` int(11) DEFAULT '1',
`depth` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB AUTO_INCREMENT=280 DEFAULT CHARSET=latin1;