Download the PHP package haxibiao/media without Composer

On this page you can find all versions of the php package haxibiao/media. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package media

haxibiao/media

haxibiao/media 是哈希表内部媒体资源库

导语

1. 新增长视频能力

2. 内容系统增加媒体特性

3. 用户系统增加媒体特性

安装步骤

  1. composer.json改动如下:在repositories中添加 vcs 类型远程仓库指向http://code.haxibiao.cn/packages/haxibiao-media
  2. 执行composer require haxibiao/media
  3. 执行php artisan media:install && composer dump
  4. 给 app/User.php 添加 use UseMedia
  5. 执行php artisan migrate
  6. 完成

artisan 命令说明

更新前端

  1. 直接使用的 php artisan media:publish
  2. 开发模式的 编译前端, cd {vendor_media} && npm run prod

更新日志

1.2

Released on 2020-09-11

1.1

Released on 2020-09-01

如何完成更新?

远程仓库的 composer package 发生更新时如何进行更新操作呢?

  1. 执行composer update haxibiao/media
  2. 执行php artisan media:install

GQL 接口说明

graphql 部分代码还没统一... install 之后需要自行维护

Api 接口说明


All versions of media with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
laravel/framework Version ^8.0
league/flysystem-aws-s3-v3 Version *
haxibiao/helpers Version *
hashids/hashids Version ^4.1
meilisearch/meilisearch-php Version ^0.18.3
tunezilla/dynamic-action-fields Version ^0.0.3
http-interop/http-factory-guzzle Version ^1.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package haxibiao/media contains the following files

Loading the files please wait ....