Another WordPress MVC Library - WP Emerge MVC Framework

This site previously introduced a WordPress MVC framework -- Themosis Framework, this framework is based on some of the components of Laravel to build, for only need to add a small number of several MVC functionality of the site, a little heavy. Today we introduce you to another similar MVC framework "WP Emerge".

Similar to the Themosis Framework.WP Emerge Also a Laravel-inspired WordPress MVC framework, WP Emerge is a relatively lightweight WordPress MVC framework that doesn't use any Laravel components.

WP Emerge Features

  • Complete routing system: includes controller, middleware, PSR-7 response and view composer.
  • Any template engine can be used: You can use native PHP, Laravel Blade, Twig or any other template engine.
  • Service containers: all dependencies are instantiated using IoC containers and can be replaced with custom compatible containers at will.
  • Extensible: service providers, template engine, dynamic routing conditions, error handling - all customizable and extensible.
  • Advanced Bug Reporting: Aesthetically pleasing and interactive stack trace representation with data dumps and source file highlighting.
  • Full support for WordPress Loop: WP Emerge does not modify or override the WordPress post loop, it complements it.
  • Routing middleware support: middleware can be added globally or to specific routes or route groups. Supports features such as Flash and OldInput.

WP Emerge Usage Resources

Here are some official WP Emerge documentation and learning resources to help us get started with the WP Emerge framework.

WP Emerge Frequently Asked Questions

Is WP Emerge a plugin?

No, WP Emerge is a framework that can be included in themes. It's not officially supported, but it shouldn't be very difficult to include it in a plugin.

Does WP Emerge include Laravel components?

No, although heavily inspired by Laravel, WP Emerge is very lean and tweaked for WordPress and does not include any illuminate/* packages.

Can I use WP Emerge in an old project?

Sure. One of the nice things about WP Emerge is that its integration is incremental and you can use it in older projects without having to rewrite the site logic or templates. For example, you can use NameProxyViewEngineBlade to render new templates while still rendering old templates using regular PHP.

Is WP Emerge free?

Yes - WP Emerge is open source and free with a GPL 2.0 open source certificate, and you can see feel free to submit questions, suggestions and make requests on GitHub.

What themes are suitable for WP Emerge?

WP Emerge is suitable for any theme, it is recommended to refer to the official WP Emerge starter theme to integrate WP Emerge into your theme.

Where can I get help with WP Emerge?

ferret outofficial documentInGitter LobbyAsking questions, inGitHub.Submit questions, feature requests and extraction requests.

After trial, we found that WP Emerge can completely realize a complete MVC process, and WordPress is also very well integrated, there is a need to use WordPress application development friends can try the following.

Related Posts

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *