PHP Classes
elePHPant
Icontem

PIMF: Framework for Web application development

Recommend this page to a friend!
  Info   View files View files (214)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (2)    
Last Updated Ratings Unique User Downloads Download Rankings
2016-11-25 (10 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 678 This week: 1All time: 4,580 This week: 793Up
Version License PHP version Categories
pimf 1.16BSD 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.

  Performance   Level  
Name: Gjero Krsteski <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 37
All time rank: 1736109 in Germany Germany
Week rank: 417 Up18 in Germany Germany Up
Innovation award
Innovation award
Nominee: 2x

Details
Welcome to PIMF
====================
[![Build Status](https://travis-ci.org/gjerokrsteski/pimf-framework.svg?branch=master)](https://travis-ci.org/gjerokrsteski/pimf-framework) [![Latest Stable Version](https://img.shields.io/packagist/v/gjerokrsteski/pimf-framework.svg?label=stable)](https://packagist.org/packages/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 Climate](https://codeclimate.com/github/gjerokrsteski/pimf-framework.png)](https://codeclimate.com/github/gjerokrsteski/pimf-framework) [![SensioLabsInsight](https://img.shields.io/sensiolabs/i/f73307c6-0864-454f-967d-cebfd1e4b304.svg)](https://insight.sensiolabs.com/projects/f73307c6-0864-454f-967d-cebfd1e4b304) [![License](https://img.shields.io/packagist/l/gjerokrsteski/pimf-framework.svg)](https://packagist.org/packages/gjerokrsteski/pimf-framework)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pimf-framework/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Have you ever wanted a PHP framework which perfectly adapts to the needs of your project? A thin PHP framework with minimal installation configuration as well as being easy to learn? PIMF is about to satisfy your demands!

Getting Started
---------------
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-start bundles below.

Quickstart with PIMF-Blog bundle using SQLite
---------------------------------------------
This Blog is a run-ready bundle which uses PIMF framework and includes a blog application based on the 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 and includes a blog application based on the MySQL database. Sessions will be stored in a 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 entirety 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

PIMF Philosophy
---------------
Most PHP frameworks are bigger than the problem you are trying to solve. A big and complex framework can't protect you from poor business logic, and will often become a large part of your problem. Often you need 20% or less from the functionality of a full-stack framework to solve your problem. Therefore finding the right 20% of the framework functionality solves the remaining 80% of your problem. PIMF is an opinionated framework which follows common best practises that strives to be those right 20%.

PIMF was first created for our own personal use. The aim was to deliver robust and secure projects fast. We just wanted one easy framework, which could be used for all of our projects. And then - PIMF was born!

PIMF’s implementation is based on well proven design patterns as well as fast object relation mapping mechanisms. PIMF is designed to be upgrade friendly - so that you can upgrade to newer versions with minimal effort.

Framework Sponsor
-------------------
JetBRAINS supports the development of PIMF with PHPStorm licenses and we feel confident that PHPStorm strongly reinforces 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 (16 files, 1 directory)
Files folder imagetests (1 directory)
Accessible without login Plain text file .editorconfig 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 (25 files, 15 directories)

  Files folder image Files  /  core  /  Pimf  
File Role Description
Files folder imageAdapter (6 files)
Files folder imageCache (1 directory)
Files folder imageCli (1 file)
Files folder imageContracts (7 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 (17 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 Config.php Class Class source
  Plain text file Config.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 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  /  Adapter  
File Role Description
  Plain text file File.php Class Class source
  Plain text file File.php Class Class source
  Plain text file Socket.php Class Class source
  Plain text file Socket.php Class Class source
  Plain text file Std.php Class Class source
  Plain text file Std.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 Renderable.php Class Class source
  Plain text file Reunitable.php Class Class source
  Plain text file Streamable.php Class Class source
  Plain text file Streamable.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 imageCharacter (4 files)
Files folder imageHeader (2 files)
Files folder imageUploaded (1 file)
Files folder imageValidator (1 file)
  Plain text file Character.php Class Class source
  Plain text file Character.php Class Class source
  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 Identifier.php Class Class source
  Plain text file IdentityMap.php Class Class source
  Plain text file Json.php Class Class source
  Plain text file Locker.php Class Class source
  Plain text file Locker.php Class Class source
  Plain text file Message.php Class Class source
  Plain text file Serializer.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  /  Character  
File Role Description
  Plain text file Clean.php Class Class source
  Plain text file Clean.php Class Class source
  Plain text file Sanitize.php Class Class source
  Plain text file Sanitize.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  /  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 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 (25 files, 9 directories)

  Files folder image Files  /  tests  /  Pimf  
File Role Description
Files folder imageAdapter (2 files)
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 (20 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 ConfigTest.php Class Class source
  Plain text file ConfigTest.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 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  /  Adapter  
File Role Description
  Plain text file SocketTest.php Class Class source
  Plain text file SocketTest.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 CharacterTest.php Class Class source
  Plain text file CharacterTest.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 LockTest.php Class Class source
  Plain text file LockTest.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 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  
 93%
Total:678
This week:1
All time:4,580
This week:793Up