PHPackages                             ephect-io/framework - 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. ephect-io/framework

ActiveLibrary[Framework](/categories/framework)

ephect-io/framework
===================

Effective PHP

0.8.12(3mo ago)1702GPL-3.0+PHPPHP ^8.4

Since Nov 23Pushed 3mo agoCompare

[ Source](https://github.com/ephect-io/framework)[ Packagist](https://packagist.org/packages/ephect-io/framework)[ Docs](https://ephect.io)[ RSS](/packages/ephect-io-framework/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (4)Versions (53)Used By (0)

[![Ephect](assets/images/salamandra.png)](assets/images/salamandra.png)

What is Ephect ?
----------------

[](#what-is-ephect-)

**E**ffective **P**rogramming in **H**ybrid **E**nvironment using **C**omponents-based **T**emplates.

It's a comprehensive solution that combines a lightweight PHP framework and a JavaScript library.

Ephect allows you to design backend pages and components a fluent way as well as web components.

It integrates a build process based on webpack.

Featured concepts
-----------------

[](#featured-concepts)

### The components

[](#the-components)

Basically, components are custom HTML tags. All concepts of HTML tags on backend side are applicable to components except the naming convention: a component name must begin with a capital letter.

The logic of the component is coded in a simple funcion returning a template.

#### Example 1

[](#example-1)

Here is an open component that can surround children components or just HTML code.

```

    Hello World!

```

The code would look like this:

```
