PHP Classes
elePHPant
Icontem

PIMF: Framework for Web application development

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (199)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (2)    
Last Updated Ratings Unique User Downloads Download Rankings  
2015-04-15 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 643 All time: 4,641 This week: 1,209Up
Version License PHP version Categories  
pimf 1.13BSD License5.3PHP 5, Libraries, Design Patterns
Description Author  

This package is a framework for Web application development.

It provides many small classes for general purposes useful in Web development like base classes for MVC, data mapper, and utility classes for many types of data parsing and generation.

The package also comes with an example blog application.

Picture of Gjero Krsteski
Name: Gjero Krsteski <contact>
Classes: 3 packages by
Country: Germany Germany
Age: 35
All time rank: 1843119 in Germany Germany
Week rank: 1497 Up82 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

Details provided by the author  
Welcome to PIMF
===============
Have you ever wished a PHP framework that perfectly adapts to your projects`s needs, your programming experience and your customers budget? A thin PHP framework with less implementing rueles and easy to learn how to use it? PIMF is about to satisfy your demands!

[![Build Status](https://travis-ci.org/gjerokrsteski/pimf-framework.png?branch=master)](https://travis-ci.org/gjerokrsteski/pimf-framework) 
[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/gjerokrsteski/pimf-framework/badges/quality-score.png?s=6455d019460628327434d85520bd13c4d03a2673)](https://scrutinizer-ci.com/g/gjerokrsteski/pimf-framework/)
[![Code Coverage](https://scrutinizer-ci.com/g/gjerokrsteski/pimf-framework/badges/coverage.png?s=ded7f154ac78cbdbabc166e32fd2f54c009d2c67)](https://scrutinizer-ci.com/g/gjerokrsteski/pimf-framework/)
[![Dependency Status](https://www.versioneye.com/php/gjerokrsteski:pimf/dev-master/badge.svg)](https://www.versioneye.com/php/gjerokrsteski:pimf/dev-master)
[![Code Climate](https://codeclimate.com/github/gjerokrsteski/pimf-framework.png)](https://codeclimate.com/github/gjerokrsteski/pimf-framework)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/f73307c6-0864-454f-967d-cebfd1e4b304/mini.png)](https://insight.sensiolabs.com/projects/f73307c6-0864-454f-967d-cebfd1e4b304)
[![Packagist](https://img.shields.io/packagist/dt/gjerokrsteski/pimf.svg)](https://packagist.org/packages/gjerokrsteski/pimf-framework)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/gjerokrsteski/pimf-framework/trend.png)](https://bitdeli.com/free "Bitdeli Badge")


**Note:** This repository contains the core code of the PIMF framework. If you want to build an application using PIMF, please use one of the quick starting bundles below.

PIMF Philosophy
---------------
A good and robust business-logic is better that a fat and complex framework. Most of the PHP frameworks are bigger than your problem. At all you need less than 20% of the framework’s functionality to solve you problem. Therefore we believe that the “right” 20% of the effort is the 80% of the results - and that is PIMF.

The aim was to create robust and secure projects and deliver them fast. We wanted just one easy framework, that can be used once for all our projects. And then - PIMF was born!

PIMF’s implementation is based on well proved design patterns as well as fast objects relation mapping mechanisms - like famous PHP frameworks had. The architecture is designed upgrade friendly - so you can upgrade to newer versions without having to override your projects. And for all of you out there, who like to create rich application interfaces with ExtJs or Dojo - we have created mechanisms to couple your GUI to the controllers in an easy and fast way.

Quickstart with PIMF-Blog bundle using SQLite
---------------------------------------------
This Blog is a run ready bundle, which uses PIMF framework including a blog application based on SQLite database. Here you can learn how to work with \Pimf\EntityManager, \Pimf\Util\Validator and \Pimf\View. https://github.com/gjerokrsteski/pimf-blog

Quickstart with PIMF-Blog bundle using MySQL and SQLite
-------------------------------------------------------
This Blog is a run ready bundle, which uses PIMF framework including a blog application based on MySQL database. The session will be stored at SQLite database.
Here you can learn how to work with Pimf\EntityManager, Pimf\Util\Validator and Pimf\View. https://github.com/gjerokrsteski/pimf-blog-mysql

Quickstart with PIMF-Vanilla bundle
------------------------------
This is a run ready "Hello world" bundle using PIMF micro framework. Here you can learn how to work with \Pimf\View and \Pimf\Router. https://github.com/gjerokrsteski/pimf-vanilla

Quickstart with PIMF-Haanga bundle
-----------------------------
This is a run ready "Hello world" application using PIMF micro framework and Haanga (http://haanga.org/documentation) - a fast and secure template engine for PHP that uses Django syntax.
Here you can learn how to work with \Pimf\View\Haanga template engine and \Pimf\Router. https://github.com/gjerokrsteski/pimf-haanga

Quickstart with PIMF-Twig bundle
-----------------------------
This is a run ready "Hello world" application using PIMF micro framework and Twig - a flexible, fast, and secure template
engine for PHP (http://twig.sensiolabs.org) brought to us by the Symfony framework developers. Here you can learn how to work
with \Pimf\View\Twig template engine and \Pimf\Router. https://github.com/gjerokrsteski/pimf-twig

Learning PIMF
-------------
One of the best ways to learn PIMF is to read through the entire of its documentation. This guide details all aspects of the framework and how to apply them to your application. http://docs.pimf-framework.de

Read the PIMF Starter book almost anywhere. Available as a PDF, EPUB and MOBI. You can now read it on all devices, as well as offline: http://book.pimf-framework.de

Framework Sponsor
-------------------
JetBRAINS supports the development of the PIMF with PHPStorm licenses and we feel confidential that PHPStorm strongly influences the PIMF's quality. Use PHPStorm! http://www.jetbrains.com/phpstorm/

### License

The PIMF framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)
  Files folder image Files  
File Role Description
Files folder imagecore (1 directory)
Files folder imagemanuscript (17 files, 1 directory)
Files folder imagetests (1 directory)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Plain text file autoload.core.php Class Class source
Plain text file bootstrap.core.php Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Auxiliary data
Plain text file utils.php Class Class source

  Files folder image Files  /  core  
File Role Description
Files folder imagePimf (24 files, 14 directories)

  Files folder image Files  /  core  /  Pimf  
File Role Description
Files folder imageCache (1 directory)
Files folder imageCli (1 file)
Files folder imageContracts (6 files)
Files folder imageController (3 files)
Files folder imageDataMapper (1 file)
Files folder imageModel (1 file)
Files folder imagePdo (6 files)
Files folder imageResolver (1 file)
Files folder imageRoute (1 file)
Files folder imageSession (1 file, 1 directory)
Files folder imageUtil (15 files, 4 directories)
Files folder imageView (2 files)
Files folder image_database (4 files)
Files folder image_error (2 files)
  Plain text file Application.php Class Class source
  Plain text file Cache.php Class Class source
  Plain text file Cli.php Class Class source
  Plain text file Cookie.php Class Class source
  Plain text file Database.php Class Class source
  Plain text file EntityManager.php Class Class source
  Plain text file Environment.php Class Class source
  Plain text file Error.php Class Class source
  Plain text file Event.php Class Class source
  Plain text file Logger.php Class Class source
  Plain text file Memcached.php Class Class source
  Plain text file Param.php Class Class source
  Plain text file Redis.php Class Class source
  Plain text file Registry.php Class Class source
  Plain text file Request.php Class Class source
  Plain text file Resolver.php Class Class source
  Plain text file Response.php Class Class source
  Plain text file Route.php Class Class source
  Plain text file Router.php Class Class source
  Plain text file Sapi.php Class Class source
  Plain text file Session.php Class Class source
  Plain text file Uri.php Class Class source
  Plain text file Url.php Class Class source
  Plain text file View.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Cache  
File Role Description
Files folder imageStorages (9 files)

  Files folder image Files  /  core  /  Pimf  /  Cache  /  Storages  
File Role Description
  Plain text file Apc.php Class Class source
  Plain text file Dba.php Class Class source
  Plain text file File.php Class Class source
  Plain text file Memcached.php Class Class source
  Plain text file Memory.php Class Class source
  Plain text file Pdo.php Class Class source
  Plain text file Redis.php Class Class source
  Plain text file Storage.php Class Class source
  Plain text file Wincache.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Cli  
File Role Description
  Plain text file Std.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Contracts  
File Role Description
  Plain text file Arrayable.php Class Class source
  Plain text file Cleanable.php Class Class source
  Plain text file Jsonable.php Class Class source
  Plain text file MessageProvider.php Class Class source
  Plain text file Renderable.php Class Class source
  Plain text file Reunitable.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Controller  
File Role Description
  Plain text file Base.php Class Class source
  Plain text file Core.php Class Class source
  Plain text file Exception.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  DataMapper  
File Role Description
  Plain text file Base.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Model  
File Role Description
  Plain text file AsArray.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Pdo  
File Role Description
  Plain text file Connector.php Class Class source
  Plain text file Factory.php Class Class source
  Plain text file Mysql.php Class Class source
  Plain text file Postgre.php Class Class source
  Plain text file Sqlite.php Class Class source
  Plain text file Sqlserver.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Resolver  
File Role Description
  Plain text file Exception.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Route  
File Role Description
  Plain text file Target.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Session  
File Role Description
Files folder imageStorages (9 files)
  Plain text file Payload.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Session  /  Storages  
File Role Description
  Plain text file Apc.php Class Class source
  Plain text file Cookie.php Class Class source
  Plain text file Dba.php Class Class source
  Plain text file File.php Class Class source
  Plain text file Memcached.php Class Class source
  Plain text file Memory.php Class Class source
  Plain text file Pdo.php Class Class source
  Plain text file Redis.php Class Class source
  Plain text file Storage.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Util  
File Role Description
Files folder imageHeader (2 files)
Files folder imageString (2 files)
Files folder imageUploaded (1 file)
Files folder imageValidator (1 file)
  Plain text file Crypt.php Class Class source
  Plain text file Dom.php Class Class source
  Plain text file File.php Class Class source
  Plain text file Header.php Class Class source
  Plain text file Http.php Class Class source
  Plain text file Identifier.php Class Class source
  Plain text file IdentityMap.php Class Class source
  Plain text file Json.php Class Class source
  Plain text file Message.php Class Class source
  Plain text file Serializer.php Class Class source
  Plain text file String.php Class Class source
  Plain text file Uploaded.php Class Class source
  Plain text file Uuid.php Class Class source
  Plain text file Validator.php Class Class source
  Plain text file Xml.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Util  /  Header  
File Role Description
  Plain text file ContentType.php Class Class source
  Plain text file ResponseStatus.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Util  /  String  
File Role Description
  Plain text file Clean.php Class Class source
  Plain text file Sanitize.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Util  /  Uploaded  
File Role Description
  Plain text file Factory.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  Util  /  Validator  
File Role Description
  Plain text file Factory.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  View  
File Role Description
  Plain text file Haanga.php Class Class source
  Plain text file Twig.php Class Class source

  Files folder image Files  /  core  /  Pimf  /  _database  
File Role Description
  Accessible without login Plain text file create-cache-table-mysql.sql Data Auxiliary data
  Accessible without login Plain text file create-cache-table-sqlite.sql Data Auxiliary data
  Accessible without login Plain text file create-session-table-mysql.sql Data Auxiliary data
  Accessible without login Plain text file create-session-table-sqlite.sql Data Auxiliary data

  Files folder image Files  /  core  /  Pimf  /  _error  
File Role Description
  Plain text file 404.php Class Class source
  Plain text file 500.php Class Class source

  Files folder image Files  /  manuscript  
File Role Description
Files folder imageimages (1 file)
  Accessible without login Plain text file 1.-Welcome-to-PIMF.md Data Auxiliary data
  Accessible without login Plain text file 2.-Feature-overview.md Data Auxiliary data
  Accessible without login Plain text file 3a.-Autoloading.md Data Auxiliary data
  Accessible without login Plain text file 4.-Database-connection-configuration.md Data Auxiliary data
  Accessible without login Plain text file 5.-Creating-new-application.md Data Auxiliary data
  Accessible without login Plain text file 6.-Creating-new-controller.md Data Auxiliary data
  Accessible without login Plain text file 6a.-Run-controller-action-in-two-ways.md Data Auxiliary data
  Accessible without login Plain text file 6b.-Creating-new-c...interface-action.md Data Auxiliary data
  Accessible without login Plain text file 6c.-Routing.md Data Auxiliary data
  Accessible without login Plain text file 6f.-Events.md Data Auxiliary data
  Accessible without login Plain text file 6h.-Request.md Data Auxiliary data
  Accessible without login Plain text file 6j.-Registry.md Data Auxiliary data
  Accessible without login Plain text file Book.txt Doc. Documentation
  Accessible without login Plain text file Contributing-to-PIMF.md Data Auxiliary data
  Accessible without login Plain text file Subset.txt Doc. Documentation
  Accessible without login Plain text file Working-with-Pimf_Util_Message.md Data Auxiliary data
  Accessible without login Plain text file Working-with-Pimf_Util_Validator.md Data Auxiliary data

  Files folder image Files  /  manuscript  /  images  
File Role Description
  Accessible without login Image file title_page.jpg Data Auxiliary data

  Files folder image Files  /  tests  
File Role Description
Files folder imagePimf (24 files, 8 directories)

  Files folder image Files  /  tests  /  Pimf  
File Role Description
Files folder imageCache (8 files)
Files folder imageCli (1 file)
Files folder imageDataMapper (1 file)
Files folder imageModel (1 file)
Files folder imagePdo (5 files)
Files folder imageSession (8 files)
Files folder imageUtil (18 files, 1 directory)
Files folder image_fixture (3 files, 1 directory)
  Plain text file ApplicationTest.php Class Class source
  Plain text file CacheTest.php Class Class source
  Plain text file CliTest.php Class Class source
  Plain text file CookieTest.php Class Class source
  Plain text file DatabaseTest.php Class Class source
  Plain text file EntityManagerTest.php Class Class source
  Plain text file EnvironmentTest.php Class Class source
  Plain text file ErrorTest.php Class Class source
  Plain text file EventTest.php Class Class source
  Plain text file LoggerTest.php Class Class source
  Plain text file MemcachedTest.php Class Class source
  Plain text file ParamTest.php Class Class source
  Plain text file RedisTest.php Class Class source
  Plain text file RegistryTest.php Class Class source
  Plain text file RequestTest.php Class Class source
  Plain text file ResolverTest.php Class Class source
  Plain text file ResponseTest.php Class Class source
  Plain text file RouterTest.php Class Class source
  Plain text file RouteTest.php Class Class source
  Plain text file SapiTest.php Class Class source
  Plain text file SessionTest.php Class Class source
  Plain text file UriTest.php Class Class source
  Plain text file UrlTest.php Class Class source
  Plain text file ViewTest.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  Cache  
File Role Description
  Plain text file ApcTest.php Class Class source
  Plain text file DbaTest.php Class Class source
  Plain text file FileTest.php Class Class source
  Plain text file MemcachedTest.php Class Class source
  Plain text file MemoryTest.php Class Class source
  Plain text file PdoTest.php Class Class source
  Plain text file RedisTest.php Class Class source
  Plain text file WincacheTest.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  Cli  
File Role Description
  Plain text file StdTest.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  DataMapper  
File Role Description
  Plain text file DataMapperTest.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  Model  
File Role Description
  Plain text file ToArrayTest.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  Pdo  
File Role Description
  Plain text file FactoryTest.php Class Class source
  Plain text file MySQLTest.php Class Class source
  Plain text file PostgreTest.php Class Class source
  Plain text file SqliteTest.php Class Class source
  Plain text file SqlserverTest.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  Session  
File Role Description
  Plain text file ApcTest.php Class Class source
  Plain text file CookieTest.php Class Class source
  Plain text file DbaTest.php Class Class source
  Plain text file FileTest.php Class Class source
  Plain text file MemcachedTest.php Class Class source
  Plain text file MemoryTest.php Class Class source
  Plain text file PdoTest.php Class Class source
  Plain text file RedisTest.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  Util  
File Role Description
Files folder image_fixture (7 files)
  Plain text file ContentTypeTest.php Class Class source
  Accessible without login Plain text file CryptTest.php Test Unit test script
  Plain text file DomTest.php Class Class source
  Plain text file FileTest.php Class Class source
  Plain text file HeaderTest.php Class Class source
  Plain text file IdentifierTest.php Class Class source
  Plain text file IdentityMapTest.php Class Class source
  Plain text file JsonTest.php Class Class source
  Plain text file MessageFormaterTest.php Class Class source
  Plain text file ResponseStatusTest.php Class Class source
  Plain text file SerializerTest.php Class Class source
  Plain text file StringTest.php Class Class source
  Plain text file UploadedFactoryTest.php Class Class source
  Plain text file UploadedTest.php Class Class source
  Plain text file UuidTest.php Class Class source
  Plain text file ValidatorFactoryTest.php Class Class source
  Plain text file ValidatorTest.php Class Class source
  Plain text file XmlConverterTest.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  Util  /  _fixture  
File Role Description
  Accessible without login HTML file expected-after-tru...reserving-tags.html Data Auxiliary data
  Accessible without login HTML file expects-clean-aggressive.html Doc. Documentation
  Accessible without login HTML file expects-clean-xss.html Doc. Documentation
  Accessible without login HTML file samp-html-with-js-and-css-markup.html Doc. Documentation
  Accessible without login HTML file samp-string.html Doc. Documentation
  Accessible without login Plain text file samp-with-namespace.xml Data Auxiliary data
  Accessible without login Plain text file samp.xml Data Auxiliary data

  Files folder image Files  /  tests  /  Pimf  /  _fixture  
File Role Description
Files folder imageapp (1 directory)
  Plain text file Bad.php Class Class source
  Accessible without login Plain text file default.phtml Data Auxiliary data
  Plain text file Index.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  _fixture  /  app  
File Role Description
Files folder imagetest-app (2 files, 2 directories)

  Files folder image Files  /  tests  /  Pimf  /  _fixture  /  app  /  test-app  
File Role Description
Files folder imageDataMapper (1 file)
Files folder image_templates (1 file)
  Plain text file events.php Class Class source
  Plain text file routes.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  _fixture  /  app  /  test-app  /  DataMapper  
File Role Description
  Plain text file World.php Class Class source

  Files folder image Files  /  tests  /  Pimf  /  _fixture  /  app  /  test-app  /  _templates  
File Role Description
  Accessible without login Plain text file default.phtml Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%Total:643All time:4,641
 This week:0This week:1,209Up