Download the PHP package nueip/io without Composer

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

匯出匯入模組

Forked from https://github.com/marshung24/io Original README.md file was renamed to README-forked.md

說明

為簡化匯出匯入使用法式,編寫此模組

安裝

用法

有資料的結構定義物件

需先定義好結構物件,匯出時,直接指定定義好的結構物件即可

結構物件參考: src/config/ComplexExampleConfig.php src/config/EmptyConfig.php src/config/SimpleExampleConfig.php

匯出

需注意設置"必要欄位設定",因各版本excel對空列定義不同,可能編輯過列,就會產生沒有結尾的空列,導致在讀取excel時有讀不完狀況。

匯入

空的結構定義物件

如果不需要格式、樣式等設定,只需將資料陣列純輸出,可使用空結構定義

匯出

匯入

手動處理 - 簡易模式

如果資料欄位為變動長度時,將無法定義完善的結構定義物件,此時可用手動模式

當然,此狀況可以定義好可預期的欄位結構,然後出現額外的欄位時,使用$config的getTitle(),getContent()取出資料並改寫,再利用setTitle(),setContent()回寫,並用setList()補充對映表資料即可

匯出

匯入

手動處理 - 複雜模式

如果資料欄位為變動長度時,將無法定義完善的結構定義物件,此時可用手動模式

當然,此狀況可以定義好可預期的欄位結構,然後出現額外的欄位時,使用$config的getTitle(),getContent()取出資料並改寫,再利用setTitle(),setContent()回寫,並用setList()補充對映表資料即可

匯出

匯入

樣式

可用清單

顏色

代碼 色碼 顏色
black FF000000 黑色
blue FF0000FF 藍色
darkblue FF000080 深藍
darkgreen FF008000 深綠
darkred FF800000 深紅
darkyellow FF808000 深黃
green FF00FF00
red FFFF0000
white FFFFFFFF
yellow FFFFFF00

水平對齊

代碼 方式
center 置中
centercontinuous
general 一般
justify 左右貼齊
left 靠左
right 靠右

垂直對齊

代碼 方式
bottom 置底
center 置中
middle 置中
justify
top 置頂

邊線

代碼 說明
dashdot
dashdotdot
dashed
dotted
double
hair
medium
mediumdashdot
mediumdashdotdot
mediumdashed
none
slantdashdot
thick
thin

儲存格格式

代碼 說明
general 通用格式
txt 文字
text 文字
string 文字
number 數字
number_00 數字(小數二位)
date 日期
time 時間
datetime 日期+時間

設定方式

設定檔

手動 - 複雜模式


All versions of io with dependencies

PHP Build Version
Package Version
Requires yidas/phpspreadsheet-helper 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 nueip/io contains the following files

Loading the files please wait ....