jawira/phing-open-task

This package is abandoned and no longer maintained. The author suggests using the phing/phing package instead.

Phing task to open files, directories, and URLs with your favorite software.

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Type:phing-extension

v1.0.0 2020-09-10 12:33 UTC

This package is not auto-updated.

Last update: 2021-10-10 20:59:50 UTC


README

Phing task to open files, directories, and URLs with your favorite software.

Compatible with:

  • 🐧 Linux
  • ✖️ OS X
  • 🔲 Windows

Packagist Version Packagist PHP Version Support Packagist License

Examples

Open your server with your favorite browser:

<open path="http://localhost:8080/"/>

Open README.md file with your favorite text editor:

<open path="./README.md"/>

Please note that OpenTask will not fail if path doesn't exists.

Installing with Phing v3

Phing v3 allows to auto-discover custom tasks, just install with composer:

$ composer require jawira/phing-open-task

Installing with Phing v2

Step 1: Install with Composer:

$ composer require jawira/phing-open-task

Step 2: Import installer into your buildfile:

<?xml version="1.0" encoding="UTF-8" ?>

<project name="Demo">

    <import file="vendor/jawira/phing-open-task/install.xml"/>
    
    <target name="open-site">
        <open path="http://localhost:8080/"/>
    </target>

</project>

Contributing

If you liked this project, ⭐ star it on GitLab.

License

This library is licensed under the MIT license.

My other packages

jawira/case-converter (library)
Convert strings between 13 naming conventions: Snake case, Camel case, Pascal case, Kebab case, Ada case, Train case, Cobol case, Macro case, Upper case, Lower case, Sentence case, Title case and Dot notation.
jawira/plantuml (library)
Provides PlantUML integration: plantuml executable and plantuml.jar
jawira/plantuml-encoding (library)
PlantUML encoding functions.
More packages...