Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #135 from spiral/great-split
Browse files Browse the repository at this point in the history
Great split
  • Loading branch information
wolfy-j authored Feb 5, 2017
2 parents 379582a + 53e65f7 commit 8b622b1
Show file tree
Hide file tree
Showing 894 changed files with 9 additions and 84,816 deletions.
49 changes: 0 additions & 49 deletions .env.sample

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

41 changes: 1 addition & 40 deletions README.md
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)
40 changes: 8 additions & 32 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "spiral/components",
"type": "framework",
"description": "Spiral, Core Components",
"description": "Spiral, Core Components, meta package",
"license": "MIT",
"authors": [
{
Expand All @@ -10,36 +10,12 @@
}
],
"require": {
"php": ">=7.0",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-mongodb": "*",
"psr/log": "*",
"container-interop/container-interop": "^1.1",
"psr/http-message": "^1.0",
"psr/simple-cache": "^1.0",
"mongodb/mongodb": "^1.1",
"doctrine/inflector": "^v1.1",
"symfony/finder": "^3.0",
"symfony/event-dispatcher": "^3.0",
"guzzlehttp/guzzle": "~6.0"
},
"require-dev": {
"phpunit/phpunit": "~5.0",
"mockery/mockery": "^0.9.4",
"vlucas/phpdotenv": "^2.1"
},
"autoload": {
"files": [
"source/functions.php"
],
"psr-4": {
"Spiral\\": "source/Spiral/"
}
},
"autoload-dev": {
"psr-4": {
"Spiral\\Tests\\": "tests/"
}
"spiral/common": "^0.9",
"spiral/security": "^1.0.0",
"spiral/database": "^0.9",
"spiral/orm": "^0.9",
"spiral/odm": "^0.9",
"spiral/storage": "^0.9",
"spiral/stempler": "^0.9"
}
}
27 changes: 0 additions & 27 deletions phpunit.xml

This file was deleted.

80 changes: 0 additions & 80 deletions source/Spiral/Core/Component.php

This file was deleted.

24 changes: 0 additions & 24 deletions source/Spiral/Core/ConfigInterface.php

This file was deleted.

31 changes: 0 additions & 31 deletions source/Spiral/Core/ConfiguratorInterface.php

This file was deleted.

Loading

0 comments on commit 8b622b1

Please sign in to comment.