Download the PHP package parvion/accessibility without Composer

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

Parvion Accessibility

PHP Version Laravel

An enterprise-grade, zero-dependency, highly configurable accessibility toolbar for PHP applications.

Provide your users with critical cognitive, visual, and motor accessibility tools instantly. Designed to integrate seamlessly into any PHP, Laravel, Vue, Livewire, or static HTML application with zero build-time overhead.


⚡ Features at a Glance


🚀 Installation

Laravel (Recommended)

Publish the configuration file:

Standard PHP / Static HTML

Download the assets from the assets/ directory and host them on your server. See the Static HTML Usage section below.


🛠️ Usage

Blade Directive

Place @accessibility anywhere in your layout file (e.g. resources/views/layouts/app.blade.php):

The directive automatically injects the CSS, widget HTML, and deferred JavaScript via framework routes.

Static HTML

Link the stylesheet in your <head> and load the script with defer:

Place the widget <div> anywhere inside <body>:


⚙️ Configuration

All options live in config/accessibility.php.

Colors

Override the widget's CSS variables to match your brand:

Theme

Position

Store Settings

Panel Layout

Theme Switcher


⌨️ Keyboard Shortcuts

Every feature supports a configurable keyboard shortcut. The engine reads all shortcuts from config — nothing is hardcoded in the JavaScript.

Shortcut Config Shape

Single-key features (toggle on/off):

Directional features (font size uses up/down keys):

To disable a shortcut, set 'enabled' => false:

Global Widget Shortcuts

Default Shortcut Reference

Feature Shortcut Feature Shortcut
Toggle Panel Alt+A Reset All Alt+0
Font Size ↑ Alt+] Font Size ↓ Alt+[
High Contrast Alt+C Grayscale Alt+G
Invert Colors Alt+I Protanopia Alt+1
Deuteranopia Alt+2 Tritanopia Alt+3
Dyslexia Font Alt+F Text Spacing Alt+S
Line Height Alt+L Underline Links Alt+U
Focus Mode Alt+M Reading Mask Alt+B
Highlight Links Alt+H Big Cursor Alt+K
Hide Images Alt+O Calm Mode Alt+Q
Enhanced Focus Alt+E Read Page Alt+R
Read Selected Alt+X Hover Speech Alt+W
Stop Reading Alt+Z Voice Selector Alt+V

Note: Shortcuts are skipped when focus is inside an <input>, <textarea>, or <select> element.


🔊 Screen Reader & Voices


🎨 Custom CSS & Overrides

The widget uses strictly scoped CSS. All classes are prefixed with acc-. Override anything in your own stylesheet:

Feature Body Classes

When a feature is active, a class is applied to <body> (or <html> for global filters). Use these to write custom overrides:

Feature Class Applied
High Contrast body.acc-high-contrast
Grayscale html.acc-grayscale
Invert Colors html.acc-invert
Protanopia html.acc-cb-protanopia
Deuteranopia html.acc-cb-deuteranopia
Tritanopia html.acc-cb-tritanopia
Dyslexia Font body.acc-dyslexia-font
Text Spacing body.acc-text-spacing
Line Height body.acc-line-height
Underline Links body.acc-underline-links
Reading Mask body.acc-reading-mask
Focus Mode body.acc-focus-mode
Highlight Links body.acc-highlight-links
Highlight Headings body.acc-highlight-headings
Big Cursor body.acc-big-cursor
Hide Images body.acc-hide-images
Stop Animations body.acc-stop-animations
Enhanced Focus body.acc-enhanced-focus

📋 Full Feature List

Feature Category Default Shortcut Description
Font Size Text Alt+] / Alt+[ Increase or decrease global text size dynamically.
High Contrast Color Alt+C Dark background with bright yellow text for maximum readability.
Protanopia Color Alt+1 SVG matrix filter for red-blind color vision.
Deuteranopia Color Alt+2 SVG matrix filter for green-blind color vision.
Tritanopia Color Alt+3 SVG matrix filter for blue-blind color vision.
Grayscale Color Alt+G Removes all colors, rendering the site in black and white.
Invert Colors Color Alt+I Mathematically inverts all colors for light sensitivity.
Dyslexia Font Text Alt+F Overrides fonts to a heavier, dyslexia-friendly typeface.
Text Spacing Text Alt+S Increases letter and word tracking for easier reading.
Line Height Text Alt+L Increases vertical spacing between lines.
Underline Links Text Alt+U Forces underlines on all hyperlinks.
Skip to Content Focus Injects a skip link for keyboard navigation.
Focus Mode Focus Alt+M Highlights the block-level element under the cursor.
Reading Mask Focus Alt+B A horizontal window that follows the cursor, dimming the rest of the page.
Highlight Links Focus Alt+H Places a high-contrast highlight behind all hyperlinks.
Highlight Headings Focus Places a high-contrast highlight behind all headings.
Big Cursor Focus Alt+K Replaces the default cursor with a large, high-contrast pointer.
Hide Images Focus Alt+O Hides all images and videos to reduce visual clutter.
Calm Mode Focus Alt+Q Stops all CSS animations, transitions, and smooth scrolling.
Enhanced Focus Focus Alt+E Renders a large, high-contrast outline on keyboard-focused elements.
Read Page Speech Alt+R Reads the entire page text content aloud.
Read Selected Speech Alt+X Reads any text the user highlights with their mouse.
Hover Speech Speech Alt+W Reads any element the user hovers over.
Stop Reading Speech Alt+Z Instantly halts any active text-to-speech.
Voice Selector Speech Alt+V Shows a dropdown of available system voices.

📄 License

MIT License — see LICENSE for details.


All versions of accessibility with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^10.0|^11.0|^12.0|^13.0
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 parvion/accessibility contains the following files

Loading the files please wait ...