Skip to content

Commit

Permalink
Basic setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyatmobtown committed Dec 7, 2023
1 parent a897e36 commit d0e218b
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 396 deletions.
4 changes: 0 additions & 4 deletions Makefile

This file was deleted.

36 changes: 8 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,24 @@
<!--delete-->
# Create PHP Package
# WP Proxy Service

This is a skeleton package for PHP packages that are built for WordPress
development. This template includes Composer autoloading and Alley's
WordPress-based coding standards to make it easy to build PHP packages geared
for WordPress development.
[![Coding Standards](https://github.com/alleyinteractive/wp-proxy-service/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/alleyinteractive/wp-proxy-service/actions/workflows/coding-standards.yml)
[![Testing Suite](https://github.com/alleyinteractive/wp-proxy-service/actions/workflows/unit-test.yml/badge.svg)](https://github.com/alleyinteractive/wp-proxy-service/actions/workflows/unit-test.yml)

## Getting Started

Follow these steps to get started:

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 package! 🎊

<!--/delete-->

# Create PHP Package

[![Coding Standards](https://github.com/alleyinteractive/create-php-package/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/alleyinteractive/create-php-package/actions/workflows/coding-standards.yml)
[![Testing Suite](https://github.com/alleyinteractive/create-php-package/actions/workflows/unit-test.yml/badge.svg)](https://github.com/alleyinteractive/create-php-package/actions/workflows/unit-test.yml)

A skeleton PHP package geared for WordPress Development
A library to proxy a remote request through a WP REST API endpoint

## Installation

You can install the package via composer:

```bash
composer require alleyinteractive/create-php-package
composer require alleyinteractive/wp-proxy-service
```

## Usage

Use this package like so:

```php
$package = Create_PHP_Package\Skeleton\Example_Package();
$package = Alley\WP\Proxy_Service\WP_Proxy_Service\WP_Proxy_Service();
$package->perform_magic();
```

Expand All @@ -52,9 +32,9 @@ This project is actively maintained by [Alley
Interactive](https://github.com/alleyinteractive). Like what you see? [Come work
with us](https://alley.co/careers/).

- [author_name](https://github.com/author_name)
- [Alley](https://github.com/Alley)
- [All Contributors](../../contributors)

## License

The GNU General Public License (GPL) license. Please see [License File](LICENSE) for more information.
The GNU General Public License (GPL) license. Please see [License File](LICENSE) for more information.
110 changes: 0 additions & 110 deletions buddy.yml

This file was deleted.

16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "alleyinteractive/create-php-package",
"description": "A skeleton PHP package geared for WordPress Development",
"name": "alleyinteractive/wp-proxy-service",
"description": "A library to proxy a remote request through a WP REST API endpoint",
"type": "library",
"keywords": [
"alleyinteractive",
"create-php-package"
"wp-proxy-service"
],
"homepage": "https://github.com/alleyinteractive/create-php-package",
"homepage": "https://github.com/alleyinteractive/wp-proxy-service",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "author_name",
"email": "email@domain.com"
"name": "Alley",
"email": "info@alley.com"
}
],
"require": {
Expand All @@ -35,10 +35,10 @@
"extra": {
"wordpress-autoloader": {
"autoload": {
"Create_PHP_Package\\": "src"
"Alley\\WP\\Proxy_Service\\": "src"
},
"autoload-dev": {
"Create_PHP_Package\\Tests\\": "tests"
"Alley\\WP\\Proxy_Service\\Tests\\": "tests"
}
}
},
Expand Down
Loading

0 comments on commit d0e218b

Please sign in to comment.