Skip to content

WP Extension is a WordPress MVC framework. Design to build backend application wp plugin and theme maintainable and secure codes.

License

Notifications You must be signed in to change notification settings

WPExtension/MVCExtension

Repository files navigation

MVCExtension - a WordPress plugin mvc framework

Support PHP v8 and future++

WP Extension is a WordPress MVC framework. Design to build backend application wp plugin and theme maintainable and secure codes.

Package WP Plugin Included installed with MVCExtension :
> wpbb[dot]me Plugin Boilerplate
> CMB2 Custom field By CMB2 team
> Application Password (BasicAuth REST_API Authentication) By George Stephanis

 // RECOMMEND JWT AUTH: <br /> > JWT Authentication for WP REST API By Enrique Chavez
 // Secured Authentication Token:
 # Installed WP Plugin: https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/ 
 # Instruction:
 # Edit Your Htaccess: 
   RewriteEngine on
   RewriteCond %{HTTP:Authorization} ^(.*)
   RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
 
 # At config file
   define('JWT_AUTH_SECRET_KEY', 'your-top-secret-key');

 # Endpoint | HTTP Verb
  /wp-json/jwt-auth/v1/token | POST
  /wp-json/jwt-auth/v1/token/validate | POST

 # POSTMAN/Thunder Create and Generate Token:
 http://<domain>/wp-json/jwt-auth/v1/token?username=admin&password=admin

 HTTPS AUTHORIZATION TYPE: Bearer
 Token: 1614c2sa1c65asc
 


MVC Extension with VueJS
https://github.com/WPExtension/MVCExtensionWithVueJS


MVC Extension with VueJS and Component
https://github.com/WPExtension/MVCExtensionWithVueJSComponent


MVC Extension With VueJS Component Webpack Optimization JS&CSS
https://github.com/WPExtension/MVCExtensionWithVueJSComponentWebpack


WP Query post object
Source: https://nielsoffice2017.wordpress.com/2021/11/24/wordpress-the-loop-fetch-data-from-database-wp_query-php/
// Handling Post object in Controller
$query = new WP_Query( array( 'post_type' => 'page' ) );
$posts = $query->posts;

// @view
foreach($posts as $post) { echo $post->post_name; }

Thanks To:

Github : To allow me to upload my PHP Library PHPWine Vanilla Flavour to repository
php.net : To oppurtunity Develop web application using corePHP - PHPFrameworks
WordPress : To oppurtunity Develop web site and plugin free

LICENSE BY GPL v2.0

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Would you like me to treat a cake and coffee ?
Become a donor, Because with you! We can build more...

Donate:
GCash : +639650332900
Paypal account: syncdevprojects@gmail.com



Thanks and good luck!