realtyna / mvc-core
Core library to create WordPress plugin in MVC design pattern
0.5.7
2024-07-16 16:37 UTC
Requires
- php: >=7.4
- ext-json: *
- doctrine/annotations: ^1.14.2
- firebase/php-jwt: ^6.3
- htmlburger/carbon-fields-plugin: ^3.3
- illuminate/database: ^8.83
- illuminate/pagination: ^8.83
- monolog/monolog: ^2.9
- php-di/php-di: ^6.4
- robmorgan/phinx: ^0.13.4
Requires (Dev)
- symfony/var-dumper: ^v5.4.0
- yoast/phpunit-polyfills: ^1.0
This package is auto-updated.
Last update: 2026-06-16 20:42:44 UTC
README
WordPress MVC framework to develop plugins.
Documentation
How to use
Go to WordPress plugins folder and run this command in terminal:
composer create-project realtyna/plugin-structure <NAME OF YOURPLUGIN>
for example:
composer create-project realtyna/plugin-structure realtyna-api
By running this command a folder named "realtyna-api" will be created in your plugins folder
Go into created folder:
cd realtyna-api
Run composer update:
composer update