Download the PHP package magewirephp/portman without Composer

On this page you can find all versions of the php package magewirephp/portman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package portman

Portman

Portman is a command-line utility that simplifies porting PHP libraries between frameworks.

Contents

:electric_plug: Installing

You can run it from your bin directory:

Or download the portman executable from the releases section and run it from the terminal.

:gear: Configure

Portman works with portman.config.php config file. You can create it manually, or let Portman create it for you:

Options

Filtering files

If you want to be more precise into what files or folders to include from the directories you can use the 'ant-like glob' functionality provided by 'webmozarts/glob':

Here you can see a global 'glob' definition('glob' => '**/*.php') that will only include php files from the foo source directory.

But the ignore array specifies globs for files to ignore. The ignore globs will stack. Globs starting with a ! will negate the ignored files from previous ignore rules. So given the configuration above and this folder structure:

The files DontIncludeMe\ClassBaz.php and DontIncludeMe\ClassRemoved.php will be ignored.

Environment file

If you want to store the configuration in a different location you can set the PORTMAN_CONFIG_FILE environment variable.

:tada: Usage

Just use Portman and check its commands:

Download-source

The download-source command will download the source-code from packagist.

[!WARNING] This will overwrite the source-code directory, so make sure to backup!

Build

The build command will merge all code into the output-directory.

Watch

The watch command will watch for changes in any of the source/augmentation/addition directories and run the build process for the changed files.

To use watch you will need to install chokidar-cli into the project folder

Or globally

Using the watch command:

:pencil2: Contributing

Thank you for considering contributing to Portman! Please read the contribution guide to know how to behave, install and use Portman for contributors.

:book: Code of Conduct

In order to ensure that the Portman is welcoming to all, please review and abide by the Code of Conduct.

:bulb: Made possible by using

Nikic PHP-Parser

PHP-Parser is used to parse source and augmentation php classes, to merge them afterwards. Created by Nikita Popov

Laravel Zero

Laravel Zero is the command line utility base. Created by Nuno Maduro and Owen Voke.

Webmozart Glob

Webmozart Glob is used for finding and filtering files using Ant's glob.

Spatie Laravel-data

Spatie Laravel-data is used to validate and make the portman.config.php files into handy DTO's.


All versions of portman with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package magewirephp/portman contains the following files

Loading the files please wait ....