Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adampatterson/lanyard
Lanyard is a very simple OOP / Bootstrap Plugin for WordPress using Composer.
https://github.com/adampatterson/lanyard
boilerplate boilerplate-plugin composer php wordpress wordpress-plugin
Last synced: 12 days ago
JSON representation
Lanyard is a very simple OOP / Bootstrap Plugin for WordPress using Composer.
- Host: GitHub
- URL: https://github.com/adampatterson/lanyard
- Owner: adampatterson
- Created: 2017-02-03T06:18:28.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T02:42:55.000Z (about 2 years ago)
- Last Synced: 2024-11-22T18:45:39.946Z (2 months ago)
- Topics: boilerplate, boilerplate-plugin, composer, php, wordpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 203 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lanyard
[Lanyard](https://github.com/adampatterson/Lanyard) is a very simple OOP / Bootstrap Plugin for WordPress using Composer.
## Configuration
Update the details in `/plugin.php`, checkout the WordPress [Plugin Development](https://codex.wordpress.org/Developer_Documentation#Plugin_Development) docs for more information on that.Next, Search and replace `PluginNameSpace` with your plugins namespace, or leave it alone. Your call.
The rest should be straight forward and commented in the code.
## Config.php
An array of key values, including plugin options.## Hooks
Checkout the WordPress [Documentation](https://codex.wordpress.org/Plugin_API/Hooks) for all the hooks and actions :)## Helpers
The configuration uses Laravel's [Helpers](https://github.com/laravel/helpers). This gives us access to most of [Laravels helper functions](https://laravel.com/docs/8.x/helpers).## Composer
Includes:
* "erusev/parsedown"
* "laravel/helpers"Keep or remove any package you like, Just note the the helpers rely on `laravel/helpers` so adjust accordingly.
Don't forget to composer update!