Download the PHP package ruudy/metronic-bundle without Composer

On this page you can find all versions of the php package ruudy/metronic-bundle. 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 metronic-bundle

METRONIC BUNDLE

SensioLabsInsight Total Downloads Latest Stable Version License

I apologize for the inconvenience that my english can produce.

Thanks to Sonata Project, their code inspire me on how to do some things.

Thanks to Metronic - Responsive Admin Dashboard Template creators for the good treatment received.

Latest pages & templates adapted (UPDATES)

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE

Instalation

Installation is a quick 4 step process:

  1. Download over composer
  2. Enable the bundle
  3. Generate the required files for the bundle
  4. Download or Buy Metronic Theme and copy some assets folders

Step 1. Download over composer

Add RuudyMetronicBundle the require line to your composer.json:

"require": {
    "ruudy/metronic-bundle": "@dev"
}

$ php composer.phar install

or just add it by running the command:

$ php composer.phar require ruudy/metronic-bundle '@dev'

Composer will install the bundle to your project's ruudy/metronic-bundle directory.

Step 2. Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Ruudy\MetronicBundle\RuudyMetronicBundle(),
    );
}

Step 3. Generate the required files for the bundle

At this point, the bundle is not yet ready. You need to generate the correct files and folders for the twig inherance:

$ php app/console ruudy:metronic:generate

This command will generate and skeleton bundle on src/Application/Ruudy/, and some folders to populate with the Metronic Template Assets

Step 4. Download or Buy Metronic Theme and copy some assets folders

This project is based on the Metronic - Responsive Admin Dashboard Template, so you need to buy it to get your license and all the assets and examples.

After you have your license, you only have to copy some folders in Bundle generated:

/metronic_3.0.1/metronic/assets/admin

INTO

/src/Application/Ruudy/MetronicBundle/Resources/public/admin

and

/metronic_3.0.1/metronic/assets/global

INTO

/src/Application/Ruudy/MetronicBundle/Resources/public/global

This bundle is stable with Metronic 3.0.1 version, buy i´m working on keep it up to date with the latest metronic releases

After copying the files you just have to install assets:

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

Usage

As you can see, this bundle is basically composed by a lot of twigs files.

You only have to take that blocks, zones or pieces and extend it by your own. If you have the metronic package examples it will be faster and easier to you.

The Basic idea is that you have the Metronic Theme separated on Zones and you can fill this Zones with Pieces, buy that Pieces can have some Zones to fill with another pieces. Is simple as think about container inherance.

As you can see i tried to maintain the metronic structure, so if metronic have an zone of code commented by:

<!-- BEGIN RESPONSIVE MENU TOGGLER -->
...// some html
<!-- END RESPONSIVE MENU TOGGLER -->

In this bundle you will have a zone defined as:

{% block responsive_menu_toggler %}{% endblock %}

And one twig called:

responsive_menu_toggler.html.twig

This file have the basic html of the block for create the html container, and you just need to decide what to do:

  1. Extend it and fill with the html directly copied from the html example in Metronic Package.
  2. Extend it and create your own html from scratch.
  3. Create your own responsive_menu_toggler and include it in the block.

Examples

You have some basic examples how this bundle works on the Resources\views\metronic\examples folder.

It will be growing.


All versions of metronic-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
symfony/symfony Version 2.*
twig/extensions Version ~1.0
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 ruudy/metronic-bundle contains the following files

Loading the files please wait ....