Skip to content

Instantly share code, notes, and snippets.

View sovetski's full-sized avatar
🎯
Focusing

Ahliman HUSEYNOV sovetski

🎯
Focusing
View GitHub Profile
@sovetski
sovetski / php-event-listener-example.php
Created August 18, 2024 18:18 — forked from im4aLL/php-event-listener-example.php
PHP event listener simple example
<?php
// Used in https://github.com/im4aLL/roolith-event
class Event {
private static $events = [];
public static function listen($name, $callback) {
self::$events[$name][] = $callback;
}
@sovetski
sovetski / .env
Created May 17, 2024 19:21 — forked from jfcherng/.env
Symfony 5 maintenance mode
MAINTENANCE_MODE=0
@sovetski
sovetski / .gitignore
Created June 21, 2023 12:24 — forked from SaltwaterC/.gitignore
php cache curl
/cache/