Skip to content

Gobie/adminer-plugins

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Plugins for adminer

Repository contains some useful plugins for Adminer to ease up your workflow.

Plugins for PHPUnit

A central concept of PHPUnit's Database Extension are DataSets and DataTables. Here can be found two Adminer plugins to export database structure and data to PHPUnit's File-Based DataSets and DataTables.

Flat XML DataSet

Exports database to dataset, where each node of <dataset /> has structure <table col='value' ... />.

<?xml version="1.0" ?>
<dataset>
    <guestbook id="1" content="Hello buddy!" user="joe" created="2010-04-24 17:15:23" />
    <guestbook id="2" content="I like it!" user="nancy" created="2010-04-26 12:14:20" />
</dataset>

XML DataSet

Exports database to dataset, where each node of <dataset /> has structure <table><column>columnName</column> ... <row><value>value</value> ... </row></table>.

<?xml version="1.0" ?>
<dataset>
    <table name="guestbook">
        <column>id</column>
        <column>content</column>
        <column>user</column>
        <column>created</column>
        <row>
            <value>1</value>
            <value>Hello buddy!</value>
            <value>joe</value>
            <value>2010-04-24 17:15:23</value>
        </row>
        <row>
            <value>2</value>
            <value>I like it!</value>
            <null />
            <value>2010-04-26 12:14:20</value>
        </row>
    </table>
</dataset>

About

Plugins for Adminer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages