PHPackages                             tacone/rapyd-datatree - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tacone/rapyd-datatree

ActiveLibrary

tacone/rapyd-datatree
=====================

0.1.1(10y ago)112JavaScriptPHP &gt;=5.4.0

Since Dec 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/tacone/rapyd-datatree)[ Packagist](https://packagist.org/packages/tacone/rapyd-datatree)[ RSS](/packages/tacone-rapyd-datatree/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

DataTree for Rapyd
==================

[](#datatree-for-rapyd)

If you use Laravel 5 you don't need this repository, the datatree has been merged in the core of [Rapyd](https://github.com/zofe/rapyd-laravel/)!

If you use Laravel 4.2 and Rapyd you can use this repo to add the DataTree to your app.

Installation
------------

[](#installation)

Before beginning, you need to add to your composer Baum\\Baum as we don't add it automatically for you.

Add it to composer, add the service provider and publish the assets.

Add the service provider to app.php

```
        'Tacone\RapydDataTree\RapydDataTreeServiceProvider',

```

Add the css and js hooks in your template:

In the ``:

```
    {{ DataTree::styles() }}

```

At the end of the ``:

```
    {{ DataTree::scripts() }}

```

Sample usage
------------

[](#sample-usage)

```
use Tacone\RapydDataTree\DataTree;

class MyController extends Controller
{
    public function anyIndex($rootId = null)
    {
        $rootId or App::abort(404);
        $root = Menu::find($rootId) or App::abort(404);

        $tree = DataTree::source($root);
        $tree->add('title');
        $tree->edit("/admin/menu/edit", 'Edit', 'modify|delete');

        return View::make('admin/menu/index', compact('tree'));
    }
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3811d ago

PHP version history (2 changes)0.1PHP &gt;=5.3.0

0.1.1PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/edcd4b84f3beef2756b5a2d5c718ded56e5e9461051bbc834208ddfb7da58055?d=identicon)[tacone](/maintainers/tacone)

---

Top Contributors

[![tacone](https://avatars.githubusercontent.com/u/659801?v=4)](https://github.com/tacone "tacone (11 commits)")

### Embed Badge

![Health badge](/badges/tacone-rapyd-datatree/health.svg)

```
[![Health](https://phpackages.com/badges/tacone-rapyd-datatree/health.svg)](https://phpackages.com/packages/tacone-rapyd-datatree)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
