Metadrop: Aljibe - Quality and Testing for Drupal Developments with DDEV

Aljibe: Quality and Testing for Drupal Developments with DDEV

Aljibe is a powerful tool that provides an efficient way to develop high-quality Drupal projects using the DDEV development environment. It's our go-to solution here at Metadrop, and we're excited to share it with you.

Developing Drupal projects can be time-consuming and frustrating if you don't have the right tools in place. Aljibe addresses this by providing a curated base for your project, complete with quality assurance tools to ensure that your code is error-free and meets the highest standards.

About Aljibe

Aljibe is built as a set of DDEV add-ons, making it easy to use and customize. It provides a solid foundation for high-quality projects, with tools like Behat, BackstopJS, PHPStan, PHP CodeSniffer, Unlighthouse, multiple linters, a documentation system using MkDocs Material, and more.

Static Code Analysis

One of the key features of Aljibe is its static code analysis capabilities. It includes tools like GrumPHP and phpqa to run your code through various checks, ensuring that it's error-free and follows best practices.

  • GrumPHP runs before every commit, checking for policy compliance with PHPStan, PHP Code Sniffer, and several linters.
  • phpqa serves as an alternative to GrumPHP, offering additional features like code formatting and syntax highlighting.

Testing Tools

  • Behat, a BDD framework for functional testing.
  • BackstopJS, a tool for visual testing and ensuring cross-browser compatibility.
  • Smoke tests to ensure critical functionality is working as expected.

MkDocs Material Documentation

Aljibe ships with MkDocs Material documentation, providing an intuitive way to document your project. This makes it easy for new team members to get started and for developers to understand the project's architecture and operations.

MkDocs Material Icon

Other Features

Aljibe includes a range of other features to make development easier, including:

  • A command-line interface for setting up and managing your project.
  • Automatic updates for Drupal core, modules, themes, and dependencies using the Drupal Updater package.
  • Support for multisite projects, making it easy to manage multiple sites from a single repository.

Add Aljibe to Your Existing Project

If you're already working on a project and want to add Aljibe to your workflow, don't worry - we've got you covered. Follow the instructions in the Aljibe GitHub repository for adding it to an existing project.

At Metadrop, we believe that Aljibe has the potential to make a huge difference in the way Drupal projects are developed and maintained. We'd love to hear from other teams who have used Aljibe and how it's helped them. So, if you think Aljibe can help you - give it a try!

Conclusion

In conclusion, Aljibe is an incredibly powerful tool that provides everything you need to develop high-quality Drupal projects efficiently. With its range of testing tools, documentation system, and other features, it's sure to make a huge difference in the way you work on your projects.