Download the PHP package evanskim/image-exchanger without Composer

On this page you can find all versions of the php package evanskim/image-exchanger. 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 image-exchanger

image-exchanger

Extract Images from HTML code in database data field and Exchange image url from old to new

Benefit

이 패키지는 추출한 이미지를 엑셀파일로 덤프합니다. 덤프한 엑셀 파일을 조작하여 커스터마이즈할 수 있습니다. 중간에 작업이 실패해도 엑셀파일을 수정하여 재수행할 수 있습니다.

How to install

composer require evanskim/image-exchanger

How to use

라라벨 5.4 이하 버전에서는 서비스프로바이더를 등록하세요. 5.5 이상은 자동 등록됩니다.

# config/app.php
'providers' => [
    ...
    /*
    * Package Service Providers...
    */
    EvansKim\ImageExchanger\ImageExchangerServiceProvider::class,
    ...
]

설정파일 퍼블리싱 하고 설정을 변경하세요.

php artisan vendor:publish --tag=public

# config/image-exchanger.php
return [
    'table' => 'g4_write_notice', #사용할 테이블명
    'primary_id' => 'wr_id', #테이블의 프라이머리 필드명
    'field' => 'wr_content', # HTML이 담긴 필드명
    'storage' => 'public' # 파일을 저장할 스토리지명
];

실행

php artisan image-exchanger:run

How to process

  1. 데이터를 가져옵니다.
  2. 이미지를 추출하여 엑셀파일(extracts.xls)로 덤프 합니다.
  3. extracts.xls 을 기준으로 이미지 파일을 가져와 스토리지에 저장합니다.
  4. 성공한 내역(success.xls)과 실패한 내역(fail.xls)을 엑셀파일로 각각 덤프합니다.
  5. success.xls 파일로 데이터의 이미지 url을 변경하고 저장합니다.

All versions of image-exchanger with dependencies

PHP Build Version
Package Version
Requires ext-dom Version *
php Version >=5.6
laravel/framework Version >=5.4
maatwebsite/excel Version ^2.1
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 evanskim/image-exchanger contains the following files

Loading the files please wait ....