PHPackages                             codelicia/xulieta-php-lp - 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. codelicia/xulieta-php-lp

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

codelicia/xulieta-php-lp
========================

Xulieta Plugin for supporting of Literate programming

0.1.1(4y ago)032[1 issues](https://github.com/codelicia/xulieta-php-lp/issues)[3 PRs](https://github.com/codelicia/xulieta-php-lp/pulls)MITPHPPHP &gt;=7.4 || ~8.0

Since Feb 3Pushed 3mo ago3 watchersCompare

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

READMEChangelog (2)Dependencies (3)Versions (6)Used By (0)

📚 Xulieta - Literate programming
================================

[](#-xulieta---literate-programming)

> **Warning**This library is highly experimental.

#### 🤓 Literate programming?

[](#-literate-programming)

[Literate programming](https://en.wikipedia.org/wiki/Literate_programming) is a programming paradigm introduced by Donald Knuth in which a computer program is given an explanation of its logic in a natural language, such as English, interspersed with snippets of macros and traditional source code, from which compilable source code can be generated. The approach is used in scientific computing and in data science routinely for reproducible research and open access purposes. Literate programming tools are used by millions of programmers today.

---

> **Note**This library will lint and run php code, be careful with side-effects.

### Installation

[](#installation)

```
composer require codelicia/xulieta-lp --dev
```

### Checking for errors

[](#checking-for-errors)

In order to lint the basics of documentation structure, one just needs to provide a path for a directory or file to be linted.

```
./vendor/bin/xulieta check:erromeu
```

### Integration with GitHub Actions

[](#integration-with-github-actions)

We provide out of the box an `output` format that you can use to have automatic feedback from GitHub CI. That is done by specifying the `checkstyle` output and passing it to some external binary that does the commenting.

We recommend the usage of [cs2pr](https://github.com/staabm/annotate-pull-request-from-checkstyle).

```
./vendor/bin/xulieta check:erromeu  --output=checkstyle | cs2pr
```

### Advanced Configuration

[](#advanced-configuration)

In order to enable it, you should configure the `.xulieta.xml` with the following `parser` and `validator`:

```

   Codelicia\XulietaPhpLP\Parser\MarkdownParser
   Codelicia\XulietaPhpLP\LiterateProgramming

```

### Internals

[](#internals)

 Click to see the internal diagram ```
classDiagram
direction BT
class CodeRunner {
   __invoke(code)
}
class EvalStrategy {
   __invoke(code)
}
class LiterateProgramming {
   getViolation(sampleCode)
   supports(sampleCode)
   hasViolation(sampleCode)
}
class MarkdownParser {
   supportedExtensions()
   supports(file)
   getAllSampleCodes(file)
}
class Strategy {
   __invoke(code)
}
class TemporaryFileStrategy {
   __invoke(code)
}
class Validator {
   getViolation(sampleCode)
   supports(sampleCode)
   hasViolation(sampleCode)
}

EvalStrategy  ..>  Strategy
LiterateProgramming  ..>  Validator
TemporaryFileStrategy  ..>  Strategy
```

      Loading Author 🎩✨
---------

[](#author-)

- malukenho (@malukenho)
- Eher (@EHER)

---

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance54

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69% 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 ~0 days

Total

2

Last Release

1563d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1582e6b6023d34b69760da85219041ab8b376706b86ec03d942d12f946e4a7dc?d=identicon)[EHER](/maintainers/EHER)

![](https://www.gravatar.com/avatar/7140a8c7b834b07674c6bd74d6cb75792522ceba17dfb1f347489083a0ba1c48?d=identicon)[malukenho](/maintainers/malukenho)

---

Top Contributors

[![malukenho](https://avatars.githubusercontent.com/u/3275172?v=4)](https://github.com/malukenho "malukenho (29 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (9 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![EHER](https://avatars.githubusercontent.com/u/398034?v=4)](https://github.com/EHER "EHER (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codelicia-xulieta-php-lp/health.svg)

```
[![Health](https://phpackages.com/badges/codelicia-xulieta-php-lp/health.svg)](https://phpackages.com/packages/codelicia-xulieta-php-lp)
```

###  Alternatives

[scify/laravel-cookie-guard

A Laravel package that provides a Cookies consent floating window and publishes the Cookies for the different consent categories

13714.3k](/packages/scify-laravel-cookie-guard)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

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