Skip to content

Commit 2fdab04

Browse files
committed
Configure
1 parent 2280e88 commit 2fdab04

File tree

11 files changed

+39
-310
lines changed

11 files changed

+39
-310
lines changed

Makefile

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,23 @@
1-
<!--delete-->
2-
# Create PHP Package
1+
# WP Widget Control
32

4-
This is a skeleton package for PHP packages that are built for WordPress
5-
development. This template includes Composer autoloading and Alley's
6-
WordPress-based coding standards to make it easy to build PHP packages geared
7-
for WordPress development.
3+
[![Testing Suite](https://github.com/alleyinteractive/wp-widget-control/actions/workflows/all-pr-tests.yml/badge.svg)](https://github.com/alleyinteractive/wp-widget-control/actions/workflows/all-pr-tests.yml)
84

9-
## Getting Started
10-
11-
Follow these steps to get started:
12-
13-
1. Press the "Use template" button at the top of this repo to create a new repo
14-
with the contents of this skeleton.
15-
2. Run `make` (or `php ./configure.php`) to run a script that will replace all
16-
placeholders throughout all the files.
17-
3. Have fun creating your package! 🎊
18-
19-
<!--/delete-->
20-
21-
# Create PHP Package
22-
23-
[![Testing Suite](https://github.com/alleyinteractive/create-php-package/actions/workflows/all-pr-tests.yml/badge.svg)](https://github.com/alleyinteractive/create-php-package/actions/workflows/all-pr-tests.yml)
24-
25-
A skeleton PHP package geared for WordPress Development
5+
Setup and curate WordPress widgets with code.
266

277
## Installation
288

299
You can install the package via composer:
3010

3111
```bash
32-
composer require alleyinteractive/create-php-package
12+
composer require alleyinteractive/wp-widget-control
3313
```
3414

3515
## Usage
3616

3717
Use this package like so:
3818

3919
```php
40-
$package = Create_PHP_Package\Skeleton\Example_Package();
20+
$package = Create_PHP_Package\WP_Widget_Control\WP_Widget_Control();
4121
$package->perform_magic();
4222
```
4323

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

54-
- [author_name](https://github.com/author_name)
34+
- [Sean Fisher](https://github.com/Sean Fisher)
5535
- [All Contributors](../../contributors)
5636

5737
## License
5838

59-
The GNU General Public License (GPL) license. Please see [License File](LICENSE) for more information.
39+
The GNU General Public License (GPL) license. Please see [License File](LICENSE) for more information.

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "alleyinteractive/create-php-package",
3-
"description": "A skeleton PHP package geared for WordPress Development",
2+
"name": "alleyinteractive/wp-widget-control",
3+
"description": "Setup and curate WordPress widgets with code.",
44
"type": "library",
55
"keywords": [
66
"alleyinteractive",
7-
"create-php-package"
7+
"wp-widget-control"
88
],
9-
"homepage": "https://github.com/alleyinteractive/create-php-package",
9+
"homepage": "https://github.com/alleyinteractive/wp-widget-control",
1010
"license": "GPL-2.0-or-later",
1111
"authors": [
1212
{
13-
"name": "author_name",
14-
"email": "email@domain.com"
13+
"name": "Sean Fisher",
14+
"email": "sean@alley.com"
1515
}
1616
],
1717
"require": {
@@ -33,13 +33,13 @@
3333
},
3434
"autoload-dev": {
3535
"psr-4": {
36-
"Alley\\Create_PHP_Package\\Tests\\": "tests"
36+
"Alley\\WP\\WP_Widget_Control\\Tests\\": "tests"
3737
}
3838
},
3939
"extra": {
4040
"wordpress-autoloader": {
4141
"autoload": {
42-
"Alley\\Create_PHP_Package\\": "src"
42+
"Alley\\WP\\WP_Widget_Control\\": "src"
4343
}
4444
}
4545
},

configure.php

Lines changed: 0 additions & 245 deletions
This file was deleted.

phpcs.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
2-
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="create-php-package" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
3-
<description>PHP_CodeSniffer standard for create-php-package.</description>
2+
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="wp-widget-control" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
3+
<description>PHP_CodeSniffer standard for wp-widget-control.</description>
44

55
<!-- Include Alley Rules -->
66
<rule ref="Alley-Interactive" />
@@ -37,7 +37,7 @@
3737
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
3838
<properties>
3939
<property name="prefixes" type="array">
40-
<element value="vendor_name" />
40+
<element value="alleyinteractive" />
4141
<element value="Alley" />
4242
</property>
4343
</properties>

src/class-example-package.php

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)