PHPackages                             tomzx/anki-server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tomzx/anki-server

ActiveProject[Utility &amp; Helpers](/categories/utility)

tomzx/anki-server
=================

An Anki (http://ankisrs.net/) AnkiWeb replacement in PHP

2165[4 issues](https://github.com/tomzx/anki-server/issues)PHP

Since Jun 14Pushed 10y ago7 watchersCompare

[ Source](https://github.com/tomzx/anki-server)[ Packagist](https://packagist.org/packages/tomzx/anki-server)[ RSS](/packages/tomzx-anki-server/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Anki Server
===========

[](#anki-server)

[![License](https://camo.githubusercontent.com/6cdb49075fcacfe7699b844666e6be522dbb832332f3578981025e8cb37bdb02/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f616e6b692d7365727665722f6c6963656e73652e737667)](https://packagist.org/packages/tomzx/anki-server)[![Latest Stable Version](https://camo.githubusercontent.com/df538debcea620ed1b09b64dd0c671a85238e4dbbbc6a7be2faf89a9be2592f4/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f616e6b692d7365727665722f762f737461626c652e737667)](https://packagist.org/packages/tomzx/anki-server)[![Latest Unstable Version](https://camo.githubusercontent.com/7f1dde1c2a0ada4f7b0432b67b0ebe0e7b68178e62f520b856ef5d947a42da0b/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f616e6b692d7365727665722f762f756e737461626c652e737667)](https://packagist.org/packages/tomzx/anki-server)[![Build Status](https://camo.githubusercontent.com/4134d63155ef21618a6ff286aab63595c1b0c556b7f0d82aca738946cc8cb8d5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f6d7a782f616e6b692d7365727665722e737667)](https://travis-ci.org/tomzx/anki-server)[![Code Quality](https://camo.githubusercontent.com/abe5891771b02dfc122b38355d5b9f5222f98606ef7473399115ab3505629259/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f6d7a782f616e6b692d7365727665722e737667)](https://scrutinizer-ci.com/g/tomzx/anki-server/code-structure)[![Code Coverage](https://camo.githubusercontent.com/e3856837504cf093700509d5c858f8e63f0ca3f0b8ab284ea3210265b37ce0e1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746f6d7a782f616e6b692d7365727665722e737667)](https://scrutinizer-ci.com/g/tomzx/anki-server)[![Total Downloads](https://camo.githubusercontent.com/be7ca6f5461f9b6c45180b65a98192cee9085299541c498991d3d001aabf821d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f6d7a782f616e6b692d7365727665722e737667)](https://packagist.org/packages/tomzx/anki-server)

Anki Server is an alternative to [AnkiWeb](https://ankiweb.net/).

Requirements
------------

[](#requirements)

- PHP 5.4 &lt;=

Installation
------------

[](#installation)

1. Download the source code (either by downloading a release or cloning the git repository)
2. Install the dependencies via composer `php composer.phar install`

Use with Anki (desktop)
-----------------------

[](#use-with-anki-desktop)

1. Go to Tools - Add-ons - Open Add-ons folder
2. Create a new file called my-server.py with the following content (make sure to edit `your-server-address`.

```
import anki.sync
anki.sync.SYNC_BASE = 'http://your-server-address/'
```

Use with AnkiDroid
------------------

[](#use-with-ankidroid)

As of now (2014-12-31) AnkiDroid does not support specifying a custom AnkiServer. I've [submitted a PR](https://github.com/ankidroid/Anki-Android/pull/680) that should make it possible to do so.

1. Go to Settings - Advanced - Anki Server URL
2. Change the URL to point to `http://your-server-address/`

Note
----

[](#note)

This code was developed/tested with `Anki Desktop 2.0.31` and a custom build of `AnkiDroid`. Anki 1 is not supported and any previous versions of `Anki Desktop` may not work. Try at your own risk.

License
-------

[](#license)

The code is licensed under the [MIT license](http://choosealicense.com/licenses/mit/). See [LICENSE](LICENSE).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/218f6db237e6937c05550d4d6df648f50cd9b26b098fc8c1be3930fe7d5c71e9?d=identicon)[tomzx](/maintainers/tomzx)

---

Top Contributors

[![tomzx](https://avatars.githubusercontent.com/u/188960?v=4)](https://github.com/tomzx "tomzx (4 commits)")

### Embed Badge

![Health badge](/badges/tomzx-anki-server/health.svg)

```
[![Health](https://phpackages.com/badges/tomzx-anki-server/health.svg)](https://phpackages.com/packages/tomzx-anki-server)
```

###  Alternatives

[shjia/taobao_spider

淘宝、天猫商品爬虫

161.2k](/packages/shjia-taobao-spider)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
