This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from spiral/great-split
Great split
- Loading branch information
Showing
894 changed files
with
9 additions
and
84,816 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,6 @@ | ||
Spiral, Core Components | ||
================================ | ||
|
||
[![Latest Stable Version](https://poser.pugx.org/spiral/components/v/stable)](https://packagist.org/packages/spiral/components) | ||
[![Total Downloads](https://poser.pugx.org/spiral/components/downloads)](https://packagist.org/packages/spiral/components) | ||
[![License](https://poser.pugx.org/spiral/components/license)](https://packagist.org/packages/spiral/components) | ||
[![Build Status](https://travis-ci.org/spiral/components.svg?branch=master)](https://travis-ci.org/spiral/components) | ||
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/spiral/components/badges/quality-score.png)](https://scrutinizer-ci.com/g/spiral/components/?branch=master) | ||
[![Coverage Status](https://coveralls.io/repos/github/spiral/components/badge.svg?branch=master)](https://coveralls.io/github/spiral/components?branch=master) | ||
|
||
<b>[Documentation](http://spiral-framework.com/guide)</b> | [CHANGELOG](/CHANGELOG.md) | [Framework Bundle](https://github.com/spiral/spiral) | [Skeleton Application](https://github.com/spiral/application) | ||
|
||
# Components Included | ||
- Core interfaces, autowiring DI, declarative singletons and auto injections | ||
- Stempler template composer (HTML syntax) | ||
- Tokenizer, static code analysis | ||
- Debug, Profiling and Dump components | ||
- FileManager and Abstract Storage (Amazon, Rackspace, SFTP, FTP, GridFS) | ||
- Pagination | ||
- DBAL, schema introspection, scaffolding, SQL fallbacks, nested queries | ||
- ORM, eager/inner/lazy loading, morphed relations, late binded relations, transactional | ||
- Migrations (DBAL based), automatic migration scaffolding | ||
- Iehahrical ODM | ||
- Security layer (NIST RBAC) | ||
- Reactor, code scaffolding | ||
|
||
# Running Tests | ||
Install component dependencies first, make sure you have proper .env file with details about | ||
connected databases and storage component server configurations, you can find sample env in `.env.sample`, | ||
DO NOT commit your .env into repository. To run tests execute: | ||
|
||
``` | ||
phpunit | ||
``` | ||
|
||
## Verbose Testing | ||
In order to enable additional profiling mechanisms in spiral tests set following variable in your | ||
env configuration: | ||
|
||
``` | ||
PROFILING = true | ||
``` | ||
|
||
This option will enable echoing of Storage, Database and ORM component log messages. | ||
![Profiling](http://image.prntscr.com/image/539b6b6ae59a4aceaf86bf1747c994fb.png) | ||
<b>[Documentation](http://spiral-framework.com/guide)</b> | [CHANGELOG](/CHANGELOG.md) | [Framework Bundle](https://github.com/spiral/spiral) | [Skeleton Application](https://github.com/spiral/application) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.