Skip to content

Commit 84d5e5b

Browse files
version 1.0
0 parents  commit 84d5e5b

25 files changed

+1191
-0
lines changed

.editorconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# WordPress Coding Standards
5+
# https://make.wordpress.org/core/handbook/coding-standards/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
indent_size = 4
13+
tab_width = 4
14+
indent_style = tab
15+
insert_final_newline = true
16+
trim_trailing_whitespace = true
17+
18+
[*.txt]
19+
trim_trailing_whitespace = false
20+
21+
[*.{md,json,yml}]
22+
trim_trailing_whitespace = false
23+
indent_style = space
24+
indent_size = 2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
composer.lock

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/plugin-developer-boilerplate.iml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "heitor/plugin-developer-boilerplate",
3+
"type": "wordpress-plugin",
4+
"description": "",
5+
"license": "GPL-3.0-or-later",
6+
"prefer-stable": true,
7+
"minimum-stability": "dev",
8+
"authors": [
9+
{
10+
"name": "Heitor",
11+
"email": "heitorspedroso@gmail.com"
12+
}
13+
],
14+
"require": {},
15+
"autoload": {
16+
"psr-4": {
17+
"PluginDeveloperBoilerplate\\": "./src"
18+
}
19+
}
20+
}

plugin-developer-boilerplate.php

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?php
2+
/*
3+
* Plugin Name: Plugin Developer Boilerplate
4+
* Plugin URI: #
5+
* Description: Plugin Developer Boilerplate Description
6+
* Version: 1.0.0
7+
* Requires at least: 5.6.2
8+
* Requires PHP: 7.2
9+
* Author: Array é Vida
10+
* Author URI: https://arrayevida.com.br/
11+
* Developer: Heitor Sousa
12+
* Developer URI: https://arrayevida.com.br/
13+
* Domain Path: /languages
14+
* Text Domain: plugin-developer-boilerplate
15+
* *
16+
* Woo: 12345:12345
17+
* WC requires at least: 4.8.0
18+
* WC tested up to: 5.0.0
19+
*
20+
* License: GNU General Public License v3.0
21+
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
22+
*/
23+
24+
use PluginDeveloperBoilerplate\PluginDeveloperBoilerplate;
25+
26+
if ( ! defined( 'ABSPATH' ) )
27+
exit;
28+
29+
if (file_exists(dirname(__FILE__).'/vendor/autoload.php')){
30+
require_once dirname(__FILE__).'/vendor/autoload.php';
31+
}
32+
33+
if ( ! class_exists( 'PluginDeveloperBoilerplate' ) ):
34+
PluginDeveloperBoilerplate::instance();
35+
endif;

readme.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)