Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Marionette Bundle Laravel Package

bmatzner/marionette-bundle

View on GitHub
Deep Wiki
Context7

MarionetteJS Bundle for Symfony2

Current Version

MarionetteJS v1.8.8

Requirements

MarionetteJS requires Backbone and a number of dependencies included in this package.

Installation

Add bundle to your composer.json file

// composer.json

{
    "require": {
		// ...
        "bmatzner/marionette-bundle": "~1.8"
    }
}

Add bundle to your application kernel

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
	new Bmatzner\MarionetteBundle\BmatznerMarionetteBundle(),
	new Bmatzner\UnderscoreBundle\BmatznerUnderscoreBundle(),
	new Bmatzner\Json2Bundle\BmatznerJson2Bundle(),
	new Bmatzner\JQueryBundle\BmatznerJQueryBundle(),
	new Bmatzner\BackboneBundle\BmatznerBackboneBundle(),
        // ...
    );
}

Download the bundle using Composer

$ php composer.phar update bmatzner/marionette-bundle

Install assets

Given your server's public directory is named "web", install the public vendor resources

$ php app/console assets:install web

Optionally, use the --symlink attribute to create links rather than copies of the resources

$ php app/console assets:install --symlink web

Usage

Install and reference the dependencies for Marionette:

<script type="text/javascript" src="{{ asset('bundles/bmatznerjson2/js/json2.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/bmatznerjquery/js/jquery.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/bmatznerunderscore/js/underscore.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/bmatznerbackbone/js/backbone.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/bmatznermarionette/js/backbone.marionette.min.js') }}"></script>

Alternatively, use Lo-Dash as a drop-in replacement for Underscore (also available as a Symfony bundle "bmatzner/lodash-bundle")

Licenses

Refer to the source code of the included files for license information

References

  1. http://marionettejs.com/
  2. http://backbonejs.org/
  3. http://symfony.com/
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator