Download the PHP package macpaw/postgres-schema-bundle without Composer

On this page you can find all versions of the php package macpaw/postgres-schema-bundle. 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 postgres-schema-bundle

Postgres Schema Bundle

The Postgres Schema Bundle provides seamless multi-tenant schema support for PostgreSQL within Symfony applications. It automatically switches PostgreSQL search_path based on the current request context and ensures proper schema resolution across Doctrine and Messenger.## Installation

Features

Installation

Use Composer to install the bundle:

Applications that don't use Symfony Flex

Enable the bundle by adding it to the list of registered bundles in

Configuration

You must tell Doctrine to use the SchemaConnection class as its DBAL connection class:

Set BaggageSchemaResolver to SchemaConnection at kernel boot

Make sure you configure the context bundle properly:

See https://github.com/MacPaw/schema-context-bundle/blob/develop/README.md

How it Works

Optional Commands

The bundle provides three optional commands for schema management that can be registered in your services configuration:

Schema Drop Command

Drops a PostgreSQL schema and all its objects:

Usage:

Schema Migrations Command

Runs Doctrine migrations within a specific schema. Creates the schema if it doesn't exist:

Usage:

Schema Fixtures Load Command

Loads Doctrine fixtures within a specific schema:

Usage:

Note: These commands are optional and should only be registered if you're using the corresponding Doctrine features (migrations and/or fixtures) in your project.

Testing

To run tests:

Contributing

Feel free to open issues and submit pull requests.

License

This bundle is released under the MIT license.


All versions of postgres-schema-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
doctrine/orm Version ^2.17 || ^3.0
symfony/doctrine-bridge Version ^6.4 || ^7.0
doctrine/dbal Version ^3.4
macpaw/schema-context-bundle Version ^2.0.4
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 macpaw/postgres-schema-bundle contains the following files

Loading the files please wait ...