Download the PHP package salsadigitalauorg/merlin-framework without Composer
On this page you can find all versions of the php package salsadigitalauorg/merlin-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download salsadigitalauorg/merlin-framework
More information about salsadigitalauorg/merlin-framework
Files in salsadigitalauorg/merlin-framework
Package merlin-framework
Short Description Open source migration framework (markup to structured data)
License
Homepage https://salsadigitalauorg.github.io/merlin-framework/
Informations about the package merlin-framework
Merlin
Welcome to Merlin a simple tool to aid content migration from an arbitrary source to a structured format ready for consumption by another system.
Detailed documentation can be found https://salsadigitalauorg.github.io/merlin-framework/.
Requirements
- PHP > 7.2
- Composer (optional)
Installing
The Merlin framework is expected to be used as a standalone executable, this can be localised to your project or installed globally and added to your path. To download, visit the release page and download the latest bundled .phar executable.
Composer dependency
Merlin can be installed as a composer dependency as well, this changes how the application is excuted for your project.
Add the repository
Add the dependency
Usage
There are two primary commands: crawl
and generate
.
crawl
will run crawl a domain and find URLs on a domain for migration. Read the crawler docs and check the example for more information.generate
will generate structured output based on mapping configuration. Read the migration docs and check the example for more information.
To run the framework you need to specify a command (e.g crawl or generate), a configuration yaml file, and a path to the output, e.g:
Configuration files
The configuration file should be treated as a schema file, this contains the paths, domains and mapping information to transform a HTML representation of content into structured JSON.
Example configuration files can be found in the examples.
Testing
The automated testing suite tests standard configuration values against representative HTML structure to make sure that the tool can correctly build the JSON structure.
Running the tests
Support
We encourage you to file issues with the github issue queue.
License
All versions of merlin-framework with dependencies
consolidation/comments Version ^1.0
dompdf/dompdf Version ^2.0.0
league/uri Version ^6.0
masterminds/html5 Version ^2.5
mustangostang/spyc Version ^0.6.2
myclabs/deep-copy Version ^1.9
php-curl-class/php-curl-class Version ^8.6
ramsey/uuid Version ^3.8
samchristy/piechart Version ^2.0
spatie/browsershot Version ^3.32
spatie/crawler Version ^4.4
symfony/console Version ~4.4.0
symfony/css-selector Version ~4.4.0
symfony/dom-crawler Version ~4.4.0
symfony/yaml Version ~4.4.0
twig/twig Version ^2.0