PHPackages                             jd/draggy - 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. [Templating &amp; Views](/categories/templating)
4. /
5. jd/draggy

AbandonedLibrary[Templating &amp; Views](/categories/templating)

jd/draggy
=========

Draggy - Visual code development tool and template engine

v1.0(12y ago)2377[2 issues](https://github.com/j-d/draggy/issues)MITPHPPHP &gt;=5.4.0

Since Jul 7Pushed 12y ago2 watchersCompare

[ Source](https://github.com/j-d/draggy)[ Packagist](https://packagist.org/packages/jd/draggy)[ RSS](/packages/jd-draggy/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

Draggy
======

[](#draggy)

Draggy is a code development tool and template engine that enables the user to create and maintain a functional Skeleton of an application.

The installation instructions here are for installing Draggy as a vendor on an existing Symfony2 installation. If you are starting a new project, there is an easier way to get started by downloading a Symfony2 installation that already has Draggy bundled. For details please go to

Downloading that bundle package is the same as creating a new Symfony2 project and following the steps below.

If you want to see a demo, you can download one from here:

Installation (as a vendor on an existing Symfony2 installation)
---------------------------------------------------------------

[](#installation-as-a-vendor-on-an-existing-symfony2-installation)

Edit your `composer.json` file and add draggy as a dependency

```
sudo nano composer.json

```

```
    "require-dev": {
        ...
        "jd/draggy": "dev-master"
        ...
```

Change the version of the Incenteev dependency as it doesn't currently (2.3) support additional parameters on the `parameters.yml` file:

```
    "require": {
        ...
        "incenteev/composer-parameter-handler": "2.1.*@dev"
        ...
```

Run `composer update` to download the recently added dependency

```
sudo composer update

```

Copy the `parameters_draggy.yml.dist` file from `vendor/jd/draggy/app/config/` to `app/config/` as `parameters_draggy.yml`

```
sudo cp vendor/jd/draggy/app/config/parameters_draggy.yml.dist app/config/parameters_draggy.yml

```

Edit your `parameters.yml` file to add an import of the `parameters_draggy.yml` file

```
sudo nano app/config/parameters.yml

```

```
    imports:
        - { resource: parameters_draggy.yml }
        ...

    parameters:
    ...
```

Edit the `parameters_draggy.yml` and configure the model file name and other parameters

```
sudo nano app/config/parameters_draggy.yml

```

```
parameters:
    draggy.model_filename:      .xml
    draggy.model_path:          %kernel.root_dir%/../doc/
    draggy.model_history_path:  %kernel.root_dir%/../doc/history/
    draggy.model_xml_extension: .xml
    draggy.autocode.src_path:   %kernel.root_dir%/../src/
```

Create the folder where you are going to save the model, if it doesn't exist

```
mkdir doc

```

Crate the path where you are going to save the model history, if it doesn't exist

```
mkdir doc/history

```

Give write access to `www-data` to those folder

```
sudo apt-get install acl

sudo setfacl -R  -m u:www-data:rwx -m u:`whoami`:rwx doc doc/history
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx doc doc/history

```

Add `doc/history` to the .gitignore

```
sudo nano .gitignore

```

```
...
/doc/history/*
!.gitkeep

```

Register the `DraggyBundle` in the `app\AppKernel.php` (it is recommended to add it on the `dev` section)

```
sudo nano app/AppKernel.php

```

```
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    ...
    $bundles[] = new Draggy\Bundle\DraggyBundle\DraggyBundle();
    $bundles[] = new Draggy\Bundle\MockBundle\MockBundle();
    ...
```

Modify the `routing_dev.yml` file to add Draggy routes

```
sudo nano app/config/routing_dev.yml

```

```
...
_draggy:
    resource: "@DraggyBundle/Resources/config/routing.yml"
    prefix:   /_draggy/
```

If you are going to use the default Draggy mock templates, copy the custom `form_div_layout.html.twig` into the resources folder:

```
mkdir app/Resources/views/Form
cp vendor/jd/draggy/src/Draggy/Bundle/MockBundle/Resources/views/Form/form_div_layout.html.twig app/Resources/views/Form/form_div_layout.html.twig

```

and amend your `config.yml` file to use this twig template and add the MockBundle to assetic:

```
sudo nano app/config/config.yml

```

```
...
twig:
    ...
    form:
        resources:
            - ':Form:form_div_layout.html.twig'
...
assetic:
    ...
    bundles:        [MockBundle]
    ...
```

Install the Draggy assets

```
sudo php app/console assets:install --symlink

```

That's it! To use it just browse to the path you created, e.g. [http://myproject.local/app\_dev.php/\_draggy](http://myproject.local/app_dev.php/_draggy)

Happy Draggy-ing!

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~32 days

Total

3

Last Release

4680d ago

Major Versions

v0.9 → v1.02013-09-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2644?v=4)[Julien Danjou](/maintainers/jd)[@jd](https://github.com/jd)

---

Top Contributors

[![j-d](https://avatars.githubusercontent.com/u/1140726?v=4)](https://github.com/j-d "j-d (17 commits)")

### Embed Badge

![Health badge](/badges/jd-draggy/health.svg)

```
[![Health](https://phpackages.com/badges/jd-draggy/health.svg)](https://phpackages.com/packages/jd-draggy)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k453.6k30](/packages/tightenco-jigsaw)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

16126.1k1](/packages/symfony-ux-toolkit)

PHPackages © 2026

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