Close this search box.

Home / Blog

Micropackages – reusable packages for faster development

Micropackages – reusable packages for faster development

We at BracketSpace write a lot of code. And the best part is that a lot of this code is the same for each project. We used to copy&paste or create boilerplates like starter themes or plugins to make the work a bit faster and more standardized. Until we came up with Micropackages.

What the hell?

Micropackage is just a tiny bit of code encapsulated in the Composer or NPM package. It’s meant to be simple and easy to integrate with. Plus, we really did our homework with documentation.

Whenever they can, they are platform and framework agnostic, but the fact is we’ve built them specifically for WordPress.

The most popular packages are:

  • Filesystem
  • Templates
  • DocHooks
  • Requirements

How to use these

You can use one package. Or all of them. It’s up to you! Probably a few of them will fit your project depending on if you are doing a theme or plugin.

Because they are so modular, it’s not required to do stuff our way. In fact, most of the micropackages doesn’t have a single dependency.

Read more

If you’d like to read more about this project, check the BracketSpace Releases Library of Reusable Code for Plugin and Theme Development post by Justin Tadlock on WP Tavern.

And of course – give them a ride!

PRs and Issues are highly welcome! 🤟

Share This Article:

Picture of Kuba Mikita

Kuba Mikita

Share This Article:


Picture of Kuba Mikita

Kuba Mikita

Share This Article:

Latest updates, discounts and more!

Get the most recent updates on WordPress automation, fresh plugins, new features and price cuts.

Related articles

Recently, we came across a problem, while developing a new version of the Notification plugin. We wanted to tidy up our codebase and one of the tasks was to rename...

Following the success of the Notification plugin, we knew that personalization was the direction we would pursue. Thanks to feedback, we were easily able to identify the needs of the...

WordPress Cron is pretty basic and doesn’t allow for much configuration in terms of schedules. By default, you can run your events with a specific interval, like daily, weekly, or...

WordPress Plugins that get the job done

With years of experience creating client websites, we bring our experience to functional WordPress plugins.

Easy to use for everyone

Regardless of experience level, you can easily use our products.

Top-notch Support included

We treat our clients seriously and focus heavily on support. Reviews backs this up!

Extensible and developer friendly

You're the same developer as we are. Our code is clean and extensible, just the way you like.