Skip to content

Commit

Permalink
Create release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahe committed May 12, 2020
1 parent f0475f4 commit c5f837c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,31 @@ For making this plugin easily usable, you can make the given replacements please

Then you have to rename the `bea-plugin-boilerplate.php` to `my-plugin.php` and edit the plugin header.

### Composer ###
You need composer to autoload all your classes from the classes folder.

Use the `beapi/composer-scaffold-plugin` package that add it automatically to the composer.json file.
You can add it yourself like this :

```composer.json
"autoload": {
"psr-4": {
"BEA\PB\\": "content/plugins/bea-plugin-boilerplate/classes/"
}
}
```

## Autoload ##
The autoload is based on psr-4 and handled by composer.

## Changelog ##

### 3.0.0
* May 2020
* Remove autoload.php file, it's have to be on the composer.json file autoloading
* Move compatibility class to the classes directory
* Use the PSR-4 naming convention

### 2.2
* February 2019
* Remove widget feature
Expand Down
2 changes: 1 addition & 1 deletion bea-plugin-boilerplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Plugin Name: BEA Plugin Name
Version: 1.0.0
Version Boilerplate: 2.2
Version Boilerplate: 3.0.0
Plugin URI: https://beapi.fr
Description: Your plugin description
Author: Be API Technical team
Expand Down

0 comments on commit c5f837c

Please sign in to comment.