Skip to content

Instantly share code, notes, and snippets.

View nshkuro's full-sized avatar

Nikolay.Sh nshkuro

  • Belgrade, Serbia
  • 03:41 (UTC +02:00)
View GitHub Profile
@philipnorton42
philipnorton42 / Base64FileManagerService.php
Created June 19, 2022 08:56
A Drupal service class that can extract base64 encoded files from HTML content.
<?php
namespace Drupal\mymodule;
use Drupal\Core\File\Exception\FileNotExistsException;
use Drupal\Core\File\FileSystemInterface;
use Drupal\file\FileRepositoryInterface;
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\Core\Logger\LoggerChannelInterface;
@ziadoz
ziadoz / awesome-php.md
Last active February 3, 2025 20:55
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.