PHPackages                             leijou/comiccms-export - 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. leijou/comiccms-export

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

leijou/comiccms-export
======================

A library for the export of ComicCMS user data

1.0.0(12y ago)123MITPHP

Since Dec 16Pushed 12y ago1 watchersCompare

[ Source](https://github.com/leijou/ComicCMSExport)[ Packagist](https://packagist.org/packages/leijou/comiccms-export)[ Docs](https://github.com/leijou/ComicCMSExport)[ RSS](/packages/leijou-comiccms-export/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ComicCMS Exporter
=================

[](#comiccms-exporter)

Classes to handle the export of ComicCMS data without the need to dive in to its source code.

Requirements
------------

[](#requirements)

- PHP 5.2
- A ComicCMS install to point to

Quickstart
----------

[](#quickstart)

- Download [comiccmsexport.php](examples/comiccmsexport.php) to include in your project
- Copy the [contents.php](examples/contents.php) example script and hack it to your needs

**Note:** This is a non-namespaced, single-file version of the code in this repo. The only external difference between the two versions is the conversion from namespace: Classes are called `ComicCMSExport_*` instead of `\Leijou\ComicCMSExport\*`

Namespaced Requirements
-----------------------

[](#namespaced-requirements)

If you're lucky enough to have PHP 5.3 on the target servers of your project you can instead choose to use the namespaced version:

- PHP 5.3
- [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) compliant autoloader or [Composer](http://getcomposer.org/): [`"leijou/comiccms-export": "1.*"`](https://packagist.org/packages/leijou/comiccms-export)
- A ComicCMS install to point to

The example contents script is also available for this namespaced version: [contents\_namespaced.php](examples/contents_namespaced.php)

Usage
-----

[](#usage)

A `ComicCMS` object must be constructed and passed to the other classes. Once created it can be re-used for all iterators.

```
$comiccms = new \Leijou\ComicCMSExport\ComicCMS('/absolute/path/to/comiccms');

$comics = new \Leijou\ComicCMSExport\ComicIterator($comiccms);
foreach ($comics as $comic) {
    // ...
}
```

\##Item types available Click for available property and method documentation:

- [Comic](Leijou/ComicCMSExport/Comic.php)
- [News](Leijou/ComicCMSExport/News.php)
- [User](Leijou/ComicCMSExport/User.php)
- [UserGroup](Leijou/ComicCMSExport/UserGroup.php)

Each are constructed by its own Iterator: `ComicIterator``NewsIterator``UserIterator``UserGroupIterator`

Additionaly there are two iterators for queued/draft items: `QueuedComicIterator``QueuedNewsIterator`

Internals
---------

[](#internals)

On construction of an iterator the relevent storage file(s) are scanned and a list of IDs used (not deleted) are loaded. The full details can then be pulled one by one by looping over the iterator or using standard [SeekableIterator](http://php.net/class.seekableiterator.php) methods.

**Note:** The `seek` method uses the offset of Item, not its ID. For such usage the method `seekById` is available.

**Note:** Generation of the the non-namespaced distributable version is done by build.php. It's just basic RegExp, not anything clever. So please be gentle &amp; careful with it if you're aiming to edit and re-build this tool.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

4531d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e312f52b9e39ccbb4d15e250fdafee8f1d967e0727c650c4475ddae07a61f8a?d=identicon)[leijou](/maintainers/leijou)

---

Top Contributors

[![leijou](https://avatars.githubusercontent.com/u/654651?v=4)](https://github.com/leijou "leijou (18 commits)")

---

Tags

comiccms

### Embed Badge

![Health badge](/badges/leijou-comiccms-export/health.svg)

```
[![Health](https://phpackages.com/badges/leijou-comiccms-export/health.svg)](https://phpackages.com/packages/leijou-comiccms-export)
```

###  Alternatives

[joaopaulolndev/filament-world-clock

Show hours around the world by timezone

3111.9k](/packages/joaopaulolndev-filament-world-clock)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)[dcat/page

为PHPer打造的静态站点构建工具。

491.5k](/packages/dcat-page)

PHPackages © 2026

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