Skip to content

Release v1.0.0

Choose a tag to compare

@ViewFromTheBox ViewFromTheBox released this 02 Feb 00:35
· 37 commits to main since this release

Added\n- Initial release of ArtisanPack UI Hooks package\n- WordPress-style actions and filters system for Laravel applications\n- Action hooks management with priority-based execution\n- Action class for registering and executing action hooks\n- Support for callback priorities (lower numbers execute first)\n- Filter system for value transformation through callback chains\n- Filter class for registering and applying filters\n- Chained value processing with multiple callbacks\n- Helper functions for easy integration:\n- addAction(string , callable , int = 10) - Register action callbacks\n- doAction(string , mixed ...) - Execute action callbacks\n- addFilter(string , callable , int = 10) - Register filter callbacks\n- applyFilters(string , mixed , mixed ...) - Apply filter callbacks\n- Laravel Facades for static access:\n- Action facade for action management\n- Filter facade for filter management\n- Blade directives for template integration:\n- @action('hook_name', ...) - Execute actions in Blade views\n- @filter('hook_name', , ...) - Apply filters and echo results in Blade views\n- Service providers with automatic Laravel package discovery:\n- HooksServiceProvider - Registers Action and Filter singletons\n- BladeDirectiveServiceProvider - Registers custom Blade directives\n- Automatic facade alias registration for Action and Filter\n- PSR-4 autoloading with namespace ArtisanPackUI\Hooks\\n- Comprehensive test suite using Pest testing framework\n- Full documentation with examples and usage guidelines\n### Requirements\n- PHP 8.2 or higher\n- Laravel 5.3+ (tested with Laravel 10.x and 11.x)\n- Illuminate/Support package\n### Features\n- Priority-based callback execution (lower numbers run first)\n- Modular architecture supporting plugin-style extensions\n- Clean separation of concerns for maintainable code\n- Framework-native Laravel integration\n- MIT license for open source usage