Download .zip |
Info | View files (369) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2019-09-03 (2 days ago) | Not yet rated by the users | Total: 20 This week: 20 | All time: 9,672 This week: 16 |
Version | License | PHP version | Categories | |||
cycle-orm 1.0 | MIT/X Consortium ... | 7.1 | Databases, Design Patterns, PHP 7 |
Description | Author | |
This package can be used to store and retrieve objects in a database using ORM. |
|
<a href="https://discord.gg/TFeEmCs"><img src="https://img.shields.io/badge/discord-chat-magenta.svg"></a>
Cycle is PHP DataMapper ORM and Data Modelling engine designed to safely work in classic and daemonized PHP applications (like RoadRunner). The ORM provides flexible configuration options to model datasets and support dynamic mapping schema at runtime. Engine can work with plain PHP objects, support annotation declarations and proxies via extensions.
<p align="center">
<a href="https://github.com/cycle/docs"><b>Documentation</b></a> | <a href="https://github.com/cycle/docs/issues/3">Comparison with Eloquent and Doctrine</a>
</p>
| Component | Current Status | --- | --- cycle/schema-builder | cycle/annotated | cycle/proxy-factory | cycle/migrations |
The MIT License (MIT). Please see LICENSE
for more information. Maintained by Spiral Scout.
Files |
File | Role | Description | ||
---|---|---|---|---|
src (16 files, 11 directories) | ||||
tests (1 directory) | ||||
.travis.yml | Data | Auxiliary data | ||
CHANGELOG.md | Data | Auxiliary data | ||
CODE_OF_CONDUCT.md | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
CONTRIBUTING.md | Data | Auxiliary data | ||
infection.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Command (5 files, 3 directories) | ||||
Config (1 file) | ||||
Context (2 files) | ||||
Exception (15 files, 2 directories) | ||||
Heap (4 files, 1 directory) | ||||
Mapper (3 files) | ||||
Parser (8 files, 1 directory) | ||||
Promise (6 files, 1 directory) | ||||
Relation (9 files, 3 directories) | ||||
Select (12 files, 2 directories) | ||||
Transaction (2 files) | ||||
CommandGenerator.php | Class | Class source | ||
Factory.php | Class | Class source | ||
FactoryInterface.php | Class | Class source | ||
Iterator.php | Class | Class source | ||
MapperInterface.php | Class | Class source | ||
ORM.php | Class | Class source | ||
ORMInterface.php | Class | Class source | ||
PromiseFactoryInterface.php | Class | Class source | ||
Relation.php | Class | Class source | ||
RelationMap.php | Class | Class source | ||
RepositoryInterface.php | Class | Class source | ||
Schema.php | Class | Class source | ||
SchemaInterface.php | Class | Class source | ||
Select.php | Class | Class source | ||
Transaction.php | Class | Class source | ||
TransactionInterface.php | Class | Class source |
Files | / | src | / | Command |
File | Role | Description | ||
---|---|---|---|---|
Branch (5 files) | ||||
Database (3 files) | ||||
Traits (3 files) | ||||
CommandInterface.php | Class | Class source | ||
ContextCarrierInterface.php | Class | Class source | ||
DatabaseCommand.php | Class | Class source | ||
InitCarrierInterface.php | Class | Class source | ||
ScopeCarrierInterface.php | Class | Class source |
Files | / | src | / | Command | / | Branch |
File | Role | Description |
---|---|---|
Condition.php | Class | Class source |
ContextSequence.php | Class | Class source |
Nil.php | Class | Class source |
Sequence.php | Class | Class source |
Split.php | Class | Class source |
Files | / | src | / | Command | / | Database |
File | Role | Description |
---|---|---|
Delete.php | Class | Class source |
Insert.php | Class | Class source |
Update.php | Class | Class source |
Files | / | src | / | Command | / | Traits |
File | Role | Description |
---|---|---|
ContextTrait.php | Class | Class source |
ErrorTrait.php | Class | Class source |
ScopeTrait.php | Class | Class source |
Files | / | src | / | Context |
File | Role | Description |
---|---|---|
ConsumerInterface.php | Class | Class source |
ProducerInterface.php | Class | Class source |
Files | / | src | / | Exception |
File | Role | Description | ||
---|---|---|---|---|
Annotation (1 file) | ||||
Relation (1 file) | ||||
BuilderException.php | Class | Class source | ||
CommandException.php | Class | Class source | ||
ConfigException.php | Class | Class source | ||
FactoryException.php | Class | Class source | ||
HeapException.php | Class | Class source | ||
LoaderException.php | Class | Class source | ||
MapperException.php | Class | Class source | ||
ORMException.php | Class | Class source | ||
ParserException.php | Class | Class source | ||
PromiseException.php | Class | Class source | ||
RelationException.php | Class | Class source | ||
SchemaException.php | Class | Class source | ||
SelectorException.php | Class | Class source | ||
TransactionException.php | Class | Class source | ||
TypecastException.php | Class | Class source |
Files | / | src | / | Exception | / | Annotation |
File | Role | Description |
---|---|---|
AnnotationException.php | Class | Class source |
Files | / | src | / | Heap |
File | Role | Description | ||
---|---|---|---|---|
Traits (3 files) | ||||
Heap.php | Class | Class source | ||
HeapInterface.php | Class | Class source | ||
Node.php | Class | Class source | ||
State.php | Class | Class source |
Files | / | src | / | Heap | / | Traits |
File | Role | Description |
---|---|---|
ClaimTrait.php | Class | Class source |
RelationTrait.php | Class | Class source |
VisitorTrait.php | Class | Class source |
Files | / | src | / | Mapper |
File | Role | Description |
---|---|---|
DatabaseMapper.php | Class | Class source |
Mapper.php | Class | Class source |
StdMapper.php | Class | Class source |
Files | / | src | / | Parser |
File | Role | Description | ||
---|---|---|---|---|
Traits (2 files) | ||||
AbstractNode.php | Class | Class source | ||
ArrayNode.php | Class | Class source | ||
EmbeddedNode.php | Class | Class source | ||
OutputNode.php | Class | Class source | ||
RootNode.php | Class | Class source | ||
SingularNode.php | Class | Class source | ||
Typecast.php | Class | Class source | ||
TypecastInterface.php | Class | Class source |
Files | / | src | / | Parser | / | Traits |
File | Role | Description |
---|---|---|
DuplicateTrait.php | Class | Class source |
ReferenceTrait.php | Class | Class source |
Files | / | src | / | Promise |
File | Role | Description | ||
---|---|---|---|---|
Collection (2 files) | ||||
PromiseFactory.php | Class | Class source | ||
PromiseInterface.php | Class | Class source | ||
PromiseMany.php | Class | Class source | ||
PromiseOne.php | Class | Class source | ||
Reference.php | Class | Class source | ||
ReferenceInterface.php | Class | Class source |
Files | / | src | / | Promise | / | Collection |
File | Role | Description |
---|---|---|
CollectionPromise.php | Class | Class source |
CollectionPromiseInterface.php | Class | Class source |
Files | / | src | / | Relation |
File | Role | Description | ||
---|---|---|---|---|
Morphed (3 files) | ||||
Pivoted (5 files) | ||||
Traits (3 files) | ||||
AbstractRelation.php | Class | Class source | ||
BelongsTo.php | Class | Class source | ||
DependencyInterface.php | Class | Class source | ||
Embedded.php | Class | Class source | ||
HasMany.php | Class | Class source | ||
HasOne.php | Class | Class source | ||
ManyToMany.php | Class | Class source | ||
RefersTo.php | Class | Class source | ||
RelationInterface.php | Class | Class source |
Files | / | src | / | Relation | / | Morphed |
File | Role | Description |
---|---|---|
BelongsToMorphed.php | Class | Class source |
MorphedHasMany.php | Class | Class source |
MorphedHasOne.php | Class | Class source |
Files | / | src | / | Relation | / | Pivoted |
File | Role | Description |
---|---|---|
PivotedCollection.php | Class | Class source |
PivotedCollectionInterface.php | Class | Class source |
PivotedCollectionPromise.php | Class | Class source |
PivotedPromise.php | Class | Class source |
PivotedStorage.php | Class | Class source |
Files | / | src | / | Relation | / | Traits |
File | Role | Description |
---|---|---|
ContextTrait.php | Class | Class source |
NodeTrait.php | Class | Class source |
PromiseOneTrait.php | Class | Class source |
Files | / | src | / | Select |
File | Role | Description | ||
---|---|---|---|---|
Loader (6 files, 1 directory) | ||||
Traits (5 files) | ||||
AbstractLoader.php | Class | Class source | ||
ConstrainInterface.php | Class | Class source | ||
JoinableInterface.php | Class | Class source | ||
JoinableLoader.php | Class | Class source | ||
LoaderInterface.php | Class | Class source | ||
QueryBuilder.php | Class | Class source | ||
QueryConstrain.php | Class | Class source | ||
Repository.php | Class | Class source | ||
RootLoader.php | Class | Class source | ||
Source.php | Class | Class source | ||
SourceInterface.php | Class | Class source | ||
SourceProviderInterface.php | Class | Class source |
Files | / | src | / | Select | / | Loader |
File | Role | Description | ||
---|---|---|---|---|
Morphed (2 files) | ||||
BelongsToLoader.php | Class | Class source | ||
EmbeddedLoader.php | Class | Class source | ||
HasManyLoader.php | Class | Class source | ||
HasOneLoader.php | Class | Class source | ||
ManyToManyLoader.php | Class | Class source | ||
PivotLoader.php | Class | Class source |
Files | / | src | / | Select | / | Loader | / | Morphed |
File | Role | Description |
---|---|---|
MorphedHasManyLoader.php | Class | Class source |
MorphedHasOneLoader.php | Class | Class source |
Files | / | src | / | Select | / | Traits |
File | Role | Description |
---|---|---|
AliasTrait.php | Class | Class source |
ChainTrait.php | Class | Class source |
ColumnsTrait.php | Class | Class source |
ConstrainTrait.php | Class | Class source |
WhereTrait.php | Class | Class source |
Files | / | src | / | Transaction |
File | Role | Description |
---|---|---|
Runner.php | Class | Class source |
RunnerInterface.php | Class | Class source |
Files | / | tests | / | ORM |
File | Role | Description | ||
---|---|---|---|---|
Benchmark (2 files) | ||||
Classless (5 files) | ||||
Command (6 files) | ||||
Driver (4 directories) | ||||
AutoTimestampsTest.php | Class | Class source | ||
BaseTest.php | Class | Class source | ||
BelongsToNativeReferenceTest.php | Class | Class source | ||
BelongsToPromiseTest.php | Class | Class source | ||
BelongsToProxyTest.php | Class | Class source | ||
BelongsToReferenceTest.php | Class | Class source | ||
BelongsToRelationTest.php | Class | Class source | ||
BidirectionTest.php | Class | Class source | ||
ColumnAliasesTest.php | Class | Class source | ||
CustomRepositoryTest.php | Class | Class source | ||
CyclicManyToManyTest.php | Class | Class source | ||
CyclicReferencesTest.php | Class | Class source | ||
DatetimeTest.php | Class | Class source | ||
DeepCyclicTest.php | Class | Class source | ||
DoubleLinkedTest.php | Class | Class source |
Files | / | tests | / | ORM | / | Benchmark |
File | Role | Description |
---|---|---|
BenchmarkClasslessDoubleLinkedTest.php | Class | Class source |
BenchmarkDoubleLinkedTest.php | Class | Class source |
Files | / | tests | / | ORM | / | Classless |
File | Role | Description |
---|---|---|
ClasslessCyclicReferencesTest.php | Class | Class source |
ClasslessHasManyPromiseTest.php | Class | Class source |
ClasslessHasOneCyclicTest.php | Class | Class source |
ClasslessInverseRelationTest.php | Class | Class source |
ClasslessMapperTest.php | Class | Class source |
Files | / | tests | / | ORM | / | Command |
File | Role | Description |
---|---|---|
ConditionCommandTest.php | Class | Class source |
DeleteCommandTest.php | Class | Class source |
InsertCommandTest.php | Class | Class source |
SequenceCommandTest.php | Class | Class source |
SplitCommandTest.php | Class | Class source |
UpdateCommandTest.php | Class | Class source |
Files | / | tests | / | ORM | / | Driver | / | MySQL |
Files | / | tests | / | ORM | / | Driver | / | Postgres |
Files | / | tests | / | ORM | / | Driver | / | SQLite |
File | Role | Description |
---|---|---|
AutoTimestampsTest.php | Class | Class source |
BelongsToMorphedRelationTest.php | Class | Class source |
BelongsToNativeReferenceTest.php | Class | Class source |
BelongsToPromiseTest.php | Class | Class source |
BelongsToProxyTest.php | Class | Class source |
BelongsToReferenceTest.php | Class | Class source |
BelongsToRelationTest.php | Class | Class source |
BidirectionTest.php | Class | Class source |
ClasslessCyclicReferencesTest.php | Class | Class source |
ClasslessHasManyPromiseTest.php | Class | Class source |
ClasslessHasOneCyclicTest.php | Class | Class source |
ClasslessInverseRelationTest.php | Class | Class source |
ClasslessMapperTest.php | Class | Class source |
ColumnAliasesTest.php | Class | Class source |
CustomRepositoryTest.php | Class | Class source |
CyclicManyToManyTest.php | Class | Class source |
CyclicReferencesTest.php | Class | Class source |
DatetimeTest.php | Class | Class source |
DeepCyclicTest.php | Class | Class source |
Files | / | tests | / | ORM | / | Driver | / | SQLServer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.