PHPackages                             nicolas/phoponent - 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. nicolas/phoponent

ActiveProject[Framework](/categories/framework)

nicolas/phoponent
=================

Framework PHP permétant de créer des composant HTML en PHP. chaque composant est un pattern MVC et sa vue peux comptenir d'autres composants.

06PHP

Since Jul 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nicolachoquet06250/phoponent)[ Packagist](https://packagist.org/packages/nicolas/phoponent)[ RSS](/packages/nicolas-phoponent/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

© 2018 - Phoponent
==================

[](#-2018---phoponent)

LICENCE GNU GPL
---------------

[](#licence-gnu-gpl)

[![Sbuild](https://camo.githubusercontent.com/f064bba287b5c7204e7caa89dc87c623538c63e2f57b708ba8290ef65fc59a31/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e69636f6c6163686f7175657430363235302f70686f706f6e656e742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nicolachoquet06250/phoponent/?branch=master) [![Scrutinizer Code intelligence](https://camo.githubusercontent.com/04bffe6ece38b89c00d4821cc2a00e0eb436c2a67cc79287834fb764f1627c7b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e69636f6c6163686f7175657430363235302f70686f706f6e656e742f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/g/nicolachoquet06250/phoponent/?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/8c36c095b931a9a7a09ef652c5cb17dfdcce359b0d703a6e6567cf0d18301859/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e69636f6c6163686f7175657430363235302f70686f706f6e656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nicolachoquet06250/phoponent/?branch=master)

PHP framework for creating HTML components in PHP. each component is an MVC pattern and its view can contain other components.

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

[](#installation)

Clone Phoponent git repository:

```
    git clone https://github.com/nicolachoquet06250/phoponent
```

Usage
-----

[](#usage)

Use the available commands.

Several commands are available:

- `php Phoponent`
    - help command
- `php Phoponent make:debug`
    - enable and disable debug mode.
- ...etc

Create html page.
-----------------

[](#create-html-page)

For create an Html page, create Html file in `app` directory.

For view this page, go to your browser and tape `http(s)://your_domain.com/?p=index.html`

Create php component
--------------------

[](#create-php-component)

For create a php component, simply tape this command in your terminal:

```
php Phoponent make:component
```

this command takes 2 parameters of which 1 obligatory:

- tag : this is the tag name of your component.
- type : this is the type of your component ( core or custom )
    - =&gt; core is default value.

this command will create for you:

- one demo model:
    - processes datas
- one demo PHP view with its associate PHP class:
    - processes view
- one demo controller:
    - return render

Thereafter, update files for get the expected result.

For your component to be taken into account, it must be written on the html page.

You can write it in 3 different ways without impacting its understanding by the framework:

- 1st way:

```

```

- 2nd way:

```

    text to write in the 'value' variable

```

- 3rd way:

```

```

For externals libs, include them in `external_libs` directory

If you add external\_libraries or class and you would like add at dependency in component:

- go to phoponent/Autoload.php file and add your file to `self::$dependencies[]` variable.

    - class name is key and value is class ( `self::$dependencies['ma_class'] = \namespace\ma_class::class;` )
- Voir les sites suivants:

    - pour tester le framework:
        - http(s)://domain.fr?(:port)/?p=index.html
        - http(s)://domain.fr?(:port)/?p=doc/index.html
    -

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8083381?v=4)[Choquet Nicolas](/maintainers/nicolachoquet06250)[@nicolachoquet06250](https://github.com/nicolachoquet06250)

---

Top Contributors

[![nicolachoquet06250](https://avatars.githubusercontent.com/u/8083381?v=4)](https://github.com/nicolachoquet06250 "nicolachoquet06250 (21 commits)")

### Embed Badge

![Health badge](/badges/nicolas-phoponent/health.svg)

```
[![Health](https://phpackages.com/badges/nicolas-phoponent/health.svg)](https://phpackages.com/packages/nicolas-phoponent)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M844](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
