fbpx

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:

Summary

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

Christmas email templates are a great way to get your audience in the holiday spirit. If you’re a WordPress user, you’re in luck! With the Pretty Email plugin, you can...

BracketSpace Black Friday is here, we’re making it a celebration with two full weeks of unbeatable discounts on our top WordPress plugins. If you’ve been waiting for the right moment...

The Notification plugin just received its third major update, with a complete code refactor to enhance performance and user experience. This rewrite brings improved functionality, so if you’re a Notification...

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.