PHP code example of deuchnord / no-ai-bundle
1. Go to this page and download the library: Download deuchnord/no-ai-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
deuchnord / no-ai-bundle example snippets
>
>
> namespace App\EventListener;
>
> use Deuchnord\NoAiBundle\Event\LlmCrawlerBlockedEvent;
> use Symfony\Component\EventDispatcher\Attribute\AsEventListener;
>
> #[AsEventListener(event: LlmCrawlerBlockedEvent::class)]
> class LlmCrawlerBlockedEventListener
> {
> public function __invoke(LlmCrawlerBlockedEvent $event)
> {
> // Your logic here.
> }
> }
>