2017 © Pedro Peláez
 

library pclib

Pclib framework

image

lenochware/pclib

Pclib framework

  • Tuesday, June 5, 2018
  • by lenochware
  • Repository
  • 2 Watchers
  • 2 Stars
  • 41 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 17 % Grown

The README.md

What is PClib?

Lightweight PHP framework without boilerplate of big frameworks., (*1)

Features

  • MVC (Controllers, templates and models)
  • Db: Database layer (mysql, pgsql and sql-lite adapters included)
  • Form: Rendering, validation and storing into database
  • Grid (datagrid): Pagination, sorting columns, summarization rows, filter
  • Auth: Authentication and authorization: users, roles and permissions
  • Translator: multilanguage support
  • Debugger: improved error messages, dump() function, debug-bar...
  • ORM
  • PAdmin: Site administrator tool
  • Logger, Tree view and more...

Installation

  1. Download pclib
  2. Copy directory pclib somewhere at your webroot.
  3. Some parts of the library need a few database tables. You can found sql-dump in install/pclib_*.sql. Import this sql-dump into your database.
  4. Now you are ready to use pclib!

or install it using composer:, (*2)

composer require lenochware/pclib

Examples

Render form, (*3)

require 'vendor/autoload.php'; // or 'pclib/pclib.php' without composer
$app = new PCApp('test-app');

$form = new PCForm('tpl/form-template.tpl');
print $form;

Connect to database and show datagrid with data, (*4)

require 'vendor/autoload.php'; 
$app = new PCApp('test-app');
$app->db = new PCDb('pdo_mysql://user:password@localhost/database-name');

$grid = new PCGrid('tpl/grid-template.tpl');
$grid->setQuery('SELECT * FROM products');
print $grid;

For more examples see http://pclib.brambor.net/, (*5)

License

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree., (*6)

The Versions

05/06 2018

dev-master

9999999-dev http://pclib.brambor.net

Pclib framework

  Sources   Download

LGPL-2.1+

The Requires

  • php >=5.4.0

 

by Avatar lenochware

framework pclib

05/06 2018

v2.3.2

2.3.2.0 http://pclib.brambor.net

Pclib framework

  Sources   Download

LGPL-2.1+

The Requires

  • php >=5.4.0

 

by Avatar lenochware

framework pclib

01/04 2018

v1.9.10

1.9.10.0

  Sources   Download

01/04 2018

v1.9.15

1.9.15.0

  Sources   Download

01/04 2018

v2.0.0

2.0.0.0

  Sources   Download

01/04 2018

v2.1.0

2.1.0.0

  Sources   Download

01/04 2018

v2.1.1

2.1.1.0

  Sources   Download

15/03 2018

v2.3.1

2.3.1.0 http://pclib.brambor.net

Pclib framework

  Sources   Download

LGPL-2.1+

The Requires

  • php >=5.3.0

 

by Avatar lenochware

framework pclib

29/12 2017

v2.3.0

2.3.0.0 http://pclib.brambor.net

Pclib framework

  Sources   Download

LGPL-2.1+

The Requires

  • php >=5.3.0

 

by Avatar lenochware

framework pclib

18/04 2017

v2.2.1

2.2.1.0 http://pclib.brambor.net

Pclib framework

  Sources   Download

LGPL-2.1+

The Requires

  • php >=5.3.0

 

by Avatar lenochware

framework pclib

16/01 2017

v2.2.0

2.2.0.0 http://pclib.brambor.net

Pclib framework

  Sources   Download

LGPL-2.1+

The Requires

  • php >=5.3.0

 

by Avatar lenochware

framework pclib