PHPackages                             atk14/editable-fragments - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. atk14/editable-fragments

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

atk14/editable-fragments
========================

A set of features that allow editing (typically textual) components on a webpage

v1.1.7(2mo ago)0527↓50%MITPHPPHP &gt;=5.4.0CI failing

Since Jan 12Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/atk14/EditableFragments)[ Packagist](https://packagist.org/packages/atk14/editable-fragments)[ Docs](https://github.com/atk14/EditableFragments)[ RSS](/packages/atk14-editable-fragments/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (12)Versions (12)Used By (0)

Editable Fragments
------------------

[](#editable-fragments)

A set of features that allow editing (typically textual) components on a webpage.

Editable Fragments is designed for applications built on [ATK14 Framework](https://www.atk14.net/).

Usage
=====

[](#usage)

In a template:

```
{* file: app/views/main/index.tpl *}

{editable key="about_us"}
We are who we are!
We are here because we are here!
{/editable}

```

By default, editable content is being edited in the textarea (as the DEFAULT\_EDITABLE\_CONTENT\_TYPE is set as "text").

Other ways of usage:

```
{editable_string key="about_us/title"}About Us{/editable_string}

{editable_markdown key="about_us"}
* We are who we are!
* We are here because we are here!
{/editable_markdown}

{editable_render partial="person_info" person=$person key="vip_person"}

{editable_link_content key="about_us/title"}

    About us

{/editable_link_content}

```

Images:

```
{editable_pupiq_image key="image_about_us" geometry="400x300"}

{/editable_pupiq_image}

{* or *}

{editable_pupiq_image key="image_about_us" geometry="400x300"}

{/editable_pupiq_image}

```

Prerequisites
=============

[](#prerequisites)

### User Authorization

[](#user-authorization)

### Iobjects

[](#iobjects)

### Icons

[](#icons)

When in the application is constant USING\_FONTAWESOME defined to true, Fontawesome icons are used automatically. Otherwise, Ionicons icons are used.

Configuration
=============

[](#configuration)

```
define("DEFAULT_EDITABLE_CONTENT_TYPE","text");
define("DEFAULT_EDITABLE_CONTENT_SECTION","content");
define("DEFAULT_EDITABLE_KEY","content");

```

Installation
============

[](#installation)

```
cd path/to/your/project/
composer require atk14/editable-fragments

ln -s ../../../vendor/atk14/editable-fragments/src/app/controllers/admin/editable_fragments_controller.php app/controllers/admin/
ln -s ../../../vendor/atk14/editable-fragments/src/app/forms/admin/editable_fragments app/forms/admin/
ln -s ../../../vendor/atk14/editable-fragments/src/app/views/admin/editable_fragments app/views/admin/
ln -s ../../vendor/atk14/editable-fragments/src/app/helpers/block.editable.php app/helpers/
ln -s ../../vendor/atk14/editable-fragments/src/app/helpers/block.editable_markdown.php app/helpers/
ln -s ../../vendor/atk14/editable-fragments/src/app/helpers/block.editable_link_content.php app/helpers/
ln -s ../../vendor/atk14/editable-fragments/src/app/helpers/block.editable_page_description.php app/helpers/
ln -s ../../vendor/atk14/editable-fragments/src/app/helpers/block.editable_page_title.php app/helpers/
ln -s ../../vendor/atk14/editable-fragments/src/app/helpers/function.editable_render.php app/helpers/
ln -s ../../vendor/atk14/editable-fragments/src/app/helpers/block.editable_string.php app/helpers/
ln -s ../../vendor/atk14/editable-fragments/src/app/helpers/block.editable_pupiq_image.php app/helpers/
ln -s ../../vendor/atk14/editable-fragments/src/app/models/editable_fragment.php app/models/
ln -s ../../vendor/atk14/editable-fragments/src/app/models/editable_fragment_history.php app/models/

```

Copy migration to a proper filename into your project and perform the migration script:

```
cp vendor/atk14/editable-fragments/src/db/migrations/0144_editable_fragments.sql db/migrations/
./scripts/migrate

```

Linking a proper style form either for or Bootstrap 4 (scss) or Bootstrap 3 (less).

```
# Bootstrap 4
ln -s ../../vendor/atk14/editable-fragments/src/public/styles/_editable_fragments.scss public/styles/

# or Bootstrap 3
ln -s ../../vendor/atk14/editable-fragments/src/public/styles/editable_fragments.less public/styles/

```

Now include the selected style to your application style.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance84

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~248 days

Recently: every ~345 days

Total

10

Last Release

82d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6304dffbd91d7a978f98632b0e4e30d662dcdb691daadb1388a58984e98faf5c?d=identicon)[yarri](/maintainers/yarri)

---

Top Contributors

[![yarri](https://avatars.githubusercontent.com/u/974278?v=4)](https://github.com/yarri "yarri (55 commits)")

### Embed Badge

![Health badge](/badges/atk14-editable-fragments/health.svg)

```
[![Health](https://phpackages.com/badges/atk14-editable-fragments/health.svg)](https://phpackages.com/packages/atk14-editable-fragments)
```

###  Alternatives

[botble/assets

Laravel assets management

47275.1k2](/packages/botble-assets)

PHPackages © 2026

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