Download the PHP package graviton/import-export without Composer

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

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads License

Simple graviton client to help importing and exporting data.

Installation

Usage

Get help:

This will show you all available commands.

Load data to a Graviton instance through REST (using the HTTP interface)

Load from dir:

Load data into the core database of a Graviton instance

Besides loading data via the HTTP interface, there are core commands available that allow you to load data into the database backend (MongoDB) of a Graviton instance.

You can import a set of existing files via the graviton:core:import command:

The core commands file format is slightly different from the normal import format as we need to preserve certain class types. Thus, it's best to insert data into MongoDB and export that into the necessary format. This can be done using the export command:

This will dump all the data in the default database. The graviton:core:export has more options, refer to the --help print for more details.

Additionally, we have a purge command that allows you to easily purge (meaning delete!) all collections inside a MongoDB database. You need to pass 'yes' as an only parameter to show that you're sure about that action.

File format

The files to be loaded must contain yaml with additional yaml frontmatt (yo dawg...).

The frontmatter part defines what target path a file is to be loaded to.

Importing Files to /file/

Example for a File-Upload, i.e. swisscom.png with additional link to be added to the file dataset:

Validate Files

Files are not native YML or JSON file so using this command you can easily check if they are ok.

You can also check for any subfolder directly. Output (single error sample):

Authentication and Headers on "put" import

Some endpoints may require basic auth or some cookie or header to be sent. -a and -c can be used in combination.

Building Docker Runtime

Docker Runtime

Building phar package

Run phar build:

Deploying phar host

Or use deploy-scripts to deploy in automated blue/green fashion.

TODO


All versions of import-export with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4.0
ext-iconv Version *
symfony/console Version ~4.4.0
symfony/finder Version ~4.4.0
symfony/filesystem Version ~4.4.0
symfony/yaml Version ~4.4.0
symfony/var-dumper Version ~4.4.0
guzzlehttp/guzzle Version ^6.0
webuni/front-matter Version ^1.0
zumba/json-serializer Version ^2.0
flow/jsonpath Version ^0.5.0
alcaeus/mongo-php-adapter Version ^1.1
monolog/monolog Version ~1
sentry/sentry Version ^1
symfony/monolog-bridge Version ~4.4.0
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 graviton/import-export contains the following files

Loading the files please wait ....