polyfill-php80

(โ˜… 1,725)

Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions

  • bootstrap.php
  • composer.json
  • LICENSE
  • Php80.php
  • PhpToken.php
  • README.md

๐Ÿš€ Installation Guide

1. Get the code
git clone https://github.com/symfony/polyfill-php80

Downloads the entire project code from GitHub to your computer.

cd polyfill-php80

Moves into the project folder you just downloaded.

2. PHP (Composer)

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • PHP A PHP runtime is required.
  • Composer The package manager used to install PHP libraries.
composer install

Installs the PHP libraries listed in composer.json.

โœ… Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
// repository documentation