czogori/rentgen
Laravel package for generating and validating Rentgen-style identifiers and numbers, with helpers for formatting, checksum calculation, and simple integration into apps. Useful for input validation, data imports, and consistent ID handling.
Database abstraction layer for both information and manipulation schema
Using composer:
{
"require": {
"czogori/rentgen": "dev-master"
}
}
Create sample table
$rentgen = new Rentgen();
$manipulation = $rentgen->createManipulationInstance();
$table = new Table('foo');
$table->addColumn(new StringColumn('bar'));
$table->addColumn(new IntegerColumn('baz', array('not_null' => true)));
$manipulation->create($table);
Get information about foo table
$info = $rentgen->createInfoInstance();
$fooTable = $info->getTable(new Table('foo'));
How can I help you explore Laravel packages today?