What is Baselibs?
Baselibs is a powerful collection of Composer packages designed to streamline and simplify WordPress plugin development. It provides a robust set of reusable tools and libraries, helping developers build plugins faster and more efficiently.
Baselibs offers the building blocks you need to enhance your WordPress projects.
Why use Baselibs?
Baselibs is built with a clear purpose: to provide a well-structured, opinionated foundation tailored to the specific needs of projects developed by Alessandro Tesoro (me!). If your projects share a similar structure or requirements, Baselibs can significantly speed up development by offering a tested, reliable, and optimized set of tools.
Here’s why you might consider using Baselibs:
- Consistency: By using Baselibs, you ensure that your projects share a consistent architecture and coding style, making collaboration and maintenance easier.
- Time-saving: With pre-built components and utilities, you can save time on development and focus on what makes your project unique.
- Optimization: Baselibs packages are designed to be performant and efficient, helping you deliver a better user experience.
- Security: Built with security in mind, Baselibs help you avoid common pitfalls and adhere to best practices.
Baselibs is regularly updated and refined to ensure optimal performance and compatibility with the latest WordPress standards.
Available packages
The framework package allows you to create powerful plugins with ease. It is designed to be simple and easy to use, yet powerful and extensible.
The query builder package provides a powerful and flexible way to build and execute database queries through a fluent interface. Queries are then offloaded to the
wpdb
class for execution.The schema package allows developers to inspect the structure of existing database tables and define new schemas in a clear, declarative way.
Requirements for all packages
- PHP 8.1 or higher
- Composer
- PHP Scoper
NOTE
The documentation does not cover the installation of PHP, Composer, or PHP Scoper. Please refer to the official documentation for each tool for installation instructions.
Support
Please note that the Baselibs packages have been built for personal and commercial projects developed by Alessandro Tesoro. Support is limited to bug fixes and minor updates. We will not be able to provide support for custom development or feature requests.
Security issues
If you discover a security vulnerability, please email [email protected]. All security vulnerabilities will be promptly addressed.
License
Baselibs is licensed under the MIT license. See the license details in each package for more information.