Download the PHP package oblik/kirby-outsource without Composer

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

Walker

Plugin that allows you to walk, export, and import all site data according to specified blueprints. It is created with the intention of being used as a dependency for other plugins. Features:

Installation

With Composer from oblik/kirby-walker on Packagist:

Usage

Exporting

You can use the Exporter class to export content:

Importing

You can use the Importer class to merge input content with the current model content.

After merging the data, you can use the resulting array to apply the changes to the model:

Options

There are a few options that allow you to transform the raw content to make it more suitable for other systems. Then, the plugin can turn that reformatted content back to its original format, while keeping any changes made to it.

Parse KirbyTags

Turns KirbyTags to XML:

By default, KirbyTag attributes are encoded as XML attributes. If the consuming system needs to operate on those values (e.g. translate them), you might need to put their contents out of the tags. Instead of this:

…you might need this:

To do this, just use the externalAttributes setting:

Parse Markdown

If the consuming system doesn't understand Markdown, you can turn it to HTML:

Note: This applies only to textarea field types.

Parse templates

Turns content enclosed in curly braces to XML:

Extending

You can easily extend the base classes to add custom behaviors. For example, you could return the character lengths of each field like so:

You could also use values from each field's blueprint:

The cool part is that parsing YAML for structure fields and JSON for layout and blocks fields is already handled. Your custom logic will work in all nested fields automatically.

Separate logic for field types

You can have different logic for different field types by adding a walkField{{ field type }} method. For example, you can change the behavior for just the gap fields by adding walkFieldGap:


All versions of kirby-outsource with dependencies

PHP Build Version
Package Version
Requires getkirby/cms Version ^3.4
getkirby/composer-installer Version ^1.1
league/html-to-markdown Version ^4.8
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 oblik/kirby-outsource contains the following files

Loading the files please wait ....