Download the PHP package evilband7/doctrine-data without Composer
On this page you can find all versions of the php package evilband7/doctrine-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download evilband7/doctrine-data
More information about evilband7/doctrine-data
Files in evilband7/doctrine-data
Download evilband7/doctrine-data
More information about evilband7/doctrine-data
Files in evilband7/doctrine-data
Vendor evilband7
Package doctrine-data
Short Description Bring SpringData features into PHP
License Apache License Version 2.0
Package doctrine-data
Short Description Bring SpringData features into PHP
License Apache License Version 2.0
Please rate this library. Is it a good library?
Informations about the package doctrine-data
DoctrineData
Extends doctrine repository feature with pagination support. (Inspired from SpringData project.)
Feature
- Create your own Repository class without implementation (Interface Only)
- Also support custom implementation.
- Support Pagination with strong type pagination stubs (DoctrineData\Pagination\*)
- Make Doctrine2 Repository more stronger.
- Didn't support Doctrine2 Magic Method by default (You need to define that method in an Interface. Because we focus on maintenance. how should people know which magic method currently used on a project.)
Status
- Under development.
- Will be available soon.
- Feel free to fork and submit pull request. xD
Basic Repository Interface
interface EmployeeRepository extends DoctrineDataRepositoryInterface
{
/** @Query("select e from Employee e where e.name = ?1") */
public function findByDepartmentId(int $departmentId, PageableInterface $pageable);
}
/* @var $repository EmployeeRepository */
/* @var $page PageInterface */
$pageRequest = new PageRequest(1,10);
$repository = $em->getRepository(Employee::class);
$page = $repository->findByDepartmentId(1, $pageRequest);
foreach($page as $emp){
echo 'Name: ' . $emp->getName() ;
}
All versions of doctrine-data with dependencies
PHP Build Version
Package Version
Requires
php Version
~7.0
doctrine/orm Version ~2.5
doctrine/common Version ~2.5
zendframework/zend-stdlib Version ~3.0 || ~2.7
zendframework/zend-code Version ~3.0 || ~2.7
evilband7/php-common-util Version *
myclabs/php-enum Version ~1.0
psr/log Version ~1
doctrine/orm Version ~2.5
doctrine/common Version ~2.5
zendframework/zend-stdlib Version ~3.0 || ~2.7
zendframework/zend-code Version ~3.0 || ~2.7
evilband7/php-common-util Version *
myclabs/php-enum Version ~1.0
psr/log Version ~1
The package evilband7/doctrine-data contains the following files
Loading the files please wait ....