Skip to content

Commit

Permalink
initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHaxe committed Mar 17, 2019
1 parent ab8eec4 commit 61c5884
Show file tree
Hide file tree
Showing 52 changed files with 7,299 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file is for unifying the coding style for different editors and IDEs.
# More information at http://EditorConfig.org
root = true

[*]
indent_style = tab
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.hx]
end_of_line = lf
charset = utf-8

[*.md]
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
phpoffice.zip
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"[haxe]": {
"editor.formatOnSave": true
}
}
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Version History

## dev branch / next version (1.x.x)

## version 0.1.0 (2019-03-17)

- initial release
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Haxe externs for PHPOffice

Very incomplete collection of Haxe externs for [PHPWord](https://github.com/PHPOffice/PHPWord) and [PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet) libraries from [PHPOffice](https://github.com/PHPOffice)

I have only implemented enough externs to make it work in one of my projects, if you find an api call or a type missing, please create an issue or open a pull request. Thanks!
3 changes: 3 additions & 0 deletions display.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-cp src

-php out
18 changes: 18 additions & 0 deletions haxelib.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "phpoffice",
"url": "https://github.com/AlexHaxe/haxe-phpoffice",
"license": "LGPL",
"tags": [
"php",
"office",
"externs"
],
"description": "Haxe externs for PHPOffice",
"version": "0.0.1",
"releasenote": "incomplete externs",
"contributors": [
"AlexHaxe"
],
"dependencies": {},
"classPath": "src"
}
1 change: 1 addition & 0 deletions hxformat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
4 changes: 4 additions & 0 deletions makeReleaseZip.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash -e

rm -f phpoffice.zip
zip -9 -r -q phpoffice.zip src haxelib.json hxformat.json README.md CHANGES.md LICENSE
4 changes: 4 additions & 0 deletions src/php/import.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package php;

import haxe.extern.EitherType;
import php.NativeArray;

0 comments on commit 61c5884

Please sign in to comment.