Skip to content

Instantly share code, notes, and snippets.

@DavidSporer
DavidSporer / Settings.yaml
Last active September 15, 2020 10:04
Settings.yaml with relative symlinks
Neos:
Flow:
resource:
targets:
localWebDirectoryPersistentResourcesTarget:
target: 'Neos\Flow\ResourceManagement\Target\FileSystemSymlinkTarget'
targetOptions:
relativeSymlinks: TRUE
subdivideHashPathSegment: TRUE
localWebDirectoryStaticResourcesTarget:
@albe
albe / AbstractRestController.php
Created May 30, 2017 08:28
Automagic RESTful API for https://github.com/neos/flow Framework Aggregates (incomplete)
<?php
namespace Acme\Api\Controller;
use Acme\Api\Domain\Repository\ResourceRepository;
use Acme\Api\Utility\AggregateReflectionHelper;
use Acme\Api\Utility\ResourceTypeHelper;
use Acme\Api\Utility\ViewConfigurationHelper;
use Doctrine\Common\Inflector\Inflector;
@Sebobo
Sebobo / InstanceUserService.php
Created April 26, 2018 14:39
Dynamic Policies
<?php
namespace Foo\Bar\Service;
use Neos\Cache\CacheAwareInterface;
use Neos\Flow\Annotations as Flow;
use Neos\Neos\Domain\Model\User;
/**
* The user service provides general context information about the currently
* authenticated backend user.
@mficzel
mficzel / ExampleController.php
Last active June 7, 2019 06:26
Backend Module with Fusion-AFX
<?php
namespace Test\BeModule\Controller;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Mvc\View\ViewInterface;
use Neos\Fusion\View\FusionView;
use Neos\Neos\Controller\Module\AbstractModuleController;
class ExampleController extends AbstractModuleController
{
@tap52384
tap52384 / README.md
Last active August 23, 2024 08:27
Install Windows on External Drive for macOS