2017 © Pedro Peláez
 

composer-plugin composer-symlinks

Create relative symlinks based on getcwd() and relative data

image

somework/composer-symlinks

Create relative symlinks based on getcwd() and relative data

  • Wednesday, February 21, 2018
  • by somework
  • Repository
  • 3 Watchers
  • 3 Stars
  • 1,021 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 11 Versions
  • 49 % Grown

The README.md

ComposerSymlinks

Its provide a simple Composer script to symlink paths., (*1)

Installation

To install the latest stable version of this component, open a console and execute the following command:, (*2)

$ composer require somework/composer-symlinks

Usage

Create the symlinks definition adding a somework/composer-symlinks section inside the extra section of the composer.json file., (*3)

Set skip-missing-target to true if we should not throw exception if target path doesn't exists
Set absolute-path to true if you want to create realpath symlinks
Set throw-exception to false if you dont want to break creating on some error while check symlinks
Set force-create to force unlink link if something already exists on link path, (*4)

You can set personal configs for any symlink.
For personal configs link must be defined, (*5)

{
    "extra": {
        "somework/composer-symlinks": {
            "symlinks": {
                "common/upload": "web/upload",
                "common/static/dest": {
                    "link": "web/dest",
                    "skip-missing-target": false,
                    "absolute-path": true,
                    "throw-exception": false
                }
            },
            "force-create": false,
            "skip-missing-target": false,
            "absolute-path": false,
            "throw-exception": true
        }
    }
}

3. Execute composer

DO NOT use --no-plugins for composer install or update, (*6)

License

This component is under the MIT license. See the complete license in the [LICENSE] file., (*7)

Reporting an issue or a feature request

Issues and feature requests are tracked in the [Github issue tracker]., (*8)

The Versions

21/02 2018

dev-master

9999999-dev

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

  • php >7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Pinchuk Igor

21/02 2018

1.3.1

1.3.1.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

  • php >7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Pinchuk Igor

21/02 2018

1.3.0

1.3.0.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

  • php >7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Pinchuk Igor

21/02 2018

1.2.0

1.2.0.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

  • php >7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Pinchuk Igor

20/02 2018

1.1.1

1.1.1.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

  • php >7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Pinchuk Igor

20/02 2018

1.1

1.1.0.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

  • php >7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Pinchuk Igor

20/02 2018

1.0

1.0.0.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

  • php >7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Pinchuk Igor

16/11 2017

0.3.1

0.3.1.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pinchuk Igor

01/11 2017

0.3

0.3.0.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pinchuk Igor

30/10 2017

0.2

0.2.0.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pinchuk Igor

30/10 2017

0.1

0.1.0.0

Create relative symlinks based on getcwd() and relative data

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pinchuk Igor