PHPackages                             roelofjan-elsinga/flat-file-cms-publish - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. roelofjan-elsinga/flat-file-cms-publish

Abandoned → [roelofjan-elsinga/aloia-cms-publish](/?search=roelofjan-elsinga%2Faloia-cms-publish)Library[File &amp; Storage](/categories/file-storage)

roelofjan-elsinga/flat-file-cms-publish
=======================================

A publishing plugin for roelofjan-elsinga/aloia-cms.

1.0.0(6y ago)0119[6 PRs](https://github.com/roelofjan-elsinga/flat-file-cms-publish/pulls)MITPHPCI passing

Since Aug 14Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/roelofjan-elsinga/flat-file-cms-publish)[ Packagist](https://packagist.org/packages/roelofjan-elsinga/flat-file-cms-publish)[ RSS](/packages/roelofjan-elsinga-flat-file-cms-publish/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (9)Dependencies (9)Versions (13)Used By (0)

Aloia CMS Publishing module
===========================

[](#aloia-cms-publishing-module)

[![CI](https://github.com/roelofjan-elsinga/aloia-cms-publish/actions/workflows/ci.yml/badge.svg)](https://github.com/roelofjan-elsinga/aloia-cms-publish/actions/workflows/ci.yml)[![StyleCI Status](https://camo.githubusercontent.com/e359ade6c8954dae266acf691afe0c9e127fce44d1aad41f2911d54a0c504577/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3230323336343633332f736869656c64)](https://github.styleci.io/repos/202364633)[![Code coverage](https://camo.githubusercontent.com/38c1388ebcb906e6109b7c11c9d8b9938f70dc0ad55d7d0099df8963987dc7a8/68747470733a2f2f636f6465636f762e696f2f67682f726f656c6f666a616e2d656c73696e67612f616c6f69612d636d732d7075626c6973682f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/roelofjan-elsinga/aloia-cms-publish)[![Total Downloads](https://camo.githubusercontent.com/e9efe4cc824dfc72b56becf8a428eb6279d8205b253c87dbd47ab80a3acd7f15/68747470733a2f2f706f7365722e707567782e6f72672f726f656c6f666a616e2d656c73696e67612f616c6f69612d636d732d7075626c6973682f646f776e6c6f616473)](https://packagist.org/packages/roelofjan-elsinga/aloia-cms-publish)[![Latest Stable Version](https://camo.githubusercontent.com/8b3f8e692d25bb19111f6880748113df8d3decc5225cae72741283448ddbe7f4/68747470733a2f2f706f7365722e707567782e6f72672f726f656c6f666a616e2d656c73696e67612f616c6f69612d636d732d7075626c6973682f762f737461626c65)](https://packagist.org/packages/roelofjan-elsinga/aloia-cms-publish)[![License](https://camo.githubusercontent.com/45bfbed7c78008524d25bdf2e11bbbb5e0c40ec7fd182c189c60aa35d6ad9dff/68747470733a2f2f706f7365722e707567782e6f72672f726f656c6f666a616e2d656c73696e67612f616c6f69612d636d732d7075626c6973682f6c6963656e7365)](https://packagist.org/packages/roelofjan-elsinga/aloia-cms-publish)

This is a self publishing module for [Aloia CMS](https://github.com/roelofjan-elsinga/aloia-cms).

Installation
------------

[](#installation)

You can include this package through Composer using:

```
composer require roelofjan-elsinga/aloia-cms-publish
```

and if you want to customize the folder structure, then publish the configuration through:

```
php artisan vendor:publish --provider="AloiaCms\\Publish\\ServiceProvider"
```

Overwriting the sitemap command
-------------------------------

[](#overwriting-the-sitemap-command)

You can overwrite the sitemap command, as this only adds support for articles and pages by default. To do this, you'll need to make your own implementation of the command and register this in a service provider like so:

```
namespace App\Console\Commands;

use SitemapGenerator\SitemapGenerator;

class SitemapCreator extends \AloiaCms\Publish\Console\SitemapCreator
{

    /**
     * Overwrite the base implementation and add additional URL's
     *
     * @param SitemapGenerator $generator
     */
    protected function appendAdditionalUrls(SitemapGenerator $generator): void
    {
        foreach($this->getArrayOfOtherUrlsToAdd() as $url) {
            $generator->add($url, 0.8, $this->lastmod, 'monthly');
        }
    }

    /**
     * Get the urls of the portfolio items
     *
     * @return array
     */
    private function getArrayOfOtherUrlsToAdd(): array
    {
        return [
            '/contact',
            '/services',
            '/any-other-urls-you-wish'
        ];
    }

}
```

and register this new command in the AppServiceProvider:

```
public function register()
{
    $this->app->bind(\AloiaCms\Publish\Console\SitemapCreator::class, function () {
        return new \App\Console\Commands\SitemapCreator();
    });
}
```

You can now add any custom urls to the sitemap.

Testing
-------

[](#testing)

You can run the included tests by running `./vendor/bin/phpunit` in your terminal.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance54

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 97.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

Every ~17 days

Recently: every ~42 days

Total

12

Last Release

2275d ago

Major Versions

0.4.0 → 1.0.02020-02-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/2602444740bac106e338fc57a5d16b085ba02a9ca3d714c2106dccccbf97bba2?d=identicon)[roelofjanelsinga](/maintainers/roelofjanelsinga)

---

Top Contributors

[![roelofjan-elsinga](https://avatars.githubusercontent.com/u/9220754?v=4)](https://github.com/roelofjan-elsinga "roelofjan-elsinga (41 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

laravelfilecms

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/roelofjan-elsinga-flat-file-cms-publish/health.svg)

```
[![Health](https://phpackages.com/badges/roelofjan-elsinga-flat-file-cms-publish/health.svg)](https://phpackages.com/packages/roelofjan-elsinga-flat-file-cms-publish)
```

###  Alternatives

[roelofjan-elsinga/aloia-cms

A drop-in flat file CMS for Laravel.

1864.2k4](/packages/roelofjan-elsinga-aloia-cms)[itskodinger/midia

Simple Media manager for your Laravel project

1415.8k](/packages/itskodinger-midia)[erlandmuchasaj/laravel-file-uploader

A simple package to help you easily upload files to your laravel project.

128.7k](/packages/erlandmuchasaj-laravel-file-uploader)

PHPackages © 2026

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