2017 © Pedro Peláez
 

library nette-widgets

Nette widgets extension. Based on clear01/widgets.

image

clear01/nette-widgets

Nette widgets extension. Based on clear01/widgets.

  • Tuesday, May 16, 2017
  • by clear01
  • Repository
  • 2 Watchers
  • 0 Stars
  • 194 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

Clear01/NetteWidgets

Briefing

This package brings support of widgets to your Nette projects. It's build upon the package clear01/widgets-core, the widgets model base., (*1)

It provides Nette specific implementation of abstract entities and introduces an extension for easy widget registration., (*2)

This documentation describes only the Nette-related implementation, the common widget model is described in clear01/widgets-core package as long as it can be used within a different framework (Symfony,..) or as it is., (*3)

Requirements

  • PHP >= 5.5, (*4)

  • Nette >= 2.1, (*5)

  • clear01/widgets-core package, (*6)

Further packages

Because this package does not implement all the abstract entities of clear01/widgets-core, further packages can be used to reach the out-of-the-box solution (or to get a bit of inspiration for your own implementation)., (*7)

Persistence layer implementations
Dashboard management components

Example usage

config.neon, (*8)

widgets:
    available:
        - \App\Widgets\IUpcomingEventsComponentFactory
        - \Clear01\Widgets\Nette\TemplateWidgetDeclarationFactory(%appDir%/WidgetTemplates/Greeting.latte)
        - \App\Widgets\Clock
        - \App\Widgets\EmergencyButtonsFactory

YourOwnSuperCoolDashboardManagementComponent.php, (*9)

class DashboardComponent {

    /** @var \Clear01\Widgets\IWidgetManager **/
    protected $widgetManager;

    ...
}

Installation

!!! This package is not a complete out-of-box solution (see the section "Further packages"), (*10)

This package is available on packagist. Run the following command to add your dependency., (*11)

$ composer require clear01/nette-widgets

Documentation

Learn more in the documentation., (*12)

The Versions

16/05 2017

dev-master

9999999-dev

Nette widgets extension. Based on clear01/widgets.

  Sources   Download

proprietary

The Requires

 

The Development Requires

16/05 2017

v0.2

0.2.0.0

Nette widgets extension. Based on clear01/widgets.

  Sources   Download

proprietary

The Requires

 

The Development Requires

25/04 2017

v0.1.1

0.1.1.0

Nette widgets extension. Based on clear01/widgets.

  Sources   Download

proprietary

The Requires

 

The Development Requires

15/03 2017

v0.1

0.1.0.0

Nette widgets extension. Based on clear01/widgets.

  Sources   Download

proprietary

The Requires

 

The Development Requires