PHPackages                             academicpuma/citeproc-php - 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. academicpuma/citeproc-php

Abandoned → [seboettg/citeproc-php](/?search=seboettg%2Fciteproc-php)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

academicpuma/citeproc-php
=========================

This is an effort to implement a full-featured standalone CSL processor in PHP. The code based on the implementation of Ron Jerome.

1.0.0(10y ago)1380.4k↓16.7%2GPL v3PHP

Since Jan 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/seboettg/citeproc-php-old)[ Packagist](https://packagist.org/packages/academicpuma/citeproc-php)[ RSS](/packages/academicpuma-citeproc-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (8)Used By (2)

citeproc-php
============

[](#citeproc-php)

[![Latest Stable Version](https://camo.githubusercontent.com/bd68b1b38d2e18e31723a90797410793ab64759ec4d612567e680da3811f6cdb/68747470733a2f2f706f7365722e707567782e6f72672f61636164656d696370756d612f6369746570726f632d7068702f762f737461626c65)](https://packagist.org/packages/academicpuma/citeproc-php)[![Total Downloads](https://camo.githubusercontent.com/73865da6e0d897ae4ddf45ebfb21af8c1bc42e4b82c81c9fcf3880d73a306ff7/68747470733a2f2f706f7365722e707567782e6f72672f61636164656d696370756d612f6369746570726f632d7068702f646f776e6c6f616473)](https://packagist.org/packages/academicpuma/citeproc-php)[![Latest Unstable Version](https://camo.githubusercontent.com/47be70d4b982fe3eb30c3d73f7a072bc9a88146cb90af914041925f774df335c/68747470733a2f2f706f7365722e707567782e6f72672f61636164656d696370756d612f6369746570726f632d7068702f762f756e737461626c65)](https://packagist.org/packages/academicpuma/citeproc-php)[![License](https://camo.githubusercontent.com/8f007525f292a365ad6f940632ab7f4b3211b3d479ef6d2907afa77df20e9fda/68747470733a2f2f706f7365722e707567782e6f72672f61636164656d696370756d612f6369746570726f632d7068702f6c6963656e7365)](https://packagist.org/packages/academicpuma/citeproc-php)[![PHP](https://camo.githubusercontent.com/450b83df64b84a416b4a463209d572a4a1da8c167e6952c7b3cb7361f7e35406/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e332d677265656e2e7376673f7374796c653d666c6174)](http://docs.php.net/manual/en/migration53.new-features.php)[![Build Status](https://camo.githubusercontent.com/efdad8beb86d60808a63f3eb5c8cc7bc39b922e35e7ecd2c7bab2cf481cf15e9/68747470733a2f2f7472617669732d63692e6f72672f7365626f657474672f6369746570726f632d7068702e7376673f6272616e63683d76657273696f6e312e78)](https://travis-ci.org/seboettg/citeproc-php)

**Description**

This is an effort to implement a standalone CSL processor in PHP. This program can be used to render bibliographies using [CSL](http://citationstyles.org/) Stylesheets. This repository is a fork of the [implementation of rjerome](https://bitbucket.org/rjerome/citeproc-php) (apparently no longer maintained).

Some advantages:

- uses Composer
- each class is located in a separate file
- uses namespaces
- uses the autoloader of Composer
- uses PHPUnit for testing

Installing citeproc-php using Composer
--------------------------------------

[](#installing-citeproc-php-using-composer)

Use Composer to add citeproc-php to your app:

```
$ composer require academicpuma/citeproc-php

```

How to use citeproc-php
-----------------------

[](#how-to-use-citeproc-php)

```

```

Setup a workspace
-----------------

[](#setup-a-workspace)

```
$ cd /path/to/your/php/workspace
$ hg clone https://seboettg@bitbucket.org/seboettg/citeproc-php
$ composer install

```

You can setup your apache to see the test results on a webpage. Therefor you can configure your apache with an custom virtual host:

```

        ServerAdmin webmaster@localhost
        ServerName citeproc.local
        DocumentRoot /path/to/your/php/workspace/citeproc-php/tests
        ErrorLog "/var/log/apache2/citeproc.error.log"
        CustomLog "/var/log/apache2/citeproc.access.log" common

                AllowOverride All
                Order allow,deny
                Allow from all

```

Replace '/path/to/your/php/workspace/' with your path and replace 'citeproc.local' with your favourite host name.

If you want to use your own host address don't forget to append them to `/etc/hosts`:

```
127.0.0.1       citeproc.local localhost

```

Restart your apache

```
$ sudo apachectl restart

```

or

```
$ sudo /etc/init.d/apache2 restart

```

Open your browser and enter your chosen host address, as soon as apache has finished.

Known packages using citeproc-php
---------------------------------

[](#known-packages-using-citeproc-php)

- [lib-php-kar](https://packagist.org/packages/unikent/lib-php-kar) (GitHub)
- [BibSonomy restclient-php](http://bitbucket.org/bibsonomy/restclient-php) (BitBucket)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 98.4% 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 ~47 days

Recently: every ~23 days

Total

6

Last Release

3898d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ca1c11e4237613bf1a5e6c6d6abf8cb5aafb1b3b3bae8764a134228480474a9?d=identicon)[seboettg](/maintainers/seboettg)

---

Top Contributors

[![seboettg](https://avatars.githubusercontent.com/u/5129682?v=4)](https://github.com/seboettg "seboettg (62 commits)")[![burki](https://avatars.githubusercontent.com/u/464455?v=4)](https://github.com/burki "burki (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/academicpuma-citeproc-php/health.svg)

```
[![Health](https://phpackages.com/badges/academicpuma-citeproc-php/health.svg)](https://phpackages.com/packages/academicpuma-citeproc-php)
```

###  Alternatives

[optimistdigital/nova-simple-repeatable

A Laravel Nova simple repeatable rows field.

74151.2k](/packages/optimistdigital-nova-simple-repeatable)[icecave/chrono

A date &amp; time library that is decoupled from the system clock.

54188.9k7](/packages/icecave-chrono)[malukenho/speaknumber

Transcreve números para extenso.

2957.9k](/packages/malukenho-speaknumber)

PHPackages © 2026

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