byteshard/schema

byteShard PHP schema

Installs: 4 475

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/byteshard/schema

v1.3.7 2025-09-30 09:56 UTC

This package is auto-updated.

Last update: 2025-09-30 09:58:06 UTC


README

install byteShard schema

composer require byteshard/schema

Create/migrate database

Make sure your database connection is entered in the /config.php file in the root directory.

Then call ./vendor/bin/database to execute the migration.

Development

Clone repository, execute composer update. Due to the dev-dependency to byteshard/core and it's dependency back to this package, composer needs to know the current package version. This can be achieved by setting COMPOSER_ROOT_VERSION=$(git describe --tags --abbrev=0). In a docker environment the following command achieves the same: docker run --rm --interactive --tty --volume $PWD:/app --volume ~/.composer:/tmp -e COMPOSER_ROOT_VERSION=$(git describe --tags --abbrev=0) composer.

Contribution

Please read our Contribution Guide.

License

The license can be found here