PHPackages                             oneplace/oneplace-templates - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. oneplace/oneplace-templates

ActiveOneplace-module[Framework](/categories/framework)

oneplace/oneplace-templates
===========================

onePlace Templates

1.0.1(5y ago)0155[3 issues](https://github.com/OnePlc/PLC_X_Templates/issues)2BSD-3-ClausePHPPHP ^7.1

Since Mar 30Pushed 5y agoCompare

[ Source](https://github.com/OnePlc/PLC_X_Templates)[ Packagist](https://packagist.org/packages/oneplace/oneplace-templates)[ RSS](/packages/oneplace-oneplace-templates/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (5)Versions (3)Used By (2)

oneplace-templates
==================

[](#oneplace-templates)

[![Packagist Downloads](https://camo.githubusercontent.com/d89c2a38e25ac6287eb9664c020991531f8c6e2bc309bcbe1b111df7cbf5f6af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6e65706c6163652f6f6e65706c6163652d74656d706c61746573)](https://camo.githubusercontent.com/d89c2a38e25ac6287eb9664c020991531f8c6e2bc309bcbe1b111df7cbf5f6af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6e65706c6163652f6f6e65706c6163652d74656d706c61746573)[![Stable Version](https://camo.githubusercontent.com/075b84a23f274f0852c2319c9b3b46c2741b3e2488b181d4dd58fd6c1b3fda53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6e65706c6163652f6f6e65706c6163652d74656d706c61746573)](https://camo.githubusercontent.com/075b84a23f274f0852c2319c9b3b46c2741b3e2488b181d4dd58fd6c1b3fda53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6e65706c6163652f6f6e65706c6163652d74656d706c61746573)[![GitHub Release Date](https://camo.githubusercontent.com/eda3a934645b68b4156725cfa29f11772937dee55d88ff6c668d997b98f1a7f8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f6f6e65706c632f706c635f785f74656d706c61746573)](https://camo.githubusercontent.com/eda3a934645b68b4156725cfa29f11772937dee55d88ff6c668d997b98f1a7f8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f6f6e65706c632f706c635f785f74656d706c61746573)[![Open Issues](https://camo.githubusercontent.com/7b75f1dffd48e71c071b4abefd21a39cc0412477bd89abdd4f916af55882461d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7261772f6f6e65706c632f706c635f785f74656d706c61746573)](https://camo.githubusercontent.com/7b75f1dffd48e71c071b4abefd21a39cc0412477bd89abdd4f916af55882461d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7261772f6f6e65706c632f706c635f785f74656d706c61746573)

Introduction
------------

[](#introduction)

This is a collection of templates to build software with onePlace

**You can actually use this collection of bootstrap based html templates for every laminas-mvc based application**

### Included Components

[](#included-components)

- [Cards](https://getbootstrap.com/docs/4.0/components/card/)

Installation
------------

[](#installation)

The easiest way to install onePlace Templates is via composer

```
composer require oneplace/oneplace-templates
```

Quick Start
-----------

[](#quick-start)

Just use the templates you want and customize them in the way you need. Here is an example of an form based on a bootstrap card

```
# Define Body
$sCardBody = 'YOUR-HTML-OR-PARTIAL-HERE';

# Define Footer
$sCardFooter = $this->partial('templates/card/basic_footer', [
    'sButtonLabel' => $this->translate('Save Calendar'),
    'sButtonIcon' => 'fas fa-save',
    'bCancelButton' => true,
    'sCancelButtonAction' => '/calendar',
]);

?>
