2017 © Pedro Peláez
 

library database-plugin

Database plugin for Tapestry

image

tapestry-cloud/database-plugin

Database plugin for Tapestry

  • Sunday, December 3, 2017
  • by carbontwelve
  • Repository
  • 1 Watchers
  • 0 Stars
  • 90 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 5 Versions
  • 10 % Grown

The README.md

Tapestry Database Plugin

Syncs project state with database, (*1)

Build Status Latest Stable Version License , (*2)

This is a work in progress, which once complete will allow you to export the Tapestry project state to a database for manipulation by third party tools. In the case of Tapestry this is a precursor to the API plugin for an in browser admin panel., (*3)

Install

To install run composer require tapestry-cloud/database-plugin, (*4)

Setup

Update your site configuration to include your database configuration:, (*5)

// ...
    'plugins' => [
        'database' => [
            'driver' => 'pdo_sqlite',
            'path' => __DIR__ . DIRECTORY_SEPARATOR . 'db.sqlite'
        ]
    ]
// ...

Next within your site kernel.php you will need to register the plugins service provider within its boot method:, (*6)

public function boot(){
    // ...

    $this->tapestry->register(\TapestryCloud\Database\ServiceProvider::class);

    // ...
}

Upon you next running tapestry build your database will be updated with the current project state., (*7)

Development

To run migrations use:, (*8)

vendor\bin\doctrine.bat orm:schema-tool:update --force

The Versions

03/12 2017

dev-master

9999999-dev

Database plugin for Tapestry

  Sources   Download

MIT

The Requires

 

The Development Requires

24/11 2017

0.5.3

0.5.3.0

Database plugin for Tapestry

  Sources   Download

MIT

The Requires

 

The Development Requires

24/11 2017

0.5.2

0.5.2.0

Database plugin for Tapestry

  Sources   Download

MIT

The Requires

 

The Development Requires

23/11 2017

0.5.1

0.5.1.0

Database plugin for Tapestry

  Sources   Download

MIT

The Requires

 

The Development Requires

23/11 2017

0.5.0

0.5.0.0

Database plugin for Tapestry

  Sources   Download

MIT

The Requires

 

The Development Requires