Download the PHP package jd/draggy without Composer

On this page you can find all versions of the php package jd/draggy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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 https://github.com/j-d/symfony-standard-draggy

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: https://github.com/j-d/draggy-demo

Installation (as a vendor on an existing Symfony2 installation)

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

sudo nano composer.json

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

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

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

sudo nano app/config/parameters_draggy.yml

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

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

sudo nano app/AppKernel.php

Modify the routing_dev.yml file to add Draggy routes

sudo nano app/config/routing_dev.yml

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

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

Happy Draggy-ing!


All versions of draggy with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
symfony/yaml Version 2.3.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jd/draggy contains the following files

Loading the files please wait ....