PHPackages                             iankov/control-panel-static - 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. [Admin Panels](/categories/admin)
4. /
5. iankov/control-panel-static

ActiveLibrary[Admin Panels](/categories/admin)

iankov/control-panel-static
===========================

Static pages module for iankov/control-panel

v1.0.2(7y ago)013PHP

Since Jan 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/iankov/control-panel-static)[ Packagist](https://packagist.org/packages/iankov/control-panel-static)[ RSS](/packages/iankov-control-panel-static/feed)WikiDiscussions master Synced yesterday

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

Installation
============

[](#installation)

```
composer require iankov/control-panel-static
```

- Publish migrations

    ```
    php artisan vendor:publish --tag=icp_static_migrations
    ```
- Run migrations

    ```
    php artisan migrate
    ```
- Add item to `icp-menu.php` config file

    ```
    [
        'icon' => 'file-text',
        'title' => 'Static',
        'link' => icp_route('static')
    ]
    ```

Usage
-----

[](#usage)

Add new route in the end of your `routes/web.php` file. This will try to handle any request matching the regex by StaticPageController. If the requested route is equal to the one stored in database, you'll get the response you set by icp-static module.

```
Route::get('{route}', ['as' => 'any', 'uses' => '\Iankov\ControlPanelStatic\Controllers\StaticPageController@index'])->where('route', '[0-9a-zA-Z\-\_\.]+');
```

Example: add new static page, set route field to `custom_page.html`, set any content like `Hello World`, make it active and save. Now open your browser and try to request [http://your-website.com/\*\*custom\_page.html](http://your-website.com/**custom_page.html)\*\*. Your screen must display this:

**Hello** World

StaticPageController will try to figure out mime-type by a `route` field and return a content of the page with content-type included in header.
That means if you create route with the name `page.html`, you'll get html-type page by this route. ...`data.xml` will return content with `xml` content-type header.
If mime type can't be defined `text/html` is used.

Configuration
-------------

[](#configuration)

You can modify configuration options by adding them to `config/icp.php`
Package config located in `vendor/iankov/control-panel-static/src/config.php`
Don't change this file, just use it as an example of what options are configurable.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Every ~94 days

Total

3

Last Release

2903d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3382329?v=4)[Dmitriy Yankov](/maintainers/iankov)[@iankov](https://github.com/iankov)

---

Top Contributors

[![iankov](https://avatars.githubusercontent.com/u/3382329?v=4)](https://github.com/iankov "iankov (6 commits)")

### Embed Badge

![Health badge](/badges/iankov-control-panel-static/health.svg)

```
[![Health](https://phpackages.com/badges/iankov-control-panel-static/health.svg)](https://phpackages.com/packages/iankov-control-panel-static)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[guzzlehttp/guzzle

Guzzle is a PHP HTTP client library

23.5k1.0B34.4k](/packages/guzzlehttp-guzzle)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69734.4M145](/packages/algolia-algoliasearch-client-php)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M398](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M526](/packages/shopware-core)

PHPackages © 2026

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