cehojac/antonella-framework-for-wp

make easy a WordPress Plugin whit a team. Use this framework for simplycity the work in develop a plugin

1.8.0 2023-05-06 13:18 UTC

README

Antonella Framework

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require Gitter

Antonella Framework for WordPress

Framework for develop WordPress plugins based on Model View Controller You can read the full documentation in https://antonellaframework.com/documentacion

License

MIT License

Important: If you create a WordPress plugin using Antonella Framework and distribute it, your plugin must be GPL license, in accordance with WordPress licensing requirements.

Requeriments

  • php (minimun 5.6)
  • composer
  • git

Instalation

create a folder for yours antonella framework's projects and execute

composer create-project --prefer-dist cehojac/antonella-framework-for-wp:dev-master my-awesome-plugin

my-awesome-plugin is your project's plugin

cd my-awesome-plugin

this is all!!- start your marvelous plugin in wordpress

Basics

Antonella Framework have console functions:

php antonella namespace FOO

rename the namespace in all files

php antonella make MyClassController

create MyClassController.php file in src folder whit pre-data

php antonella widget MyWidget

create a Class for Widget Function

Export you zip plugin

php antonella makeup Compress your project in a .zip file