Download the PHP package hiblaphp/schema-manager without Composer

On this page you can find all versions of the php package hiblaphp/schema-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package schema-manager

Hibla Schema Manager

Asynchronous migrations, seeders, and programmatic schema definition for PHP 8.4+.

Note: This repository provides the CLI tooling and schema builder for the Hibla Database Ecosystem. For complete, comprehensive documentation covering all CLI commands, Blueprint definitions, and Query Builder features, please visit the main hiblaphp/database meta-package.

Overview

hiblaphp/schema-manager is a standalone database lifecycle management toolkit. It equips any PHP application or microframework with Laravel-style migrations, programmatic blueprints, asynchronous database seeders, and advanced production safeguards like "Safe Mode" and native Schema Dumping (Squashing).

It supports MySQL, PostgreSQL, and SQLite out of the box. Notably, it fully overcomes SQLite's infamous ALTER TABLE limitations by safely orchestrating atomic table-recreation and index-preservation within asynchronous transactions automatically.

Installation

This package is currently in beta. Before installing, ensure your composer.json allows beta releases:

Install the package via Composer. (This automatically installs the required hiblaphp/query-builder dependency).

Run the initialization command to auto-scaffold your configuration files:

Quick Start

Zero-Config Default: By default, Hibla resolves to an in-memory SQLite database (:memory:), meaning you can start running migrations and seeders immediately without configuring a database server!

1. Create a Migration

Generate your first migration using the CLI. The command automatically detects table creation intents based on the name:

This generates a safe, anonymous class in your database/migrations folder:

2. Run the Migrations

Apply your schema to the database safely:

3. Create a Seeder

Generate a database seeder file:

Seed your data using highly optimized, asynchronous queries:

Run your seeders:

Testing & Development

Because the Schema Manager tests native table alterations, foreign key bindings, and schema state dumping, the test suite requires real databases to run against. A docker-compose.yml file is provided to quickly spin up the necessary environments for MySQL and PostgreSQL.

1. SQLite Testing (Zero Setup)

To run the SQLite test suite, no external database engines or Docker setups are required. Simply execute:

2. Start the External Database Containers

Start the MySQL 8 and PostgreSQL 15 containers:

3. Run the Suite

To run the tests against MySQL:

To run the tests against PostgreSQL:

To run the tests against all three databases sequentially:

Documentation

For full documentation on available Blueprint column types, multi-connection migrations, production Safe Mode, and Schema Squashing (schema:dump), please read the Comprehensive Hibla Documentation.

License

This package is open-sourced software licensed under the MIT license.


All versions of schema-manager with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
hiblaphp/query-builder Version ^1.0
symfony/console Version ^7.0|^8.0
doctrine/inflector Version ^2.1
nesbot/carbon Version ^3.10
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hiblaphp/schema-manager contains the following files

Loading the files please wait ...