2017 © Pedro PelĂĄez
 

typo3-flow-package symlink-publishing

Publish resources to the filesystem using relative symlinks

image

mittwald-flow/symlink-publishing

Publish resources to the filesystem using relative symlinks

  • Tuesday, January 31, 2017
  • by mittwald-typo3
  • Repository
  • 4 Watchers
  • 6 Stars
  • 3,064 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

Advanced Symlink publishing for Flow and Neos

This package provides advanced symlink publishing options for Flow and Neos. Most importantly, this package adds the option to publish resources using relative symlinks. This is important when you run Flow or Neos with a chrooted PHP interpreter., (*1)

Compatibility notices: * The master branch of this package and all ~2.0 versions are compatible with Flow >=3.0.2 and stop working with Flow 4.0. * When you're using Flow 3.0.0 or 3.0.1 or Neos 2.0.3 or older, use one of the ~1.0 versions or the v1.0 branch instead. * Keep in mind that if you're using Flow 3.3 or newer you don't need this package anymore. The FileSystemSymlinkTarget can now be configured to create relative symlinks for published resources by default., (*2)

Installation

Install using composer:, (*3)

composer require mittwald-flow/symlink-publishing=~2.0

Next delete all absolute referenced symlinks, etc., from the _Resources folder:, (*4)

rm -rf Web/_Resources

Finally reissue the relative referenced symlinks, etc.:, (*5)

./flow resource:publish

Configuration

You can configure relative symlink publishing in the Flow settings. It is enabled by default!, (*6)

TYPO3:
  Flow:
    resource:
      targets:
        localWebDirectoryPersistentResourcesTarget:
          target: 'Mw\SymlinkPublishing\Resource\Target\FileSystemSymlinkTarget'
          targetOptions:
            relativeSymlinks: TRUE
        localWebDirectoryStaticResourcesTarget:
          target: 'Mw\SymlinkPublishing\Resource\Target\FileSystemSymlinkTarget'
          targetOptions:
            relativeSymlinks: TRUE

License

This package is MIT-licensed. See the license file for more information., (*7)

Credits

This package is based on a change by Christian MĂŒller., (*8)

The Versions

31/01 2017

dev-master

9999999-dev

Publish resources to the filesystem using relative symlinks

  Sources   Download

MIT

The Requires

 

24/11 2015

v2.0.0

2.0.0.0

Publish resources to the filesystem using relative symlinks

  Sources   Download

MIT

The Requires

 

24/11 2015

1.0.x-dev

1.0.9999999.9999999-dev

Publish resources to the filesystem using relative symlinks

  Sources   Download

MIT

The Requires

 

24/11 2015

v1.0.2

1.0.2.0

Publish resources to the filesystem using relative symlinks

  Sources   Download

MIT

The Requires

 

13/08 2015

v1.0.1

1.0.1.0

Publish resources to the filesystem using relative symlinks

  Sources   Download

MIT

The Requires

 

15/07 2015

v1.0.0

1.0.0.0

Publish resources to the filesystem using relative symlinks

  Sources   Download

MIT

The Requires