PHPackages                             wangningkai/olaindex-cmd - 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. [Framework](/categories/framework)
4. /
5. wangningkai/olaindex-cmd

ActiveProject[Framework](/categories/framework)

wangningkai/olaindex-cmd
========================

✨ Another OneDrive Command Line Client.

v1.0(7y ago)17312[2 issues](https://github.com/WangNingkai/OLAINDEX-CMD/issues)MITPHPPHP ^7.1.3

Since Nov 23Pushed 5y ago2 watchersCompare

[ Source](https://github.com/WangNingkai/OLAINDEX-CMD)[ Packagist](https://packagist.org/packages/wangningkai/olaindex-cmd)[ RSS](/packages/wangningkai-olaindex-cmd/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

[![OLAINDEX-LARGE.png](https://camo.githubusercontent.com/0fc929a853b114da087c7cda990f05c098a30603537661f86a26304c332e2619/68747470733a2f2f692e6c6f6c692e6e65742f323031382f31312f32322f356266366231326139333637622e706e67)](https://camo.githubusercontent.com/0fc929a853b114da087c7cda990f05c098a30603537661f86a26304c332e2619/68747470733a2f2f692e6c6f6c692e6e65742f323031382f31312f32322f356266366231326139333637622e706e67)

🍀 Another OneDrive Command Line Client.

Based on [Laravel-Zero](https://laravel-zero.com) , with lots of modifications.

This is very much a copycat of [onedrivecmd](https://github.com/cnbeining/onedrivecmd) , but in different language.

OLAINDEX-CMD is a console version of OLAINDEX.

Server Requirements
-------------------

[](#server-requirements)

- PHP &gt;= 7.1.3
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- BCMath PHP Extension
- Fileinfo PHP Extension

Proeject
--------

[](#proeject)

- Project Address :

Features
--------

[](#features)

- Ability to access files and folders using a path URI or file ID
- Individual file put and get operations
- List operation (shows file size and other file information)
- Download and upload with native progress bar.
- Get share link and direct download link!
- Remote download links to your drive(NEW! Not even available via Web console) (Only available at personal due to API limit).
- Supports Office 365 and China 21Vianet.
- Based on PHP,Easy installation.
- Local Configuration file (/storage/app/config.json).

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

[](#installation)

### Manual installation

[](#manual-installation)

```
mkdir -p olaindex && cd olaindex
git clone https://github.com/WangNingkai/OLAINDEX-CMD.git tmp  && mv tmp/.git . && rm -rf tmp && git reset --hard
composer install
chmod -R 755 storage
chown -R www:www *
cp .env.example .env
cp storage/app/config.sample.json storage/app/config.json
chmod 777 storage/app/config.json
chmod +x olaindex
./olaindex install
```

### Automatic installation

[](#automatic-installation)

```
wget -N --no-check-certificate https://raw.githubusercontent.com/WangNingkai/OLAINDEX-CMD/master/install.sh && chmod +x install.sh && bash install.sh
```

Usage
-----

[](#usage)

```
OLAINDEX-CMD

  USAGE: olaindex  [options] [arguments]

  account       Account Info
  cp            Copy Item
  direct        Create Direct Share Link
  download      Download Item
  find          Find Item
  install       Install App
  login         Account Login
  logout        Account Logout
  ls            List Items
  mkdir         Create A New Folder
  mv            Move Item
  quota         OneDrive Info
  reset         Reset App
  rm            Delete Item
  share         Create Download Link
  test          Command Test
  upload        Upload File
  whereis       Find The Item\'s Remote Path

  cache:clear   Flush the application cache
  cache:forget  Remove an item from the cache

  config:cache  Create a cache file for faster configuration loading
  config:clear  Remove the configuration cache file

  refresh:token Refresh Token
```

Author
------

[](#author)

Blog :

Email :

Support the development
-----------------------

[](#support-the-development)

Do you like this project? Support it by donating

Wechat/AliPay: [Donate](https://pay.ningkai.wang)

License
-------

[](#license)

OLAINDEX-CMD is an open-source software licensed under the MIT license.

中文文档
----

[](#中文文档)

[Readme](https://github.com/WangNingkai/OLAINDEX-CMD/blob/master/README_CN.md)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2770d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbf571393dd20be4f7cfd1b4df6e386200ee05546a99a241007831095abd98ef?d=identicon)[WangNingkai](/maintainers/WangNingkai)

---

Top Contributors

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

---

Tags

cliconsoleframeworklaravellaravel-zeroOneDrive

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wangningkai-olaindex-cmd/health.svg)

```
[![Health](https://phpackages.com/badges/wangningkai-olaindex-cmd/health.svg)](https://phpackages.com/packages/wangningkai-olaindex-cmd)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[laravel-zero/framework

The Laravel Zero Framework.

3491.5M419](/packages/laravel-zero-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

10095.6k](/packages/mehrancodes-laravel-harbor)

PHPackages © 2026

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