PHPackages                             nerds-and-company/composer-craft-installer - 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. nerds-and-company/composer-craft-installer

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

nerds-and-company/composer-craft-installer
==========================================

Install Craft using Composer

v0.1.2(10y ago)2238MITPHPPHP &gt;=5.5

Since Feb 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/nerds-and-company/composer-craft-installer)[ Packagist](https://packagist.org/packages/nerds-and-company/composer-craft-installer)[ RSS](/packages/nerds-and-company-composer-craft-installer/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (5)Used By (0)

Composer Craft Installer
========================

[](#composer-craft-installer)

[Composer installer](https://getcomposer.org/doc/articles/custom-installers.md)that helps install [Craft](https://craftcms.com/). (Craft repository not included, please provide your own).

Introduction
------------

[](#introduction)

As a company we create a lot of websites with Craft. Instead of having to manually download and install Craft each time, we have a private repository (with some extra magic added). This repository contains a plugin for Composer that installs that repository for any project that might need it.

This also makes it easier to install a copy of Craft on build/ci engines (like Jenkins or Travis-CI) to have an environment to run test against for custom plugins.

Usage
-----

[](#usage)

For this plugin to work, three things are needed:

- a Craft repository
- Entries in the Craft repository's `composer.json`
- An entry in a project's §composer.json§ that requires the Craft repository

### Craft repository

[](#craft-repository)

Craft is not open-sourced and requires a license to use in a production. Please respect the Craft license an [acquire a legitimate copy](https://craftcms.com/pricing)to work with. You can keep that code in a private repository for development purposes, as long as you don't share the code-base publicly.

### Craft Repository Composer entry

[](#craft-repository-composer-entry)

Once a Craft repository has been made available, make sure it has a valid `composer.json` file. For this installer to be used, the `type` entry has to be set to `craft-library` and the `nerds-and-company/composer-craft-installer`package needs to be `require`'d.

A minimal case would be:

```
{
    "name": "acme-corp/craft",
    "description": "Acme Corp. Craft Repository",
    "license": "proprietary",
    "type": "craft-library",
    "require": {
        "nerds-and-company/composer-craft-installer": "~0.1"
    }
}

```

### Project Composer entry

[](#project-composer-entry)

All that is left now, is to require the Craft repository from a specific project's `composer.json`:

```
{
    "name": "acme-corp/my-craft-based-project",
    "description": "Another Acme Corp. Production",
    "license": "proprietary",
    "require": {
        "acme-corp/craft": "~2.5"
    }
}

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

3

Last Release

3792d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/473941cfd5dd7f9070a5ee2e0c7fe71ef6f9aed74e40cee91cebf77a2392bb27?d=identicon)[nerds-and-company](/maintainers/nerds-and-company)

---

Top Contributors

[![Potherca](https://avatars.githubusercontent.com/u/195757?v=4)](https://github.com/Potherca "Potherca (12 commits)")

---

Tags

plugincomposerinstallerCraftcomposer-pluginplugin installer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nerds-and-company-composer-craft-installer/health.svg)

```
[![Health](https://phpackages.com/badges/nerds-and-company-composer-craft-installer/health.svg)](https://phpackages.com/packages/nerds-and-company-composer-craft-installer)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

3014.6M24](/packages/vaimo-composer-patches)[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

576.1M114](/packages/automattic-jetpack-autoloader)[craftcms/plugin-installer

Craft CMS Plugin Installer

283.4M10](/packages/craftcms-plugin-installer)

PHPackages © 2026

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