Download the PHP package codeaxion/nestifyx without Composer
On this page you can find all versions of the php package codeaxion/nestifyx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codeaxion/nestifyx
More information about codeaxion/nestifyx
Files in codeaxion/nestifyx
Package nestifyx
Short Description The NestifyX package provides functionality for managing categories or nested elements within your application.
License MIT
Informations about the package nestifyx
NestifyX Laravel Package
Overview
The NestifyX Laravel package provides features for managing categories and manipulate nested elements within your application using recursive methods.
Organize Your Categories with Ease.
Features
-
Category Tree Management: This Module includes Category Management with the Ability of changing its position using drag and drop feature, you just have to include a button component and that's it .
-
Recursion Methods: This Module includes various methods to play with recursions, like generating tree, fetch Children/Parent ids, generate breadcrumbs, show tree view in dropdown etc...
- Performance: Will do all your work in a single query.
Required Dependencies To Run Js Tree pop up
AlpineJs, Jquery, Jstree
Installation
To utilize the NestifyX package in your application, follow these steps:
-
Installation: Install the NestifyX package via Composer:
-
Add Your Required Dependencies via CDN (without these dependencies jstree wont work)
-
Run necessary Migration
Will add position column in your categories table for ordering
- Integration: Include the Nestify Facade
Thats's it Your setup is over
Optional
-
(Optional) Publish config file if you have different table name
- (Optional) Publish migration if you want
Usage
Add Category Module Slider
After adding this blade component click on the button named category tree to open category module slider
Convert Normal Eloquent Collection/Array To Nested Tree
Sort Children without converting it to tree
Flatten Children (- useful for dropdowns)
Generate breadcrumbs for all categories
Generate current breadcrumbs
Get all parent ids of a child category
Get all child ids of a parent category
Upcoming Feature
- Add Nestable2 plugin feature in Categories
- Remove Alpine js dependency
- Add support for bootstrap
New features suggestions are always welcome
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.