Skip to content
使用model-php开发的图床程序
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
App
vendor
.htaccess
README.md
composer.json
index.php
test.php

README.md

Your Tasty Storager

一个简单的PHP文件床工具。使用本人开发的php框架model-php进行开发。 仅需PHP即可启动。
① sudo apt-get install -y php7.0 (如已安装则跳过此步骤,输入php -v确定是否安装。)
② cd ~ && git clone https://github.com/sapphirell/Your-Tasty-Storager.git
③ php -S 127.0.0.1:80 完成启动。

配置

打开config.ini 文件进行详细配置。

自定义接口

/App/Route.php 中配置相对应的路由

自带上传接口

file的name参数为image,地址为/upload_file,method为GET。 测试/index

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.