Download the PHP package quellabs/canvas-objectquel without Composer

On this page you can find all versions of the php package quellabs/canvas-objectquel. 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 canvas-objectquel

Canvas ObjectQuel Integration

Canvas ObjectQuel Logo

Latest Version Downloads

The Canvas ObjectQuel Integration package provides seamless integration between ObjectQuel ORM and the Canvas PHP framework. This package includes service discovery for dependency injection and Sculpt CLI commands for entity management.

Table of Contents

Installation

Install the package via Composer:

The package requires:

Features

🔌 Automatic Service Discovery

🛠️ Sculpt CLI Integration

⚙️ Framework Integration

Configuration

Database Configuration

During installation, the package automatically copies config/database.php to your Canvas config directory. Edit this file to configure your database connection.

Service Discovery

The package automatically registers ObjectQuel services with Canvas's dependency injection container through two service providers:

EntityManager Service Provider

Located in Quellabs\Canvas\ObjectQuel\Discovery\ObjectQuelServiceProvider, this provider:

Sculpt Service Provider

Located in Quellabs\Canvas\ObjectQuel\Sculpt\ServiceProvider, this provider registers ObjectQuel CLI commands with the Sculpt framework.

Sculpt Commands

The package provides several CLI commands for entity and database management:

Generate Entity

Create a new entity class interactively:

This command will prompt you to:

Generate Entity from Database Table

Create an entity from an existing database table:

This command will:

Generate Migrations

Create database migrations from your entity changes:

This command:

Run Migrations

Execute pending database migrations:

Additional migration options:

Generate Phinx Configuration

Create a Phinx configuration file for advanced migration management:

Quick Start

1. Install and Configure

2. Create Your First Entity

3. Create and Run Migrations

4. Use in Your Application

Configuration Reference

Default Configuration Values

The service providers include these default configuration values:

Setting Default Value Description
driver mysql Database driver
host localhost Database host
port 3306 Database port
encoding utf8mb4 Character encoding
collation utf8mb4_unicode_ci Database collation
entity_namespace App\\Entity Namespace for entity classes
entity_path src/Entity Directory for entity classes
proxy_namespace Quellabs\\ObjectQuel\\Proxy\\Runtime Namespace for proxy classes
proxy_path var/cache/proxies Directory for proxy classes
metadata_cache_path var/cache/metadata Directory for metadata cache
migrations_path database/migrations Directory for migration files

Usage Examples

Working with Entities

Complex Queries

Repository Pattern

Troubleshooting

Support

For support and documentation:

License

This package is released under the MIT License.


All versions of canvas-objectquel with dependencies

PHP Build Version
Package Version
Requires quellabs/canvas-database Version 1.*
quellabs/objectquel Version 2.*
quellabs/support Version *
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 quellabs/canvas-objectquel contains the following files

Loading the files please wait ...