garcia/wmenu

There is no license information available for the latest version (dev-master) of this package.

Installs: 51

Dependents: 0

Suggesters: 0

Security: 0

Stars: 35

Watchers: 4

Forks: 29

Open Issues: 3

Language:JavaScript

dev-master 2015-02-25 20:05 UTC

This package is not auto-updated.

Last update: 2024-04-17 05:22:05 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;

ScreenShot ScreenShot ScreenShot