New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

realodix/haiku

A tool to manage and maintain Adblock filter lists.
1,274,826 3
Install
composer require realodix/haiku
Latest Version:v1.13.33
PHP:^8.4
Laravel:13
Older releases:12
License:MIT
Last Updated:Oct 30, 2026
Links: GitHub  ·  Packagist
Maintainer: KeiJR

Realodix Haiku

Haiku is a powerful command-line tool for managing adblock filter lists efficiently. It automates repetitive tasks such as merging sources, optimizing, and tidying up filter lists effortlessly.

Built with a deep understanding of the syntaxes of Adblock Plus, AdGuard, and uBlock Origin.

# Three capabilities, one tool

01/Lint - Static analysis

Analyze your filter lists to perform intelligent redundancy analysis, while catching syntax errors and invalid options or modifiers before they affect users.

02/Fix - Optimizer & Normalizer

An opinionated optimizer that sorts, combines, and deduplicates rules for a leaner, faster-loading filter list. No manual formatting roulette; drop it in, automate it, and move on.

For a complete list of transformations, see docs/fixer_transformations.md.

03/Build - Compiler & Bundler

Compile multiple filter sources (local files and/or remote URLs) into a single, unified output. Automatically regenerates header metadata, strips unnecessary lines such as comments, and delivers a production-ready deployment.

# Three steps to first run

  1. Install. Install the package via Composer

    composer require realodix/haiku
    
  2. Initialize. Run vendor/bin/haiku init in your project root. The command writes a haiku.yml configuration file.

  3. Run. Use vendor/bin/haiku lint, vendor/bin/haiku fix, or vendor/bin/haiku build. Wire it into pre-commit, CI, or your editor.

For detailed command usage, available options, and more examples, see docs/usage.md.

# Configuration

See configuration file documentation or AdBlockID-src/haiku.yml for a production configuration example.

Contributing

Contributions are welcome! Please:

  1. Fork the repo and create a feature branch.
  2. Add tests for new features.
  3. Ensure code passes composer check.
  4. Submit a PR with a clear description.

Report bugs or suggest features via Issues.

License

This project is licensed under the MIT License.

Related Packages

laravel/pint

An opinionated code formatter for PHP.

210,286,117 3,170
tightenco/duster

Automatic configuration for Laravel apps to apply Tighten's standard linting & c...

3,385,157 604
directorytree/ldaprecord-laravel

LDAP Authentication & Management for Laravel.

2,902,802 574
hemp/presenter

Easy Model Presenters in Laravel

654,884 247
juzaweb/cms

Juzaweb CMS is a Content Management System (CMS) developed based on Laravel Fram...

571,295 192

Version History

Version Released PHP Laravel License
v1.13.33 ^8.4 ^13.30 MIT
v1.13.32 ^8.4 ^13.30 MIT
v1.13.31 ^8.4 ^13.30 MIT
v1.13.30 ^8.4 ^13.30 MIT
v1.13.29 ^8.4 ^13.30 MIT