Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to update toXml() method. #1

Open
wants to merge 93 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
56ec6da
JSON_NUMERIC_CHECK patch to avoid numeric types from being cast to st…
AustinW Dec 10, 2012
d3b5262
Merge pull request #1 from HomeFree/master
dberry37388 Dec 10, 2012
be52c39
adds the config file I forgot and allows attributes to be passed to t…
dberry37388 Dec 10, 2012
87ec322
added example files and task
dberry37388 Dec 10, 2012
d794c72
added attributes to the _to_csv method to allow custom attributes to …
dberry37388 Dec 16, 2012
606fb29
Remove delimiter boolean logic
dpwilhelmsen Mar 24, 2013
b50b010
Merge pull request #4 from dpwilhelmsen/patch-1
dberry37388 Mar 25, 2013
eb609d8
Update formatter.php
dberry37388 Mar 25, 2013
cdc2610
Updated codebase for Laravel 4 Package Management. I used Laravel 4's
Jun 28, 2013
19918e1
update to composer file forgot to set the homepage to hitsend.
Jun 28, 2013
ce5156a
updated to put on packagist.org
Sep 20, 2013
e03c8e3
renaming project
Sep 20, 2013
0027038
asdf
Sep 20, 2013
de40f7c
remove DS_Stores!
Sep 20, 2013
a0e5602
moving spyc into src instead of as part of vendor suite.
Sep 20, 2013
aa8c1ca
Updated readme with installation instructions and fixed example typos
Oct 11, 2013
4752905
Merge pull request #1 from garethtdavies/master
Oct 11, 2013
b2cad08
Update composer.json
garethtdavies Dec 21, 2013
a336494
Merge pull request #2 from garethtdavies/patch-1
grahammccarthy Dec 21, 2013
3cb5701
update to composer file for company name change.
grahammccarthy Dec 23, 2013
4a13e8e
update library to reflect company name
grahammccarthy Dec 23, 2013
f7de5aa
just updating github.
grahammccarthy Dec 23, 2013
efa5558
updates
grahammccarthy Dec 23, 2013
332fd89
whoops! fixing a broken namespace declaration
grahammccarthy Jan 7, 2014
197dc75
update to read me.
grahammccarthy Jan 7, 2014
086d423
updating my travis file, just to trigger a travis build
grahammccarthy Mar 26, 2014
9c488bc
updating travis and composer information.
grahammccarthy Mar 26, 2014
080cc9f
added a build status and am currently working through doing test cases
grahammccarthy Mar 26, 2014
13f06eb
this fixes #3
grahammccarthy Mar 26, 2014
b995109
this fixes #4 one line CSV conversions will now work.
grahammccarthy Mar 26, 2014
f01ec3a
Merge pull request #5 from SoapBox/F-Adding-Test-Cases
grahammccarthy Mar 26, 2014
2f2a28a
Fixed line_number variable, Errors method
Apr 10, 2014
4a7b9df
Merge pull request #7 from terdelyi/master
grahammccarthy Apr 15, 2014
c4bd03b
removing the limits on illuminate
grahammccarthy May 21, 2014
e75883e
version update to 1.3
grahammccarthy May 21, 2014
2c9037a
fixing problem with string values returning as numeric data. and the
grahammccarthy Aug 19, 2014
20e26d2
1.4 vbump
grahammccarthy Aug 19, 2014
ffd5744
Update readme.md
worzy Sep 16, 2014
b2d18f0
Rename config.php to formatter.php
Jaspaul Oct 18, 2014
1824d1b
Merge pull request #12 from SoapBox/M-FixConfigurationFiles
Jaspaul Oct 18, 2014
035ebef
Merge pull request #10 from worzy/master
grahammccarthy Oct 18, 2014
0b41be5
Cleaning house for v2.0
Jaspaul Oct 19, 2014
b50441c
Add constants for formats
Jaspaul Oct 19, 2014
a09e3db
Add Formatter::make
Jaspaul Oct 19, 2014
956c715
Add private constructor for Formatter
Jaspaul Oct 19, 2014
81a9ed7
Add interface for parsers
Jaspaul Oct 19, 2014
c442241
Add outline for CsvParser
Jaspaul Oct 19, 2014
eaaeee5
Update CsvParser and interface
Jaspaul Oct 19, 2014
ab5ee9f
Add JsonParser
Jaspaul Oct 19, 2014
1034c53
Add XmlParser
Jaspaul Oct 19, 2014
e503b4d
Add Array Parser
Jaspaul Oct 19, 2014
e5f5bc9
Add parser generation
Jaspaul Oct 19, 2014
4ee929d
Rename constants to follow convention
Jaspaul Oct 19, 2014
b8066dc
Add basic toArray support for all parsers
Jaspaul Oct 19, 2014
dc08dfb
Add tests to validate toJson method for parsers
Jaspaul Oct 19, 2014
23ceda6
Add Yaml output support
Jaspaul Oct 19, 2014
d493358
Add support for toXml from v1.4
Jaspaul Oct 19, 2014
9ed2995
Add YamlParser support
Jaspaul Oct 19, 2014
a36ea25
Merge branch 'F-AddFormatter' into 2.0
Jaspaul Oct 19, 2014
57438d3
Add YAML support to Formatter
Jaspaul Oct 19, 2014
b1808e3
Add methods for Formatter to output array, xml, and yaml
Jaspaul Oct 19, 2014
5d6cf5f
Rename ParserInterface to Parser
Jaspaul Oct 19, 2014
cff9880
Add basic csv output
Jaspaul Oct 20, 2014
f23030f
Add multidimensional csv support
Jaspaul Oct 20, 2014
0457dc3
Add missing test cases from v1.4
Jaspaul Oct 20, 2014
b8abffe
Merge branch 'F-AddCsvOutputting' into 2.0
Jaspaul Oct 20, 2014
1790975
Dropping support for php 5.3 due to league/csv
Jaspaul Oct 20, 2014
d358e01
Update readme.md file
Jaspaul Oct 20, 2014
ab58674
Update readme file
Jaspaul Oct 20, 2014
2fa5204
Add FormatterServiceProvider
Jaspaul Oct 20, 2014
cc31318
Merge branch 'master' into 2.0
Jaspaul Oct 20, 2014
9149adc
Merge pull request #13 from SoapBox/2.0
Jaspaul Oct 20, 2014
dc3f996
Update csv export to include escape characters and custom delimiters
Jaspaul Oct 25, 2014
c7b90cc
Merge pull request #15 from SoapBox/M-CommaSupportCSV
Jaspaul Oct 26, 2014
35e08ff
fixes #19
cecilozaur Nov 29, 2014
8cdc4a6
Merge pull request #20 from cecilozaur/master
Jaspaul Dec 4, 2014
eeabfc4
Multiple updates
drolean Jan 31, 2018
572429a
update travis
drolean Jan 31, 2018
9b497e0
Added delimiter to CSV
drolean Jan 31, 2018
09f5669
Merge pull request #40 from drolean/master
Jaspaul Feb 16, 2018
ce1307f
Update the xml parser to be compatible with php7.2
Jaspaul Feb 23, 2018
92caea2
Do not allow failures on PHP7.2
Jaspaul Feb 23, 2018
f905d16
Removes commented out and duplicate use statements
Jaspaul Feb 23, 2018
25bdf57
Allow users to install illuminate/support 5.6.* if they choose
Jaspaul Feb 23, 2018
2803cbd
Merge pull request #42 from SoapBox/bugfix/php-72
Jaspaul Feb 26, 2018
0a7e99e
Merge pull request #43 from SoapBox/bugfix/remove-use-statements
Jaspaul Feb 26, 2018
6ccdf77
Merge pull request #44 from SoapBox/feature/support-laravel-56
Jaspaul Feb 26, 2018
b47330b
Fixed problem for composer require
Jun 7, 2018
af93de2
Merge pull request #47 from ResuBaka/46
Jaspaul Jun 27, 2018
303d51f
update to Laravel 6 and fix test to be compatible with phpunit 8
vicgonvt Sep 4, 2019
9f4454f
update readme file
vicgonvt Sep 4, 2019
2855a8d
Update .travis.yml
vicgonvt Sep 4, 2019
396bb8a
Merge pull request #51 from coderstape/master
Oct 9, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/vendor
composer.phar
composer.lock
.DS_Store
notes
.phpunit.result.cache
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: php

php:
- 7.2
- 7.3

before_script:
- composer self-update
- composer install --no-interaction

script:
- vendor/bin/phpunit
43 changes: 43 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "soapbox/laravel-formatter",
"type": "library",
"description": "A formatting library that converts data output between XML, CSV, JSON, TXT, YAML and a few others.",
"keywords": ["laravel", "formatter", "data", "convert", "csv", "xml", "yaml"],
"homepage": "http://github.com/SoapBox/laravel-formatter",
"license": "MIT",
"version": "3.1.1",
"authors": [
{
"name": "Graham McCarthy",
"email": "[email protected]",
"homepage": "http://grahammccarthy.com"
},
{
"name": "Jaspaul Bola",
"email": "[email protected]",
"homepage": "http://jaspaulbola.com"
}
],
"require": {
"php": "^7.2",
"league/csv": "~9.0",
"mustangostang/spyc": "~0.6",
"illuminate/support": "^6.0"
},
"require-dev": {
"phpunit/phpunit": "~8.0"
},
"autoload": {
"psr-4": {
"SoapBox\\Formatter\\": "src/"
}
},
"extra": {
"laravel": {
"aliases": {
"Formatter": "SoapBox\\Formatter"
}
}
},
"minimum-stability": "stable"
}
Loading