PHPackages                             aaronfc/phpx - 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. [Security](/categories/security)
4. /
5. aaronfc/phpx

ActiveLibrary[Security](/categories/security)

aaronfc/phpx
============

PHP component library with automatic XSS protection

v0.1.0-beta(9mo ago)01[8 issues](https://github.com/aaronfc/phpx/issues)MITPHPPHP &gt;=8.0

Since Aug 7Pushed 9mo agoCompare

[ Source](https://github.com/aaronfc/phpx)[ Packagist](https://packagist.org/packages/aaronfc/phpx)[ RSS](/packages/aaronfc-phpx/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHPX
====

[](#phpx)

A PHP component library for your frontend with automatic XSS protection.

Warning

THIS IS AN EXPERIMENT I AM RUNNING FOR FUN AND FOR MYSELF. BE CAREFUL IF YOU DECIDE TO USE IT.

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

[](#installation)

Install via Composer:

```
composer require aaronfc/phpx
```

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

[](#quick-start)

### Basic Component

[](#basic-component)

Create a simple component by extending the `Component` class:

```

    Welcome, !
    You have logged in  times.

    Bio:
