Download the PHP package forikal-uk/xml-authoring-library without Composer
On this page you can find all versions of the php package forikal-uk/xml-authoring-library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download forikal-uk/xml-authoring-library
More information about forikal-uk/xml-authoring-library
Files in forikal-uk/xml-authoring-library
Package xml-authoring-library
Short Description Holding code that is reused by more than one component of the xmlsquad xml authoring suite of projects.
License Apache-2.0
Informations about the package xml-authoring-library
xml-authoring-library
This is a place to put code that is reused by many commands which are part of the xml-authoring-tools suite.
Created as a place to put code which is re-used by two or more projects in the xmlsquad xml-authoring suite.
See the related Issue that triggered the creation of this project.
Common Documentation
A library of help pages. I.e Information that is relevant to more than one project in this suite of projects.
This project can be added to your project via composer
If you would like to develop both the library and, say a command that uses it in tandem. I beleive that composer allows you to grab the library as source
See : composer require
Quote:
The option: --prefer-source: Install packages from source when available.
and see Composer Repositories > Packages
Quote:
Source: The source is used for development. This will usually originate from a source code repository, such as git. You can fetch this when you want to modify the downloaded package.
Code Reference
Google API helper
An abstraction over Google API SDK. It helps to mock Google API in tests and authenticate users in console commands.
You need to install Google SDK to your project to use this helper:
Usage example:
You can learn how to get the Google API client secret file from this instruction.
If you need to customize the console messages and behaviour, use the authenticate
method.
You can find more information in the source code.
Console logger
A PSR-3 compatible logger which writes messages to a Symfony console output. In contrast to the built-in Synfony Console logger, this doesn't print log level labels and is customizable (we can edit the source code).
Usage example:
The constructor arguments are the same as in the Synfony Console logger.
Contribution
- Clone the repository.
- Install the dependencies by running
composer install
in a console. - Make a change. Make sure the code follows the PSR-2 standard.
- Test the code by running
composer test
. If the test fails, fix the code. - Commit and push the changes.
All versions of xml-authoring-library with dependencies
psr/log Version ^1.0
symfony/console Version ^3.4
symfony/yaml Version ^3.4
symfony/filesystem Version ^3.4