PHPackages                             cecil/theme-netlify - 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. [Templating &amp; Views](/categories/templating)
4. /
5. cecil/theme-netlify

ActiveCecil-theme[Templating &amp; Views](/categories/templating)

cecil/theme-netlify
===================

Cecil component theme Netlify

2.2.1(1y ago)024.5k↓30.4%3MITTwig

Since Oct 15Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/Cecilapp/theme-netlify)[ Packagist](https://packagist.org/packages/cecil/theme-netlify)[ GitHub Sponsors](https://github.com/ArnaudLigny)[ Fund](https://opencollective.com/cecil)[ RSS](/packages/cecil-theme-netlify/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (1)Versions (31)Used By (3)

Netlify component theme
=======================

[](#netlify-component-theme)

The *Netlify* component theme for [Cecil](https://cecil.app) provides support of Netlify's [`_redirects`](https://docs.netlify.com/routing/redirects/) and [`_header`](https://docs.netlify.com/routing/headers/).

After installation and without any configuration, this component theme generate:

1. a [`_redirects`](./layouts/_default/page.netlify_redirects.twig) file containing HTML's redirections created by Cecil (automatic or created manually with the [`redirect`](https://cecil.app/documentation/content/#redirect) front matter variable)
2. a [`_headers`](./layouts/_default/page.netlify_headers.twig) file containing HTTP headers created by Cecil (generated from [`headers' configuration`](https://cecil.app/documentation/configuration/#headers))

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

[](#installation)

```
composer require cecil/theme-netlify
```

> Or [download the latest archive](https://github.com/Cecilapp/theme-netlify/releases/latest/) and uncompress its content in `themes/netlify`.

Usage
-----

[](#usage)

Add `netlify` in the `theme` section of your site configuration:

```
theme:
  - netlify
```

### Add redirections

[](#add-redirections)

```
netlify:
  redirects:
    - from: https://xxxxxx/*
      to: https://xxxxxx/:splat
      status: 301 # optional
      force: true # optional
```

Refer to [Netlify documentation](https://docs.netlify.com/routing/redirects/redirect-options/) for details.

#### Redirect home page to the user language version

[](#redirect-home-page-to-the-user-language-version)

```
netlify:
  redirect_by_language: true # false by default
```

It generate the following redirect for each available language (other than the default):

```
/  //    302!    Language=

```

*Example:*

```
/  /fr/    302!    Language=fr

```

> The language can be specified in the cookie `nf_lang`, so you can override the default behavior with JavaScript (in case of a language dropdown selector for example).

### Add headers

[](#add-headers)

```
server:
  headers:
    - path:  # Relative path, prefixed with a slash. Support "*" wildcard.
      headers:
        - key:
          value: ""
```

Document: .

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance53

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community12

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 ~58 days

Recently: every ~49 days

Total

30

Last Release

388d ago

Major Versions

1.x-dev → 2.0.02023-12-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/52a734f97ce4ef72fb07b59e5d0f7f6a26a0b322da49b881bedc3896c5e7f128?d=identicon)[aligny](/maintainers/aligny)

---

Top Contributors

[![ArnaudLigny](https://avatars.githubusercontent.com/u/80580?v=4)](https://github.com/ArnaudLigny "ArnaudLigny (47 commits)")

---

Tags

cecilcecil-theme-componentnetlifythemececilnetlify

### Embed Badge

![Health badge](/badges/cecil-theme-netlify/health.svg)

```
[![Health](https://phpackages.com/badges/cecil-theme-netlify/health.svg)](https://phpackages.com/packages/cecil-theme-netlify)
```

###  Alternatives

[almasaeed2010/adminlte

AdminLTE - admin control panel and dashboard that's based on Bootstrap 4

45.5k8.9M147](/packages/almasaeed2010-adminlte)[bk2k/bootstrap-package

Bootstrap Package delivers a full configured frontend theme for TYPO3, based on the Bootstrap CSS Framework.

354960.6k100](/packages/bk2k-bootstrap-package)[tales-from-a-dev/flowbite-bundle

A Symfony form theme for Flowbite

89296.9k2](/packages/tales-from-a-dev-flowbite-bundle)[silverstripe-themes/simple

The SilverStripe simple theme (default SilverStripe 3 theme)

411.3M8](/packages/silverstripe-themes-simple)[andreia/filament-nord-theme

A minimalist Arctic Nord theme for FilamentPHP

13643.4k2](/packages/andreia-filament-nord-theme)[openplain/filament-shadcn-theme

Shadcn UI theme for Filament - Beautiful color themes with the iconic Shadcn design system

4952.8k10](/packages/openplain-filament-shadcn-theme)

PHPackages © 2026

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