Framework agnostic PHP package for marking navigation items active.
Overview
Ekko is an innovative PHP package designed to streamline the process of marking navigation items as active, irrespective of the framework you are using. It’s particularly appealing for developers looking for a flexible and agnostic solution to manage CSS class assignments for navigation elements. With its focus on ease of integration and broad compatibility—including support for Laravel and others—Ekko offers a modern approach to navigation management in web applications.
Whether you are working on a custom design or utilizing a framework like Laravel, Ekko’s features allow you to specify what “active” means to you—making your navigation management much smoother and more intuitive.
Features
- Framework Agnostic: Works seamlessly across different frameworks, allowing for easy customization in any application.
- Flexible Output Value: Configure the output value to anything you need instead of just “active”, accommodating various CSS frameworks beyond Bootstrap.
- Backward Compatibility: Designed to support older versions of PHP and frameworks, ensuring that it works well regardless of your tech stack.
- Global Helper Functions: Disabled by default for cleaner usage, but can be enabled for enhanced functionality when needed.
- Robust Testing: Fully tested using table-driven methodologies with PHPUnit, ensuring reliable performance and stability.
- Simple Installation: Easy to set up through the command line with sensible defaults, making it user-friendly for quick deployments.
- Laravel Integration: Specifically optimized to work with Laravel 8 and later, leveraging auto-discovery for easy service provider registration.
- Custom Default Settings: Easily modify and set default configurations in Laravel to suit your application’s unique needs.