Download the PHP package schenke-io/packaging-tools without Composer

On this page you can find all versions of the php package schenke-io/packaging-tools. 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 packaging-tools

Packaging Tools

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This package is a collection of tools to simplify the package and project development.

The main elements are:

Installation

Install the package with composer:

Add the setup command into composer.json under scripts.

Start the setup:

and check all available setup parameters:

Concept

This package follows the following concept:

Configuration

Each package is controlled by a config file .packaging-tools.neon . NEON files can be written as YAML or JSON but additionally with comments.

The format can be easily schema verified and is used here as simple key-value-pairs.

key description
analyse true or false to control the use of PHPStan
coverage true or false to control the use of test coverage
markdown defaults to false, includes command to start the make file
pint true or false to control the use of Laravel Pint
test defaults to 'pest', can be false or 'phpunit
dev opens a console select for all commands in composer and in artisan commands if found
check group of scripts: pint, test, markdown
release group of scripts: pint, analyse, coverage, markdown

Classes

MarkdownAssembler

Assembler of a markdown file

How to assemble a markdown

To assemble a markdown you need these things:

This script can be a script run by php itself or a class file with a static method.

Public methods of MarkdownAssembler

method summary
addClassMarkdown Extracts documentation of a class in Markdown format
addClasses Uses a glob function to find many classes and extract their documentations
addMarkdown Adds a markdown file.
addTableOfContents add a table of content for the full file
addText adds markdown text
addTableFromFile read a csv file and converts it into a table
addTableFromCsvString takes a csv string and converts it into a table
addTableFromArray takes an array and converts it into a table
writeMarkdown writes all added elements into one file

Details of addTableFromFile()

The following extensions for the file are implemented:

Extension Delimiter Details
*.csv , comma seperated
*.psv | pipe seperated
*.tsv \t tabulator seperated

Details of addTableFromArray()

The array is expected to have this format:

and would be rendered like this:

header 1 header 2 header 3
cell 1:1 cell 1:2 cell 1:3
cell 2:1 cell 2:2 cell 2:3
cell 3:1 cell 3:2 cell 3:3

MakeBadge

makes badges in various formats and from many sources

Public methods of MakeBadge

method summary
define free definition of a badge with subject, status and color
makeCoverageBadge makes a coverage badge from clover.xml
makePhpStanBadge makes a PHPStan badge from its config file
store stores the badge in a given format in a svg file

ClassData


All versions of packaging-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
ext-curl Version *
ext-json Version *
ext-simplexml Version *
badges/poser Version ^3.0
illuminate/filesystem Version ^10.0|^11.0|^12.0
nette/neon Version ^3.0
nette/schema Version ^1.3
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 schenke-io/packaging-tools contains the following files

Loading the files please wait ....