Download the PHP package bigfoot/core-bundle without Composer

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

BigfootCoreBundle

This is the core bundle for the Bigfoot administration interface. Provides core features and helpers to integrate BackOffice features through bundles.

Installation

Use composer :

php composer.phar require bigfoot/core-bundle

Register the bundle in your app/AppKernel.php file :

$bundles = array(
    ...
    new Bigfoot\Bundle\CoreBundle\BigfootCoreBundle(),
    ...
);

Usage

The administration interface is then available at /admin. For now, it does nothing. Add Bigfoot bundles or create your own to really get started !

How to create a widget

Create a class extends Bigfoot\Bundle\CoreBundle\Model\AbstractWidget. Define in your new class the method 'renderContent()'. This method must return html code of your widget.

Add a record in widget_backoffice table with corresponding values : name : Fullname of your class title : Title display in widget header, this field is translatable

Add 2 records in widget_backoffice_parameter table. One with these values : name: order value: Order number you want for your widget widget_id: Record ID of your widget in widget_backoffice table user_id: (Optionnal) If defined, this parameter will be used only for this user

Another with these values : name: width value: number of columns use by your widget widget_id: Record ID of your widget in widget_backoffice table user_id: (Optionnal) If defined, this parameter will be used only for this user

How to overload Symfony Router

Add these following lines to your front config:

BigfootFile annotation :

BigfootFile uses symfony's file upload system with its 2 properties for one file.

@Bigfoot\Bundle\CoreBundle\Annotation\Bigfoot\File : apply this annotation on the property that represents the form field. Use its filePathProperty option (required) to connect the other property.

Don't forget to create an "updated" field, and to update it before flushing with a PreFlush listener. Otherwise the file won't update if you don't change anything else in the form.

Exemple :

Use it in your Form :

If you don't define any deleteRoute, the deleteLink won't appear

Get the file in front :

The second parameter(default false) defines whether or not the filter returns an absolute path

Generate a csv in Crud Index page :

Add the method getCsvFields into your extended CrudController controller:

If you want to display a field of your entity, use:

If you want to display a field of an external entity, use:

If you want to display a field of OneToMany relation, use:

Improve the speed of your 'Edit forms' by setting a form by tab:

Add the method getFormTypes into your extended CrudController controller which return an array compound of arrays of 'label' (labels of tabs) and 'form', names of the FormType services.

Make sure you added an index parameter to your editAction of your controller:

That's it!


All versions of core-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
symfony/framework-bundle Version ~2.5
knplabs/knp-menu-bundle Version 2.0.*@dev
knplabs/knp-paginator-bundle Version ~2.4.1
friendsofsymfony/jsrouting-bundle Version ~1.1
liip/imagine-bundle Version ~0.6
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 bigfoot/core-bundle contains the following files

Collapse All

Listener

  ControllerListener.php
  KernelListener.php

Widget

  RecentActivity.php

Util

  CommonUtil.php
  StringUtil.php

Twig

   Crud

    FormatterExtension.php
  LocalesFlagsExtension.php

Translation

  DatabaseLoader.php

Theme

   Menu

    Item.php
    Menu.php

   Section

    AbstractSection.php
    FooterSection.php
    HeaderSection.php
    PageContentSection.php
    PageHeaderSection.php
    SidebarSection.php
    ToolbarSection.php
  Theme.php

Subscriber

  KnpSubscriber.php
  MenuSubscriber.php

Resources

   config

    assets.yml
    config.yml
    services.yml

   doc

    index.rst
    upgrade-filters.md
    upgrade.rst

   public

     css
     font
     img
     js

   skeleton

     crud
     form

   translations

    messages.en.yml
    messages.fr.yml

   views

     includes
     modal
     quicklink
     settings
     theme
     translation
     user
    base.html.twig
    base.list.html.twig
    base.popin.html.twig

ORM

   Doctrine

     Query
  Acos.php
  Cos.php
  Distance.php
  Point.php
  PointStr.php
  PointType.php
  Radians.php
  Sin.php

Model

  AbstractWidget.php

Menu

  Builder.php
  MenuManager.php

Manager

  FilterManager.php
  SettingsManager.php
  TranslatableLabelManager.php

Mailer

  AbstractMailer.php

Generator

  BigfootCrudGenerator.php
  TokenGenerator.php

Crud

   Formatter

    DateFormatter.php
    FormatterInterface.php
    Loader.php
    TranslationFormatter.php

Annotation

   Bigfoot

    Context.php
    Link.php

Command

   Bigfoot

    AssetsInstallCommand.php
    GenerateCrudCommand.php
    LabelsExtractCommand.php
    LabelsSyncCommand.php
    ThemeInstallCommand.php
  BaseCommand.php

Form

   DataTransformer

    TagsToStringTransformer.php

   EventListener

    TranslationSubscriber.php

   Type

    BigfootRichtextType.php
    BigfootTagType.php
    CollectionItemType.php
    FilterType.php
    SettingsType.php
    SortableEntityType.php
    TranslatedEntityType.php
  AbstractTranslatableLabelType.php
  QuickLinkType.php
  TagCategoryType.php
  TagType.php
  TranslatableLabelTranslationType.php
  TranslatableLabelType.php

Controller

  AdminControllerInterface.php
  BaseController.php
  CoreController.php
  CrudController.php
  DashboardController.php
  QuickLinkController.php
  SettingsController.php
  TagCategoryController.php
  TagController.php
  TranslatableLabelController.php
  WidgetController.php

Composer

  BigfootScriptHandler.php

DataFixtures

   ORM

    LoadTagCategoryData.php
    LoadWidgetBackofficeData.php

DependencyInjection

   Compiler

    FormatterCompilerPass.php
  BigfootCoreExtension.php
  Configuration.php

Entity

   Widget

    Parameter.php
    Parameter.php~
  QuickLink.php
  QuickLinkRepository.php
  Settings.php
  Tag.php
  TagCategory.php
  TagCategoryRepository.php
  TagRepository.php
  TranslatableLabel.php
  TranslatableLabelRepository.php
  TranslatableLabelTranslation.php
  TranslationRepository.php
  Widget.php

Event

  FormEvent.php
  MenuEvent.php
  SettingsEvent.php
README.md
BigfootCoreBundle.php
UPGRADE-2.2.md
.gitignore
WidgetInterface.php
composer.json
composer.lock