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,275,018 3
Install
composer require realodix/haiku
Latest Version:v1.14.0
PHP:^8.4
Laravel:13
Older releases:12
License:MIT
Last Updated:Nov 13, 2026
Links: GitHub  ·  Packagist
Maintainer: KeiJR

DeepWiki

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/Linter

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

📝 02/Formatter

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

📦 03/Bundler

Combines multiple filter list files (local and/or remote URLs) into a single file. 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. If you want to override settings locally, create and commit to VCS haiku.yml.dist but locally use haiku.yml which should be ignored (e.g. in .gitignore).

  3. Run

    Use vendor/bin/haiku lint, vendor/bin/haiku format, 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.

225,279,729 3,176
tightenco/duster

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

3,555,371 604
directorytree/ldaprecord-laravel

LDAP Authentication & Management for Laravel.

3,026,218 574
hemp/presenter

Easy Model Presenters in Laravel

660,216 247
beyondcode/expose

Create public URLs for local sites through any firewall and VPN.

573,269 4,576

Version History

Version Released PHP Laravel License
v1.14.0 ^8.4 ^13.30 MIT
v1.13.35 ^8.4 ^13.30 MIT
v1.13.34 ^8.4 ^13.30 MIT
v1.13.33 ^8.4 ^13.30 MIT
v1.13.32 ^8.4 ^13.30 MIT