Download the PHP package dreamfactory/package-installer without Composer

On this page you can find all versions of the php package dreamfactory/package-installer. 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 package-installer

DreamFactory Platform Package Installer v1.4.13

Latest Stable Version Total Downloads Latest Unstable Version License

DreamFactory Platform Package Installer (PPI) is a tool for installing applications, libraries and plug-ins on to your DSP.

Packages installed with this tool are safe from system upgrades.

Packaging with Composer

By default, the PPI leverages the package manager used by the DSP, Composer. While this document and the package installer require a composer.json file to install your package, DSP packages are not required, or limited, to utilize this packaging method. See [Packaging Without Composer][] for more information on alternative packaging.

What's Composer?

Composer is a dependency manager tracking local dependencies of your projects and libraries.

See https://getcomposer.org/ for more information and documentation.

Installation and Usage

No installation is required. To have the PPI install your package, you need to set the composer.json property type to one of the following types:

Applications

Applications are DSP applications that consist of only client-side code. These are installed to your DSP's /storage/applications directory.

Plugins/Libraries

Plugins, or libraries are DSP extensions that consist of code or code and UI components. These are installed to your DSP's /storage/plugins directory.

Specifying Your Package Details

In addition to specifying a package type, the PPI utilizes the "extra" section of your project's configuration file (composer.json). In this section you can customize the installation of your DSP package:

{
    "extra": {
        "data": {
            "application":  {
                "api-name":                "pbox",
                "name":                    "Portal Sandbox",
                "description":             "A sample application that demonstrates the DSP's portal service.",
                "url":                     "/index.php",
                "is-url-external":         false,
                "import-url":              "https://github.com/dreamfactorysoftware/portal-sandbox/archive/master.zip",
                "is-active":               true,
                "requires-fullscreen":     false,
                "allow-fullscreen-toggle": true,
                "toggle-location":         "top"
        }
        "config":       "config/app.config.php",
        "links":        [
            {
                "target": "src/",
                "link":   "pbox"
            }
        ]
    }
    }
}

In the above example we are giving our package a pretty name, an api_name (which defines the route) and a few other details.

Application Properties

Name Type Description
api-name string The API name for the app
name string The display name of the app
description string The description of the app
is-active boolean If false, app is ignored by DSP
url string The absolute/relative url to this app
is-url-external boolean Indicates the source of the url
import-url string The url from which this app can be downloaded
storage-service-id int The id of the storage service
storage-container string The container on the storage service which stores this app
requires-fullscreen boolean If true, full screen mode is default
allow-fullscreen-toggle boolean If true, full screen mode toggle is available
toggle-location string The location of the toggle. Defaults to "top"

Packaging Without Composer

Not possible at this time.

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send us a pull request.

If you would like to help take a look at the list of issues.

Community

License

Composer is licensed under the Apache 2.0 License - see the LICENSE.txt file for details


All versions of package-installer with dependencies

PHP Build Version
Package Version
Requires composer-plugin-api Version ^1.0
kisma/kisma Version *
dreamfactory/php-utils Version *
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 dreamfactory/package-installer contains the following files

Loading the files please wait ....