Skip to content

Commit

Permalink
Setting up plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Jul 26, 2022
1 parent 2f97d5a commit 279b476
Show file tree
Hide file tree
Showing 11 changed files with 6,785 additions and 264 deletions.
4 changes: 0 additions & 4 deletions Makefile

This file was deleted.

34 changes: 9 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# plugin_name
# wp-concurrent-remote-requests

Stable tag: 0.1.0

Expand All @@ -10,46 +10,30 @@ Requires PHP: 7.4

License: GPL v2 or later

Tags: vendor_name, plugin_name
Tags: alleyinteractive, wp-concurrent-remote-requests

Contributors: author_username
Contributors: alleyinteractive, srtfisher

<!--delete-->
---
This is a skeleton Wordpress plugin that can scaffold a WordPress plugin. This
template includes a base plugin file, autoloaded PHP files, unit tests powered
by [Mantle](https://mantle.alley.co/), and Continuous Integration [via GitHub
Actions](.github/workflows). Actions are configured to test the plugin and and
also build it for release. A `main-built` branch and `v0.1.0-built` tags will be
created with all dependencies included for use when submoduling a plugin.

Follow these steps to get started:
[![Coding Standards](https://github.com/alleyinteractive/wp-concurrent-remote-requests/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/alleyinteractive/wp-concurrent-remote-requests/actions/workflows/coding-standards.yml)
[![Testing Suite](https://github.com/alleyinteractive/wp-concurrent-remote-requests/actions/workflows/unit-test.yml/badge.svg)](https://github.com/alleyinteractive/wp-concurrent-remote-requests/actions/workflows/unit-test.yml)

1. Press the "Use template" button at the top of this repo to create a new repo with the contents of this skeleton.
2. Run `make` (or `php ./configure.php`) to run a script that will replace all placeholders throughout all the files.
3. Have fun creating your plugin.
---

<!--/delete-->
[![Coding Standards](https://github.com/alleyinteractive/create-wordpress-plugin/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/alleyinteractive/create-wordpress-plugin/actions/workflows/coding-standards.yml)
[![Testing Suite](https://github.com/alleyinteractive/create-wordpress-plugin/actions/workflows/unit-test.yml/badge.svg)](https://github.com/alleyinteractive/create-wordpress-plugin/actions/workflows/unit-test.yml)

plugin_description
Feature plugin for concurrent HTTP remote requests.

## Installation

You can install the package via composer:

```bash
composer require alleyinteractive/create-wordpress-plugin
composer require alleyinteractive/wp-concurrent-remote-requests
```

## Usage

Activate the plugin in WordPress and use it like so:

```php
$plugin = Vendor_Name\Skeleton\Example_Plugin();
$plugin = Alley\WP\Concurrent_Remote_Requests\Wp_Concurrent_Remote_Requests\Wp_Concurrent_Remote_Requests();
$plugin->perform_magic();
```

Expand All @@ -65,7 +49,7 @@ Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed re

## Credits

- [author_name](https://github.com/author_name)
- [Sean Fisher](https://github.com/srtfisher)
- [All Contributors](../../contributors)

## License
Expand Down
30 changes: 15 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
{
"name": "vendor_name/plugin_slug",
"description": "plugin_description",
"name": "alleyinteractive/wp-concurrent-remote-requests",
"description": "Feature plugin for concurrent HTTP remote requests",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"keywords": [
"vendor_name",
"plugin_slug"
"alleyinteractive",
"wp-concurrent-remote-requests"
],
"homepage": "https://github.com/vendor_name/plugin_slug",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "author_name",
"email": "email@domain.com"
"name": "Sean Fisher",
"email": "srtfisher@gmail.com"
}
],
"homepage": "https://github.com/alleyinteractive/wp-concurrent-remote-requests",
"require": {
"php": "^7.4 || ^8.0",
"alleyinteractive/composer-wordpress-autoloader": "^0.4"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^0.3",
"mantle-framework/testkit": "^0.2",
"mantle-framework/testkit": "^0.4",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.3.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"alleyinteractive/composer-wordpress-autoloader": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"pestphp/pest-plugin": true
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
},
"extra": {
"wordpress-autoloader": {
"autoload": {
"Vendor_Name\\Skeleton\\": "src"
"Alley\\WP\\Concurrent_Remote_Requests\\Wp_Concurrent_Remote_Requests\\": "src"
},
"autoload-dev": {
"Vendor_Name\\Skeleton\\Tests\\": "tests"
"Alley\\WP\\Concurrent_Remote_Requests\\Wp_Concurrent_Remote_Requests\\Tests\\": "tests"
}
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"phpcbf": "phpcbf --standard=./phpcs.xml.dist .",
"phpcs": "phpcs --standard=./phpcs.xml.dist .",
Expand Down
Loading

0 comments on commit 279b476

Please sign in to comment.