I get the following error when installing this package:
The directive name [] is not valid. Directive names must only contain alphanumeric characters and underscores.
But, I already found a workaround for this.
How to fix this:
If you already installing the package with composer require bonecms/laravel-captcha, then you need to uninstall the package first with composer remove bonecms/laravel-captcha
Remove the cached configuration with php artisan config:clear.
Install the package, composer require bonecms/laravel-captcha
I get the following error when installing this package:
The directive name [] is not valid. Directive names must only contain alphanumeric characters and underscores.
But, I already found a workaround for this.
How to fix this:
composer require bonecms/laravel-captcha
, then you need to uninstall the package first withcomposer remove bonecms/laravel-captcha
php artisan config:clear
.composer require bonecms/laravel-captcha
php artisan config:cache
References: https://stackoverflow.com/questions/65464010/the-directive-name-is-not-valid-directive-names-must-only-contain-alphanumer