2017 © Pedro Peláez
 

metapackage wp-safe-fast-and-clean-collection

This is a composer metapackage which includes WordPress plugins that make your site safer, faster and cleaner.

image

devgeniem/wp-safe-fast-and-clean-collection

This is a composer metapackage which includes WordPress plugins that make your site safer, faster and cleaner.

  • Friday, January 12, 2018
  • by devgeniem
  • Repository
  • 5 Watchers
  • 9 Stars
  • 1,403 Installations
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 7 Versions
  • 9 % Grown

The README.md

geniem-github-banner, (*1)

WordPress Dropin & Plugin Collection: Safe, Fast & Clean WordPress

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

This is WordPress plugin and dropin collection which enhances WordPress in multiple ways., (*3)

Reasons

This package was created to handle multiple projects with composer update. We just include this collection into our composer.json and stick to the guidelines about which plugins should be included here. WordPress evolves with time and some plugins will propably be pointless at some point, if that happens we will remove those unneccessary plugins., (*4)

Installation

$ composer require devgeniem/wp-safe-fast-and-clean-collection

Guidelines

We only want to add minimal plugins which enhance small part of WordPress., (*5)

WordPress should expose as little as possible about itself and plugins

  • All unneccessary html comments and headers should be stripped away.

WordPress shouldn't make any additional requests to wordpress.org or 3rd party services

  • WordPress should disable anything related to updates of core/themes/plugins.
  • WordPress shouldn't create unneccessary requests which either slow the page down or use cpu cycles without any additional value

Cache as much as possible

  • Caching reduces load and allows us to create faster sites

Avoid situations where users can accidentally create errors

WordPress core development moves a bit slower with some enhancements. We will add plugins that provide fixes for problems like accented file uploads into this collection. Once those features or fixes are not needed anymore we will disable them from this package., (*6)

Allow developers to define as much settings as possible in wp-config.php

Too many plugins have only wp-admin settings pages. We believe that most of the settings belong into code rather than the database., (*7)

WordPress shouldn't install or contain unneccessary example data

  • Core installation should create minimal amount of content
  • Plugins shouldn't have example content when possible

Requirements

  • >= PHP 7.0
  • WordPress
  • Redis server for object caching
  • Use composer to update your site rather than using WordPress auto updates

Composer.json settings

For correct installation your project should define following installation paths in extra section:, (*8)

extra: {
    "installer-paths": {
      "web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
      "web/app/plugins/{$name}/": ["type:wordpress-plugin"]
    },
    "dropin-paths": {
      "web/app/": ["type:wordpress-dropin"]
    }
}

We use bedrock styled names for wp-content. Replace web/app according for your project., (*9)

Maintainers

Onni Hakala, (*10)

Changelog

See the included CHANGELOG.md, (*11)

License

Respect the licenses of used libraries. This readme and composer are licensed under MIT, (*12)

The Versions