NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3813 most downloaded on Packagist
A simple parser for *.dbf, *.fpt files using PHP
Latest stable
2.4.0
Last release 9 months ago
04 Feb 2026
Ships unpredictably
gaps range from 3 weeks to 2.2 years
Some releases are documented
notes for 16 of 28 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
28 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Fix memory exhaustion when reading corrupted FPT memo files by @panel-sk in https://github.com/luads/php-xbase/pull/136
Full Changelog: https://github.com/luads/php-xbase/compare/2.3.0...2.4.0
Fix dynamic property creation notice by @panel-sk in https://github.com/luads/php-xbase/pull/135
Full Changelog: https://github.com/luads/php-xbase/compare/2.2.0...2.3.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
add AllowDynamicProperties for XBase\Header\Column::* properties to fix deprecation warnings by @Haehnchen in https://github.com/luads/php-xbase/pull/…
Full Changelog: https://github.com/luads/php-xbase/compare/2.1.3...2.2.0
fix #115 : VisualFoxproTest fix for Ignore colunm
fix #115: VisualFoxproTest fix for Ignore colunm
Nothing published for this version
column name case indifference
column name case indifference
# Features #109 replaceable encoder for converters (@retnek)
#109 replaceable encoder for converters (@retnek)
Nothing published for this version
TableCreator allows you to create DBF table files.
TableCreator allows you to create DBF table files.Table replaced by TableReaderWritableTable replaced by TableEditorget and getDateTimeObject.setget and getDateTimeObject.set.fix #114
Use XBase\TableReader instead of XBase\Table
XBase\TableReader instead of XBase\TableXBase\TableEditor instead of XBase\WritableTable.#101 Add test file for DBase 7 Double type (@aaronhuisinga)
#101 Add test file for DBase 7 Double type (@aaronhuisinga)
Nothing published for this version
Table::__constructor accepts second argument as an options array. Available options: encoding, columns.
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'
]
);
editMode option.
clone Default. Creates a clone of original file and applies all changes to it. To save changes you need to call save method.realtime Immediately 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();
## Fixes #94 VisualFoxPro\DateTimeConverter (@ebta)
#94 VisualFoxPro\DateTimeConverter (@ebta)
declare(strict_types=1); for all files
declare(strict_types=1); for all filesRecordInterface::get('name') is main getterRecordInterface::set('name', $value) is main setterWritableTable::save you should use it to save table changes.D (Date) returns date string in 'Ymd' format instead of timestamp.VisualFoxproRecord::getDateTime returns object of \DateTimeInterface instead of timestamp.RecordInterface::getObjectRecordInterface::setObjectRecord::setType. Use set('name', $value) method instead.Record::getType. Use get('name') method instead.WritableTable::openWrite. Method is no longer needed.D (Date) now returns date string in 'Ymd' format instead of timestamp.VisualFoxproRecord::getDateTime returns object of \DateTimeInterface instead of timestamp.Nothing published for this version
Nothing published for this version
MemoFactory for different Memo types
Table::pickRecord method allows to get record by index without moving file pointer.
Changes:
Added:
D type columns.Fixed issues:
#35 Record:getNum not returns false if value is '0' (zero char) #75 Some columns cannot be read #78 Can’t insert dates in DBF
#74 Record add getData and getChoppedData functions
#74 Record add getData and getChoppedData functions
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.