PHPackages                             morpht/morphos - 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. morpht/morphos

ActiveDrupal-theme[Utility &amp; Helpers](/categories/utility)

morpht/morphos
==============

A scalable, modern Drupal CMS prototype theme, integrating cutting-edge front-end tools and a flexible, component-based design system.

1.3.1(3w ago)03.5k↑4160%1proprietaryTwig

Since Mar 18Pushed 3w agoCompare

[ Source](https://github.com/morpht/morphos)[ Packagist](https://packagist.org/packages/morpht/morphos)[ RSS](/packages/morpht-morphos/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (10)Used By (1)

Morphos Theme
=============

[](#morphos-theme)

Morphos is a component-based Drupal theme, providing a modern and flexible starting point for site owners to build scalable and efficient websites using [Drupal Canvas](https://www.drupal.org/project/canvas).

Getting started
---------------

[](#getting-started)

To use Morphos, you can install it via Composer, like any other Drupal theme. But Morphos is designed to be copied, rather than used as a contributed theme or base theme, and you should not assume that future updates will be compatible with your site.

To clone the theme for your site, copy it into your custom themes directory:

```
mkdir -p web/themes/custom
cp -R web/themes/contrib/morphos web/themes/custom/morphos
git add web/themes/custom/morphos
composer remove morpht/morphos
```

This will create a copy of Morphos in `web/themes/custom/morphos`. You can customize it in any way you see fit.

**Important:** If you are using the default content, do not rename the theme. The components are namespaced to `morphos`, and renaming the theme will break them. You should also ensure that `morpht/morphos` is removed from Composer (as shown above) so that it is not reinstalled or updated, which could conflict with your custom copy.

### Sub-theming

[](#sub-theming)

**Don't create your custom theme as a sub-theme of Morphos.** Morphos is designed to be copied directly (as described above), not used as a base theme. It does not provide backward compatibility, which allows us to rapidly innovate, iterate, and improve. If you create a sub-theme of Morphos, it is likely to break in the future.

Customizing
-----------

[](#customizing)

### Custom components

[](#custom-components)

Morphos uses [single-directory components](https://www.drupal.org/docs/develop/theming-drupal/using-single-directory-components) and comes with a variety of commonly used components. You can add new components and modify existing ones, but be sure to rebuild the CSS when you make changes.

Building CSS
------------

[](#building-css)

Morphos uses [Tailwind CSS](https://tailwindcss.com) and [daisyUI](https://daisyui.com) to simplify styling by using classes to compose designs directly in the markup.

If you want to customize the Tailwind-generated CSS, install the development tooling dependencies by running the following command in your theme's directory:

```
npm install
```

If you modify CSS files or classes in a Twig template, you need to rebuild the CSS:

```
npm run build
```

For development, you can watch for changes and automatically rebuild the CSS:

```
npm run dev
```

Code Formatting
---------------

[](#code-formatting)

Morphos uses [Prettier](https://prettier.io) to automatically format code for consistency. The project is configured with plugins for Tailwind CSS and Twig templates.

For the best experience, [set up Prettier in your editor](https://prettier.io/docs/editors) to automatically format files on save.

To format all files in the project:

```
npm run format
```

To check if files are formatted correctly without making changes:

```
npm run format:check
```

**Note**: Some files are excluded from formatting via `.prettierignore`, such as Drupal's `html.html.twig` template, which contains placeholder tokens that break Prettier's HTML parsing.

###  Health Score

44

—

FairBetter than 91% of packages

Maintenance95

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

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

Total

9

Last Release

22d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6dbf448fb18693aaaa88a5ad69fa14cc662fac389089ec0aad367f0ae9914b2b?d=identicon)[morpht](/maintainers/morpht)

---

Top Contributors

[![IvanZugec](https://avatars.githubusercontent.com/u/104989?v=4)](https://github.com/IvanZugec "IvanZugec (9 commits)")

### Embed Badge

![Health badge](/badges/morpht-morphos/health.svg)

```
[![Health](https://phpackages.com/badges/morpht-morphos/health.svg)](https://phpackages.com/packages/morpht-morphos)
```

###  Alternatives

[nfephp-org/sped-efinanceira

e-Financeira library

151.5k](/packages/nfephp-org-sped-efinanceira)

PHPackages © 2026

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