Skip to content

Installation

The recommended way to install the library is via Composer.

Requirements

  • PHP: 8.1 or higher.
  • Composer: For dependency management.

Installation

Run the following command in your terminal:

composer require fyennyi/async-cache-php
  1. Clone the repository:

    git clone https://github.com/Fyennyi/async-cache-php.git
    cd async-cache-php
    

  2. Install dependencies:

    composer install
    

  3. Include the autoloader in your project:

    require_once 'async-cache-php/vendor/autoload.php';
    

Post-Installation

Once installed, you can start using the library by including the Composer autoloader in your script:

<?php

require 'vendor/autoload.php';

use Fyennyi\AsyncCache\AsyncCacheManager;