Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FSRS-RS-PHP

A PHP binding for the FSRS (Free Spaced Repetition Scheduler) Rust implementation.

Description

This project provides PHP bindings for the Rust implementation of FSRS, allowing PHP applications to utilize the FSRS algorithm for spaced repetition learning.

Requirements

  • PHP 8.1 or higher
  • Rust toolchain
  • Composer

Installation

on linux

extension_dir=$(php -r "echo ini_get('extension_dir');")
sudo mkdir -p $extension_dir
sudo cp target/debug/libfsrs_rs_php.so $extension_dir/libfsrs_rs_php.so
echo "extension=libfsrs_rs_php.so" >> $(php -r "echo php_ini_loaded_file();")

Usage:

check ./examples

About

A PHP binding for the FSRS (Free Spaced Repetition Scheduler) Rust implementation.

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages