Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allin-data/wordpress-micro-core
The Core module of the All.In Data Micro Plugin provides fundamental and reusable functionality for the modern development of Wordpress plugins.
https://github.com/allin-data/wordpress-micro-core
wordpress wordpress-boilerplate wordpress-development wordpress-php-library wordpress-plugin wordpress-plugins
Last synced: about 2 months ago
JSON representation
The Core module of the All.In Data Micro Plugin provides fundamental and reusable functionality for the modern development of Wordpress plugins.
- Host: GitHub
- URL: https://github.com/allin-data/wordpress-micro-core
- Owner: allin-data
- Archived: true
- Created: 2019-12-22T15:09:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T09:39:03.000Z (about 4 years ago)
- Last Synced: 2024-09-13T21:19:28.574Z (2 months ago)
- Topics: wordpress, wordpress-boilerplate, wordpress-development, wordpress-php-library, wordpress-plugin, wordpress-plugins
- Language: PHP
- Homepage:
- Size: 48.2 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# All.In Data Micro Core
## A Micro Wordpress Plugin FrameworkThe Core module of the All.In Data Micro Plugin Framework provides fundamental and
reusable functionality for the modern development of Wordpress plugins.## Installment
### RequirementsCreate a new plugin folder in your wordpress project, e.g. `foobar-wp`.
Use the terminal inside the folder and run:composer require allindata/wordpress-micro-core
Create the plugin bootstrap file `foobar-wp.php` with the following (minimal) content:```
getTemplateDirectory(),
$this->getPluginModules(),
$this->getPluginControllers(),
$this->getPluginShortCodes()
);
}/**
* @return PluginModuleInterface[]
*/
private function getPluginModules(): array
{
return [];
}/**
* @return PluginControllerInterface[]
*/
private function getPluginControllers(): array
{
return [];
}/**
* @return PluginShortCodeInterface[]
*/
private function getPluginShortCodes(): array
{
return [];
}
}
```### Plugin Class (Application Entrypoint)
```