Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,27 @@ Pico Composer Installer Changelog
refer to both the UPGRADE and NEWS sections of the docs for more
details.

### Version 2.0.2
Released: -

```
* [Fixed] Update README.md for v2.0
```

### Version 2.0.1
Released: 2025-12-23

```
* [Fixed] Fix implicit nullable deprecation
```

### Version 2.0.0
Released: 2025-12-22

```
* [Changed] Update to a Composer 2.x plugin (no functional changes)
```

### Version 1.0.1
Released: 2019-11-24

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pico Composer Installer

This is the repository of Pico's official [Composer][] installer.

Pico is a stupidly simple, blazing fast, flat file CMS. See http://picocms.org/ for more info.
Pico is a stupidly simple, blazing fast, flat file CMS. See https://picocms.org/ for more info.

This Composer plugin is responsible for installing Pico plugins and themes using the Composer package manager (i.e. by running `composer install` on the command line). It assumes responsibility for packages that identify as `{ "type": "pico-plugin" }` and `{ "type": "pico-theme" }` in their `composer.json` and instructs Composer to install these packages to Pico's `plugins/` and `themes/` folder respectively.

Expand All @@ -19,14 +19,14 @@ Install
If you've used Pico's official composer starter project ([`picocms/pico-composer`][pico-composer]), your website's `composer.json` (the "root package") already depends on `picocms/composer-installer`. If this isn't true, run the following to load it from [Packagist.org][]:

```shell
$ composer require picocms/composer-installer:^1.0
$ composer require picocms/composer-installer:^2.0
```

The Composer plugin tries to automatically register itself for the `post-autoload-dump` event. This is a prerequisite for the installer to create a `vendor/pico-plugin.php`. If the installer was successful in doing so, you'll see the following three lines when running `composer install` or `composer update`:

```
Generating autoload files
> Pico\Composer\Installer\PluginInstaller::postAutoloadDump
> picocms\\ComposerInstaller\\Installer::postAutoloadDump
Creating Pico plugins file
```

Expand All @@ -36,7 +36,7 @@ If you see just the first two lines and not the third one, please make sure that
{
"scripts": {
"post-autoload-dump": [
"Pico\\Composer\\Installer\\PluginInstaller::postAutoloadDump"
"picocms\\ComposerInstaller\\Installer::postAutoloadDump"
]
}
}
Expand Down
18 changes: 13 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "picocms/composer-installer",
"type": "composer-installer",
"type": "composer-plugin",
"description": "A composer plugin responsible for installing plugins and themes for Pico, a stupidly simple, blazing fast, flat file CMS.",
"keywords": [ "pico", "picocms", "pico-cms", "picocms-plugin", "picocms-theme", "picocms-installer", "composer", "composer-plugin", "composer-installer" ],
"homepage": "http://picocms.org/",
"homepage": "https://picocms.org/",
"license": "MIT",
"authors": [
{
Expand All @@ -13,7 +13,7 @@
},
{
"name": "The Pico Community",
"homepage": "http://picocms.org/"
"homepage": "https://picocms.org/"
},
{
"name": "Contributors",
Expand All @@ -24,12 +24,20 @@
"issues": "https://github.com/picocms/composer-installer/issues",
"source": "https://github.com/picocms/composer-installer"
},
"require": {
"php": ">=7.2",
"composer-plugin-api": "^2.1"
},
"autoload": {
"psr-4": {
"Pico\\Composer\\": "src"
"picocms\\ComposerInstaller\\": "src"
}
},
"extra": {
"class": "Pico\\Composer\\Installer\\PluginInstaller"
"class": "picocms\\ComposerInstaller\\Plugin",
"branch-alias": {
"dev-master": "1.0.x-dev",
"dev-pico-3.0": "2.0.x-dev"
}
}
}
Loading