Skip to content

About

Simply Framework is a WordPress framework that give you the Symfony dependency injection component and Twig php template engine.

Resources

Stars

5 stars

Watchers

2 watching

Forks

Repository files navigation

Simply framework

Simply Framework is a WordPress framework that give you the Symfony dependency injection component and Twig php template engine.

Simply is not a framework that will lose you if you have been developing for some time on WordPress.

It will allow you to save development time by offering you dependency injection as well as the automation of recurring tasks on WordPress.

Installation

All installation and documentation is available here. Read it carefully.

Philosophy

The framework follows several important points in order not to complicate the development:

  • do not modify the overall structure of WordPress
  • avoid adding a large overlay which would make plugin or theme development more complex
  • simplify added WordPress things with automated process (post type, taxonomy...)
  • use Object-oriented programming

This is why the framework was developed as a WordPress must use plugin

Cache

The compiled container and Twig templates are cached in SIMPLY_CACHE_DIRECTORY, in a sub-directory named after a fingerprint of what they are built from: installed Composer packages, configuration directories, registered plugins and theme, and WP_DEBUG. Updating a package, switching theme or adding a configuration directory therefore rebuilds the cache automatically. Caches of other fingerprints are removed on the next rebuild once they have not been modified for an hour, so several contexts (WP-CLI with --skip-themes, one theme per site on a multisite) can live side by side.

With WP_DEBUG set to false, files are not checked for changes. When you deploy code changes that Composer does not see (your theme or plugin services, YAML configuration, Twig templates), clear the cache as part of the deployment:

php bin/console simply:cache:clear

Development team

The framework was created by Clément Décou, who continues to lead the development.

Contributing

Any help is appreciated. The project is open-source and i encourage you to participate. You can contribute to the project in multiple ways by:

  • Reporting a bug issue
  • Suggesting features
  • Sending a pull request
  • Add a star in GitHub
  • Following me on Twitter
  • Sharing the project around you

About

Simply Framework is a WordPress framework that give you the Symfony dependency injection component and Twig php template engine.

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages