Download the PHP package sirix/cycle-orm-factory without Composer

On this page you can find all versions of the php package sirix/cycle-orm-factory. 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 cycle-orm-factory

Mezzio Cycle ORM Factory

GitHub license

This package provides factories for integrating Cycle ORM into the Mezzio framework, providing seamless setup and configuration.

Installation

Configuration

Create a configuration file, for example, config/autoload/cycle-orm.global.php:

Migrator Configuration

Entities Configuration

Schema Configuration

Schema Property Options

SchemaProperty::SyncTables

The SyncTables option synchronizes the database tables based on the provided entity classes. It ensures that the tables match the structure defined in the entity classes. This can be useful during development when the database schema evolves along with your application.

SchemaProperty::GenerateMigrations

The GenerateMigrations option is used to automatically generate migration files based on changes detected in your entity classes. When enabled, the ORM analyzes the differences between the current database schema and the defined entities. It then generates migration files to apply these changes, making it easier to version and manage your database schema changes.

Select the appropriate SchemaProperty option based on the requirements of your project. Customize the configuration to your needs and enjoy the seamless integration of Cycle ORM with Mezzio.

Use in your project

These factories provide the necessary components to work seamlessly with Cycle ORM within the Mezzio Framework. Customize the configuration to meet the needs of your project.

For more information about Cycle ORM, see the Cycle ORM documentation.

Migrator Commands

The Sirix\Cycle\Command\Migrator namespace provides two commands for managing database migrations using Cycle ORM. These commands are intended for use with the laminas-cli tool.

1. migrator:migrate Command

Description

The migrator:migrate command performs the necessary database migration steps, applying changes specified in migration files to synchronize your database schema.

Usage

Options

This command has no additional options.

2. migrator:rollback Command

Description

The migrator:rollback command undoes the changes made by the last migration, reverting your database schema to its previous state.

Usage

Options

This command does not have any additional options.

Note: Make sure that you have correctly configured the database connection and migrations settings in your project's configuration file.

For more information about using migrations with Cycle ORM, see the Cycle ORM Documentation.


All versions of cycle-orm-factory with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0 || ~8.2.0 || ~8.3.0
composer/package-versions-deprecated Version ^1.10.99
cycle/annotated Version ^3.3
cycle/database Version ^2.5
cycle/entity-behavior Version ^1.2
cycle/entity-behavior-uuid Version ^1.1
cycle/migrations Version ^4.1
cycle/orm Version ^2.3
cycle/schema-migrations-generator Version ^2.1
symfony/cache Version ^5.4 || ^6.3 || ^7.0
symfony/console Version ^6.3 || ^7.0
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 sirix/cycle-orm-factory contains the following files

Loading the files please wait ....