PHPackages                             sixach/wp-snippets - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sixach/wp-snippets

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

sixach/wp-snippets
==================

A plugin containing factory classes or methods for the Sixa projects.

v1.7.3(4y ago)311.1k[1 issues](https://github.com/sixach/wp-snippets/issues)1GPL-3.0PHPPHP &gt;=7.4

Since Jul 16Pushed 3y ago2 watchersCompare

[ Source](https://github.com/sixach/wp-snippets)[ Packagist](https://packagist.org/packages/sixach/wp-snippets)[ Docs](https://www.sixa.ch)[ RSS](/packages/sixach-wp-snippets/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (8)Versions (18)Used By (1)

WP Snippets
===========

[](#wp-snippets)

This repository is a collection of useful functions for WordPress projects.

Introduction
------------

[](#introduction)

At Sixa, we strive to provide a top-notch and solid code base for all WordPress projects. In order to improve both our efficiency and consistency, we need to standardize what we use and how we use it.

This repository allows us to reuse initial functions and classes to make sure all projects can get up and running as quickly as possible while closing adhering to Sixa’s high-quality coding standards.

Installation
------------

[](#installation)

```
composer install sixach/wp-snippets
```

such that in `composer.json` you `require` the package

```
{
    "require": {
        "sixach/wp-snippets": "^1.4.1"
    }
}
```

Make sure to use the latest version, the version in the example above might be outdated.

Usage
-----

[](#usage)

In the file in which you wish to call a function or factory class from WP Snippets, simply import the class and call it subsequently, e.g.

```
