hisamu/php-xbase
A simple parser for *.dbf, *.fpt files using PHP
2.4.0
1.7M downloads/mo
#4589 most downloaded on Packagist
luads/php-xbase
What this package is like to depend on
Last release 6 months ago
04 Feb 2026
Ships unpredictably
gaps range from 3 weeks to 2.2 years
Some releases are documented
notes for 9 of 28 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
28 releases · first in 2016
2 releases in the last 12 months
see the full history below
Release timeline
28 releases · Apr 2016 to Feb 2026Releases
latest 28-
2.4.004 Feb 2026 -
2.3.029 Dec 2025 -
2.2.015 Aug 2024Release notes
Open source →What's Changed
- Create encoder: MbConvertEncodingEncoder by @honginho in #120
- add AllowDynamicProperties for XBase\Header\Column::* properties to fix deprecation warnings by @Haehnchen in #127
New Contributors
- @honginho made their first contribution in #120
- @Haehnchen made their first contribution in #127
Full Changelog: 2.1.3...2.2.0
-
2.1.307 Jun 2022 -
2.1.204 Jun 2022Nothing published for this version
-
2.1.110 Mar 2022 -
2.1.020 Oct 2021 -
2.0.121 Mar 2021Nothing published for this version
-
2.0.021 Mar 2021Release notes
Open source →New features
TableCreatorallows you to create DBF table files.
Breaking changes
Tablereplaced byTableReaderWritableTablereplaced byTableEditor- removed all Record methods like get*() except
getand getDateTimeObject. - removed all Record methods like set*() except
set
-
1.4.104 Jun 2022 -
1.4.015 Mar 2021Nothing published for this version
-
1.3.417 Feb 2021Nothing published for this version
-
1.3.310 Dec 2020Nothing published for this version
-
1.3.209 Dec 2020Release notes
Open source →- Table::__constructor accepts options array. Available options:
encoding,columns.
use XBase\Table; // before 1.3.2 $table = new Table( __DIR__.'/Resources/foxpro/1.dbf', ['column1', 'column2'], 'cp852' ); // since 1.3.2 $table = new Table( __DIR__.'/Resources/foxpro/1.dbf', [ 'columns' => ['column1', 'column2'], 'encoding' => 'cp852' ] );- WritableTable
editModeoptions.cloneDefault. Creates a clone of original file and applies all changes to it. To save changes you need to callsavemethod.realtimeImmediately apply changes for original table file. Changes cannot be undone.
use XBase\WritableTable; // clone edit mode $tableWrite = new WritableTable( 'file.dbf', [ 'encoding' => 'cp866', 'editMode' => WritableTable::EDIT_MODE_CLONE, ] ); // do edits $tableWrite ->save() ->close(); // realtime edit mode $tableWrite = new WritableTable( 'file.dbf', [ 'encoding' => 'cp866', 'editMode' => WritableTable::EDIT_MODE_REALTIME, ] ); // do edits $tableWrite->close(); - Table::__constructor accepts options array. Available options:
-
1.3.105 Nov 2020Nothing published for this version
-
1.3.030 Sep 2020Nothing published for this version
-
1.2.210 Sep 2020Nothing published for this version
-
1.2.103 Aug 2020Nothing published for this version
-
1.2.025 Jul 2020Nothing published for this version
-
1.1.011 Feb 2020Nothing published for this version
-
1.0.729 Jan 2020Nothing published for this version
-
1.0.603 Nov 2019Nothing published for this version
-
1.0.509 Jan 2017Nothing published for this version
-
1.0.405 Jan 2017Nothing published for this version
-
1.0.314 Dec 2016Nothing published for this version
-
1.0.207 Nov 2016Nothing published for this version
-
1.0.119 Apr 2016Nothing published for this version
-
1.0.013 Apr 2016Nothing published for this version