Skip to content

Commit

Permalink
Add composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
WebVPF committed Nov 19, 2022
1 parent 65d8930 commit bfcb655
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

Displays a list and information about packagist packages.

## Installation Сomposer:

```bash
composer require webvpf/wn-packagist-plugin
```

![screen](https://raw.githubusercontent.com/WebVPF/wn-packagist-plugin/main/assets/img/screen-view.jpg)

---

Widget data is cached for 12 hours. It's related to the Packagist API:

> However it is generated dynamically so for performance reason we cache the responses for twelve hours.
Binary file added assets/img/screen-view.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "webvpf/wn-packagist-plugin",
"type": "winter-plugin",
"description": "Packagist - plugin for Winter CMS.",
"homepage": "https://github.com/WebVPF/wn-packagist-plugin",
"keywords": ["winter cms", "wintercms", "wintercms-plugin"],
"license": "MIT",
"authors": [
{
"name": "WebVPF",
"role": "Author"
}
],
"support": {
"issues": "https://github.com/WebVPF/wn-packagist-plugin/issues",
"source": "https://github.com/WebVPF/wn-packagist-plugin"
},
"require": {
"composer/installers": "~1.0"
}
}

0 comments on commit bfcb655

Please sign in to comment.