Download the PHP package pavelvais/upsert-doctrine without Composer
On this page you can find all versions of the php package pavelvais/upsert-doctrine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pavelvais/upsert-doctrine
More information about pavelvais/upsert-doctrine
Files in pavelvais/upsert-doctrine
Package upsert-doctrine
Short Description Doctrine helper for update and insert functionality
License MIT
Informations about the package upsert-doctrine
Upsert-Doctrine
Upsert-Doctrine is a PHP library aimed at providing an elegant solution for upsert operations in Doctrine. This library simplifies the process of either inserting a new record or updating an existing one in a single operation, all within the Doctrine ORM ecosystem.
Installation
Install Upsert-Doctrine using Composer:
Usage
Below is a basic example demonstrating how to use Upsert-Doctrine:
Local Testing with Docker
This project includes a Docker setup to run local testing and development. Here are the steps to get started:
-
Build and manage the Containers: Build and start the containers in the background.
To stop and remove the containers, use the following command:
-
Installing Dependencies: Install the project dependencies using Composer with the following command:
- Running Tests: Run the PHPUnit tests to ensure everything is working as expected.
Roadmap
- [x] Basic Upsert Functionality
- [x] Batch Upsert method
- [x] Query Manager
- [ ] Postgres Support
- [ ] Live database testing
Contributing
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change. Ensure to update tests as necessary.
License
This project is licensed under the MIT License - see the LICENSE file for details.
All versions of upsert-doctrine with dependencies
ext-mysqli Version *
doctrine/orm Version ^2.0
doctrine/dbal Version ^3.0