PHPackages                             mohsinqk/paste-reference - 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. mohsinqk/paste-reference

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

mohsinqk/paste-reference
========================

Paste reference instead of copy for content elements in TYPO3

4.1.0(3mo ago)037MITPHPPHP ^8.2

Since Feb 3Pushed 3mo agoCompare

[ Source](https://github.com/MohsinQK/paste_reference)[ Packagist](https://packagist.org/packages/mohsinqk/paste-reference)[ Docs](https://github.com/kephson/paste-reference)[ RSS](/packages/mohsinqk-paste-reference/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (33)Versions (4)Used By (0)

TYPO3 Extension `paste_reference`
=================================

[](#typo3-extension-paste_reference)

[![Latest Stable Version](https://camo.githubusercontent.com/f231e2d53e8a7d1c114ce56381d8225d8d99f88fbb011f2b1da4f34915b20f4e/68747470733a2f2f706f7365722e707567782e6f72672f656861657265722f70617374652d7265666572656e63652f76)](//packagist.org/packages/ehaerer/paste-reference)[![Latest Unstable Version](https://camo.githubusercontent.com/2ba4aff411c884211bb480b272b175b7419e27bf215c56e1520c02d5a9b942ff/68747470733a2f2f706f7365722e707567782e6f72672f656861657265722f70617374652d7265666572656e63652f762f756e737461626c65)](//packagist.org/packages/ehaerer/paste-reference)[![License](https://camo.githubusercontent.com/b29f436a37ab07f825fad0f2c7078df5aafb639cfac44954ad609be951e7f1cb/68747470733a2f2f706f7365722e707567782e6f72672f656861657265722f70617374652d7265666572656e63652f6c6963656e7365)](//packagist.org/packages/ehaerer/paste-reference)[![Total Downloads](https://camo.githubusercontent.com/a13f891f537ad5179e5d5a2b7a751aeff23433c8580403177902e079cc757040/68747470733a2f2f706f7365722e707567782e6f72672f656861657265722f70617374652d7265666572656e63652f646f776e6c6f616473)](//packagist.org/packages/ehaerer/paste-reference)[![Monthly Downloads](https://camo.githubusercontent.com/a525bfc0f667da19cc317d2f800d55a119fae598427d2204d39b19c9004937dc/68747470733a2f2f706f7365722e707567782e6f72672f656861657265722f70617374652d7265666572656e63652f642f6d6f6e74686c79)](//packagist.org/packages/ehaerer/paste-reference)[![CI - main](https://github.com/Kephson/paste_reference/actions/workflows/ci.yml/badge.svg)](https://github.com/Kephson/paste_reference/actions/workflows/ci.yml)

> This extension brings the extracted functions from gridelements to copy and paste content elements also as reference and not only as copy. A lot of TYPO3 users love these features but don't know that this aren't core features.

1 Features
----------

[](#1-features)

- Copy content elements and paste as reference (also in context menu with right click)
- Copy content elements from other pages in page module
- [Full documentation in TYPO3 TER](https://docs.typo3.org/p/ehaerer/paste-reference/master/en-us/)

2 Usage
-------

[](#2-usage)

### 2.1 Installation

[](#21-installation)

#### Installation using Composer

[](#installation-using-composer)

The recommended way to install the extension is using [Composer](https://getcomposer.org/).

Run the following command within your Composer based TYPO3 project:

```
composer require ehaerer/paste-reference

```

#### Installation as extension from TYPO3 Extension Repository (TER) - not recommended

[](#installation-as-extension-from-typo3-extension-repository-ter---not-recommended)

Download and install the [extension](https://extensions.typo3.org/extension/paste_reference) with the extension manager module.

### 2.2 Minimal setup

[](#22-minimal-setup)

1. Just install the extension and you are done

3 Report issues
---------------

[](#3-report-issues)

Please report issue directly in the [issue tracker in the Github repository](https://github.com/Kephson/paste_reference/issues).

4 Administration corner
-----------------------

[](#4-administration-corner)

### 4.1 Settings in extension configuration

[](#41-settings-in-extension-configuration)

- **disableCopyFromPageButton** - You can disable the "copy from page button" in the page module if you don't need it.

### 4.2 Changelog

[](#42-changelog)

Please look into the [official extension documentation in changelog chapter](https://docs.typo3.org/p/ehaerer/paste-reference/master/en-us/Misc/Changelog/Index.html).

### 4.3 Release Management

[](#43-release-management)

Paste reference uses [**semantic versioning**](https://semver.org/), which means, that

- **bugfix updates** (e.g. 1.0.0 =&gt; 1.0.1) just includes small bugfixes or security relevant stuff without breaking changes,
- **minor updates** (e.g. 1.0.0 =&gt; 1.1.0) includes new features and smaller tasks without breaking changes,
- and **major updates** (e.g. 1.0.0 =&gt; 2.0.0) breaking changes wich can be refactorings, features or bugfixes.

### 4.4 Contribution

[](#44-contribution)

**Pull Requests** are gladly welcome! Nevertheless please don't forget to add an issue and connect it to your pull requests. This is very helpful to understand what kind of issue the **PR** is going to solve.

Bugfixes: Please describe what kind of bug your fix solve and give us feedback how to reproduce the issue. We're going to accept only bugfixes if we can reproduce the issue.

Features: Not every feature is relevant for the bulk of `paste_reference` users. In addition: We don't want to make `paste_reference`even more complicated in usability for an edge case feature. It helps to have a discussion about a new feature before you open a pull request.

5 Local development
-------------------

[](#5-local-development)

### 5.1 Overview

[](#51-overview)

This repository contains a so-called [Extension for the TYPO3 CMS](https://github.com/typo3) which cannot be used on its own but has been prepared to install required dependency to provide a TYPO3 v12 composer based installation within the untracked `.Build/` folder with `.Build/public/` being the doc-root to point a web-server on.

For simpler onboarding a generic ddev project configuration is included to quickstart a local TYPO3 v12 instance in a predefined environment along with data set. See [5.2](#52-use-ddev-to-setup-a-local-development-instance) for how to use ddev.

### 5.2 Use ddev to setup a local development instance

[](#52-use-ddev-to-setup-a-local-development-instance)

> Please ensure to have the pre-requisit ddev and docker/colima/... installed and working to follow this section.

#### 5.2.1 Single command start-up

[](#521-single-command-start-up)

```
ddev start \
  && ddev composer install \
  && ddev restart \
  && ddev typo3 setup \
        --driver=mysqli \
        --host=db \
        --port=3306 \
        --dbname=db \
        --username=db \
        --password=db \
        --admin-username=john-doe \
        --admin-user-password='John-Doe-1701D.' \
        --admin-email="john.doe@example.com" \
        --project-name='ext-paste-reference' \
        --no-interaction \
        --server-type=apache \
        --force \
  && ddev restart \
  && ddev typo3 cache:warmup \
  && ddev typo3 styleguide:generate --create all \
  && ddev typo3 cache:warmup \
  && ddev launch /typo3/
```

which creates a instance with two different hidden page trees and a admin user without asking for it. Adjust the `--admin-*` arguments to match your needs.

#### 5.2.2 Splittet startup commands

[](#522-splittet-startup-commands)

**First startup and composer package installation**

```
ddev start \
  && ddev composer install \
  && ddev restart
```

**Setup TYPO3 using typo3 setup command**

> Note that the following command is interactive and asks for admin user credential, name and email. Ensure to remember the values you enter here for later login into the TYPO3 backend.

```
ddev typo3 setup \
    --driver=mysqli \
    --host=db \
    --port=3306 \
    --dbname=db \
    --username=db \
    --password=db \
    --server-type=apache \
    --force \
  && ddev restart
```

**Use `EXT:styleguide` to create page trees**

```
ddev typo3 styleguide:generate --create all \
  && ddev typo3 cache:warmup
```

**Launch the backend login form**

```
ddev launch /typo3/
```

#### 5.2.3 Stop &amp; destroy ddev instance

[](#523-stop--destroy-ddev-instance)

**Simply stop ddev instance**

```
ddev stop
```

**Completely remove ddev instance**

```
ddev stop -ROU
```

### 5.3 Render documentation

[](#53-render-documentation)

To render the documentation, the TYPO3 Documentation render-guides image can be used, which is included in the `Build/Scripts/runTests.sh` dispatcher script.

**Render documentation**

```
Build/Scripts/runTests.sh -s renderDocumentation
```

**Open rendered documentation (Linux&gt;**

```
Build/Scripts/runTests.sh -s renderDocumentation
xdg-open "Documentation-GENERATED-temp/Index.html"
```

**Open rendered documentation (MacOS)**

```
Build/Scripts/runTests.sh -s renderDocumentation
open "Documentation-GENERATED-temp/Index.html"
```

**Open rendered documentation (Windows)**

```
Build/Scripts/runTests.sh -s renderDocumentation
start "Documentation-GENERATED-temp/Index.html"
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance80

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.6% 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

Unknown

Total

1

Last Release

103d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1622975?v=4)[Mohsin Khan](/maintainers/MohsinQK)[@MohsinQK](https://github.com/MohsinQK)

---

Top Contributors

[![Kephson](https://avatars.githubusercontent.com/u/2724872?v=4)](https://github.com/Kephson "Kephson (1522 commits)")[![DavidBruchmann](https://avatars.githubusercontent.com/u/999146?v=4)](https://github.com/DavidBruchmann "DavidBruchmann (40 commits)")[![sbuerk](https://avatars.githubusercontent.com/u/1453466?v=4)](https://github.com/sbuerk "sbuerk (27 commits)")[![simonschaufi](https://avatars.githubusercontent.com/u/941794?v=4)](https://github.com/simonschaufi "simonschaufi (10 commits)")[![garvinhicking](https://avatars.githubusercontent.com/u/273326?v=4)](https://github.com/garvinhicking "garvinhicking (7 commits)")[![spoonerWeb](https://avatars.githubusercontent.com/u/1793083?v=4)](https://github.com/spoonerWeb "spoonerWeb (6 commits)")[![ulrichmathes](https://avatars.githubusercontent.com/u/26324456?v=4)](https://github.com/ulrichmathes "ulrichmathes (3 commits)")[![MohsinQK](https://avatars.githubusercontent.com/u/1622975?v=4)](https://github.com/MohsinQK "MohsinQK (3 commits)")[![mvoehringer](https://avatars.githubusercontent.com/u/2719466?v=4)](https://github.com/mvoehringer "mvoehringer (2 commits)")[![zoranilic](https://avatars.githubusercontent.com/u/7780949?v=4)](https://github.com/zoranilic "zoranilic (1 commits)")[![derhansen](https://avatars.githubusercontent.com/u/2629896?v=4)](https://github.com/derhansen "derhansen (1 commits)")[![gamerxl](https://avatars.githubusercontent.com/u/1090278?v=4)](https://github.com/gamerxl "gamerxl (1 commits)")[![saitho](https://avatars.githubusercontent.com/u/7293310?v=4)](https://github.com/saitho "saitho (1 commits)")[![taieb123](https://avatars.githubusercontent.com/u/29729164?v=4)](https://github.com/taieb123 "taieb123 (1 commits)")[![3l73](https://avatars.githubusercontent.com/u/4559579?v=4)](https://github.com/3l73 "3l73 (1 commits)")

---

Tags

TYPO3 CMSreferencescontent elementcopy paste

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mohsinqk-paste-reference/health.svg)

```
[![Health](https://phpackages.com/badges/mohsinqk-paste-reference/health.svg)](https://phpackages.com/packages/mohsinqk-paste-reference)
```

###  Alternatives

[ehaerer/paste-reference

Paste reference instead of copy for content elements in TYPO3

19326.5k](/packages/ehaerer-paste-reference)[ichhabrecht/content-defender

Define allowed or denied content element types in your backend layouts

892.9M22](/packages/ichhabrecht-content-defender)[yoast-seo-for-typo3/yoast_seo

Yoast SEO for TYPO3

521.6M9](/packages/yoast-seo-for-typo3-yoast-seo)[derhansen/sf_event_mgt

Configurable event management and registration extension based on ExtBase and Fluid

64313.9k6](/packages/derhansen-sf-event-mgt)[brotkrueml/schema

Embedding schema.org vocabulary - API and view helpers for schema.org markup

33584.6k13](/packages/brotkrueml-schema)[causal/extractor

This extension detects and extracts metadata (EXIF / IPTC / XMP / ...) from potentially thousand different file types (such as MS Word/Powerpoint/Excel documents, PDF and images) and bring them automatically and natively to TYPO3 when uploading assets. Works with built-in PHP functions but takes advantage of Apache Tika and other external tools for enhanced metadata extraction.

16244.5k](/packages/causal-extractor)

PHPackages © 2026

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