PHPackages                             phpolar/phpolar - 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. phpolar/phpolar

ActiveLibrary[Framework](/categories/framework)

phpolar/phpolar
===============

A PHP framework for minimalists

8.3.4(4w ago)21.0k[3 issues](https://github.com/phpolar/phpolar/issues)[3 PRs](https://github.com/phpolar/phpolar/pulls)1MITPHPPHP &gt;=8.4CI passing

Since Dec 4Pushed 6d ago1 watchersCompare

[ Source](https://github.com/phpolar/phpolar)[ Packagist](https://packagist.org/packages/phpolar/phpolar)[ RSS](/packages/phpolar-phpolar/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (54)Versions (62)Used By (1)

PHPolar
=======

[](#phpolar)

A PHP framework for minimalists

 [![PHPolar logo](./phpolar.svg)](./phpolar.svg)

 [![Coverage Status Badge](https://camo.githubusercontent.com/cfec594cb860e3d17226cfb88102c33ddb1c10bba767a346c6aca62f5ae99578/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7068706f6c61722f7068706f6c61722f62616467652e7376673f6272616e63683d6d61696e)](https://camo.githubusercontent.com/cfec594cb860e3d17226cfb88102c33ddb1c10bba767a346c6aca62f5ae99578/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7068706f6c61722f7068706f6c61722f62616467652e7376673f6272616e63683d6d61696e) [![Latest Stable Version](https://camo.githubusercontent.com/dc0f12072e592483d5d1e3208892234a19830d5bf6519dfe28ce7e797538f273/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f7068706f6c61722f76)](https://camo.githubusercontent.com/dc0f12072e592483d5d1e3208892234a19830d5bf6519dfe28ce7e797538f273/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f7068706f6c61722f76) [![Total Downloads](https://camo.githubusercontent.com/000f704404c35bf4cad732eefbc325312cfcbffd1b3e623cb0506f5656c6e4cf/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f7068706f6c61722f646f776e6c6f616473)](https://camo.githubusercontent.com/000f704404c35bf4cad732eefbc325312cfcbffd1b3e623cb0506f5656c6e4cf/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f7068706f6c61722f646f776e6c6f616473) [![License](https://camo.githubusercontent.com/81d827924f2677e7b4d7de0f6af533510f1dd725b781aa7fd28dadb61664b194/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f7068706f6c61722f6c6963656e7365)](https://camo.githubusercontent.com/81d827924f2677e7b4d7de0f6af533510f1dd725b781aa7fd28dadb61664b194/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f7068706f6c61722f6c6963656e7365) [![PHP Version Require](https://camo.githubusercontent.com/aeac48c99e05e185f0e904d102e06d64c1b38c82061e85e41a7e111b324a6458/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f7068706f6c61722f726571756972652f706870)](https://camo.githubusercontent.com/aeac48c99e05e185f0e904d102e06d64c1b38c82061e85e41a7e111b324a6458/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f7068706f6c61722f726571756972652f706870) [![Weekly Check](https://github.com/phpolar/phpolar/actions/workflows/weekly.yml/badge.svg)](https://github.com/phpolar/phpolar/actions/workflows/weekly.yml/badge.svg)

 [Quick start](https://docs.phpolar.org/quick-start/)
 [Documentation](https://docs.phpolar.org/)
 [API](https://api.phpolar.org/)
 [Website](https://phpolar.org/)

Quick start
-----------

[](#quick-start)

```
# create an example application

composer create-project phpolar/skeleton
```

Objectives
----------

[](#objectives)

1. Provide [attributes](#use-attributes-to-configure-models) so that objects can be declaratively configured for clean application development.
2. Support using [pure PHP templates](#pure-php-templates) with automatic XSS mitigation.
3. Keep project small. See [thresholds](#thresholds)

**Note** For more details see the [acceptance tests results](./acceptance-test-results.md)

Pure PHP Templates
------------------

[](#pure-php-templates)

### Example 1

[](#example-1)

```
DOCTYPE html>
