Download the PHP package tangoman/front-bundle without Composer

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

TangoMan Front Bundle

TangoMan Front Bundle provides an easy way to add front elements to your pages. TangoMan Front Bundle makes building back-office for your app a brease.

Features

All elements can :

Links, buttons, menu items, tabs can :

And buttons can :

You can easily create your own template as well.

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

Since TangoMan Front Bundle requires TangoMan Callback Bundle enable it in the app/AppKernel.php as well.

Usage

Front Assets

Assets should copy automatically, if for whatever reason you need to reinstall them manually type following command :

In order for elements to display properly include the following <link> tag in your ::base.html.twig Wich will enable TangoMan Front Bundle custom css. (You can use your own css is you want to.)

In order for forms to behave like expected include the following <script> tags inside your javascript block.

Navbar component

If you're using default navbar template, name your routes like the following:

Search / filter form component

Place use statement in the controller

Build object in the controller

Integrate in Twig

Ordered list component

Inputs

Attribute Status Default value
class optional form-control
disabled optional null
icon optional null
id optional tango-input-{{ input.name }}
label optional null
name mandatory null
pages optional []
placeholder optional null
roles optional ['IS_AUTHENTICATED_ANONYMOUSLY']
submit optional false
type optional text
value auto app.request.get(input.name)

Selects

Attribute Status Default value
class optional 'form-control'
disabled optional null
icon optional null
id optional tango-select-{{ input.name }}
label optional null
name mandatory null
options optional null
pages optional []
placeholder optional null
roles optional ['IS_AUTHENTICATED_ANONYMOUSLY']
submit optional false
type optional 'text'

Buttons

Attribute Status Default value
attributes optional null
badge optional null
class optional 'btn btn-primary'
data optional null
disabled optional null
href optional null
icon optional null
id optional null
label optional null
pages optional []
parameters optional null
roles optional ['IS_AUTHENTICATED_ANONYMOUSLY']
route mandatory null

Links

Attribute Status Default value
attributes optional null
badge optional null
class optional null
data optional null
disabled optional null
href optional null
icon optional null
id optional null
label optional null
pages optional []
parameters optional null
roles optional ['IS_AUTHENTICATED_ANONYMOUSLY']
route mandatory null

Options

Attribute Status Default value
disabled optional null
id optional null
name mandatory null
pages optional []
roles optional ['IS_AUTHENTICATED_ANONYMOUSLY']
value mandatory null

Examples

Inputs

Selects

Optgroups

Buttons

Button Groups

TangoMan Front Bundle classes

Error

When you get to see Twig_Error_Runtime Symfony Exception

Impossible to access an attribute ("foobar") on a null variable.

It means your json is invalid. Don't worry you probrably just missed a comma somewhere.

Bootstrap 3 toggles

Title Toggle Parameters Attributes Link
Button data-toggle="button" buttons-single-toggle
Buttons data-toggle="buttons" buttons
Collapse data-toggle="collapse" data-target data-parent href collapse
Dropdowns data-toggle="dropdown" dropdowns
Modals data-toggle="modal" data-target="..." rel="modal" modals
Popovers data-toggle="popover" data-placement data-trigger data-content title rel="popover" popovers
Togglable pills data-toggle="pill" pills
Togglable tabs data-toggle="tab" tabs
Tooltips data-toggle="tooltip" data-original-title data-placement title tooltips

Note

If you find any bug please report here : Issues

License

Copyright (c) 2018 Matthias Morin

Distributed under the MIT license.

If you like TangoMan Front Bundle please star! And follow me on GitHub: TangoMan75 ... And check my other cool projects.

Matthias Morin | LinkedIn


All versions of front-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
twig/twig Version ~1.12|~2
tangoman/callback-bundle Version ^2.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 tangoman/front-bundle contains the following files

Loading the files please wait ....