Download the PHP package quillstack/standards without Composer

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

Quillstack Standards

Tests Latest Version Downloads PHP Version StyleCI CodeFactor Quality Gate Coverage Maintainability Reliability Security License

Checks a package against the shape every Quillstack package takes: the README, the badges, the manifest, the workflow, the quality gate. The rules are language-neutral data; this is the reader for them.

Why this exists

Every package in this framework looks the same from the outside, and until now that was held up by somebody remembering. It did not hold.

Across one working week the same few things went wrong by hand, repeatedly: a SonarCloud project created with master as its main branch, so every analysis landed on a short branch beside the real one and the badge reported a branch nobody had analysed — missed five times, each time noticed only because a badge looked wrong. A new code period never set, so the quality gate was not computed at all. Manifests pointing at pages that had moved, three of them at a different site entirely. A README section one heading too deep. A workflow whose actions were still pinned to tags.

None of that is hard. All of it is invisible until somebody looks, and looking is exactly what a person stops doing on the thirtieth package.

This is also why the rules are a JSON file with no PHP in it. Quillstack is going to exist in more than one language, and the shape a package takes — its README, its badges, its repository, its release — has nothing to do with the language it is written in. A rule kept in two places is a rule that disagrees with itself within a week; this project has spent enough time proving that. Each language gets a reader for standard/rules.json. The file is the standard.

Requirements

Installation

Usage

It exits non-zero where anything failed, so CI can use it.

Asking the services too

Everything above is answered from the files on disk, so it is fast and works without a network. The questions only a service can answer are behind a flag:

A badge that 404s is worse than no badge — it reads as a broken project rather than an unconfigured service — so each one is fetched rather than eyeballed.

Checking somewhere else

What it checks

Check What it is looking for
readme sections The sections the standard sets, present and in order. A section one heading too deep is reported as that, not as missing.
badges All twelve, and with --online that each one answers.
manifest The homepage is this package's own page, the scripts are there, the branch alias is set, and so are the files every package has.
pinned actions Every action pinned to a commit, with the version in a comment beside it.
rendering Markdown which reads correctly and renders wrongly.
quality gate The Sonar key matches the package, and with --online that the main branch is right and the gate is computed at all.
published With --online, that the newest tag here is one Packagist actually has.

The published one

Tagging is not publishing. Packagist hears about a tag through a webhook, and a webhook can fail — one did on this project and answered 500, so a release looked done: green CI, tag on GitHub, nothing installable. It went unnoticed long enough for the next release to be missing as well.

Nothing on your machine can tell you that, which is the whole reason it is a check.

The rendering one

A README here is wrapped at a hundred characters, so a sentence breaks wherever it reaches the margin. Where an inline element lands at the end of a line and a link starts the next, the space between them is lost when it renders:

comes out as withquillstack/dotenv-expand. A plain word before a link is fine, and bold before plain text is fine — it is only the two together, across the break. Which is the kind of thing nobody spots while writing and everybody spots while reading.

The standard itself

standard/rules.json is the machine-readable form and standard/SKILL.md is the long one, for a person or an agent doing the work rather than checking it. Both ship with this package, so the rules and the checker are versioned together and cannot drift apart.

Tests

The rest of Quillstack

This is one component of Quillstack, a PHP framework which is as simple to use as it is strict about what it does.

License

MIT — see LICENSE.


All versions of standards with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
php Version ^8.1
quillstack/cli Version ^0.6
quillstack/di Version ^0.6
quillstack/output Version ^0.6
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 quillstack/standards contains the following files

Loading the files please wait ...