Download the PHP package ehann/frontend-bundle without Composer

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

EhannFrontendBundle

Twitter Bootstrap-ready frontend and layout bundle for Symfony2.

Twig Layouts

The bundle provides two Twig templates for layouts (you can extend either or both):

  1. EhannFrontendBundle::base.html.twig
  2. EhannFrontendBundle:layouts:bootstrap.html.twig

The EhannFrontendBundle::base.html.twig template contains a boilerplate set of Twig blocks and the Modernizr library (version set in composer.json).

The EhannFrontendBundle:layouts:bootstrap.html.twig template extends the EhannFrontendBundle::base.html.twig template and adds jQuery, Twitter Bootstrap, Font-Awesome, Bootbox, and Bootstrap DateTime Picker. With the exception of Font-Awesome, the versions of all of these libraries are controlled by the EhannFrontendBundle's composer.json file. Font-Awesome is not installed via composer because of limitations with Assetic - there does not appear to be a way to rewrite fonts using Assetic. This means that Font-Awesome cannot locate its font files if it is installed outside of a bundle without a filesystem/symlink hack.

Bootstrap Forms

Twitter Bootstrap expects the HTML in forms to be structured in a specific way. When you include the EhannFrontendBundle:forms:bootstrap_form_layout.html.twig template, the HTML in Twig's default form blocks are restructured to be Twitter Bootstrap-compatible.

Assetic Filters

This EhannFrontendBundle also has a tricked-out Assetic configuration with various configured filters for your use. The tools associated with these filters are downloaded when you install the module. The filters are:

  1. phpcssembed
  2. yui_css
  3. yui_js
  4. lessphp
  5. scssphp

Related Bundles

EhannNotificationBundle - Utilizes the Symfony2 flash message feature to add Twitter Bootstrap-ready notifications to your application.

Installation

Add EhannFrontEndBundle in your composer.json:

Download bundle:

Add the EhannFrontendBundle to your AppKernel.php

Add the EhannFrontendBundle assetic.yml file into your application config file.

Composer Repositories

Composer repositories can only be defined in the root application's composer.json file. Add these respoistories to your application's composer.json file:

Config

Specify the global default layout template, making it accessible to all bundles in your application.

Extend your own templates by extending the default layout.


All versions of frontend-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
twig/extensions Version 1.0.*@dev
leafo/lessphp Version *
leafo/scssphp Version *
yui/yui-compressor Version *
makeusabrew/bootbox Version *
tarruda/bootstrap-datetimepicker Version *
ptachoire/cssembed Version 1.*
components/jquery Version 1.10.*
components/bootstrap Version 2.3.*
components/font-awesome Version 3.2.*
components/modernizr Version 2.6.2
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 ehann/frontend-bundle contains the following files

Loading the files please wait ....