Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Oct 25, 2019
0 parents commit 2c0f624
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Drupal editor configuration normalization
# @see http://editorconfig.org/

# This is the top-most .editorconfig file; do not search in parent directories.
root = true

# All files.
[*]
end_of_line = LF
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[composer.{json,lock}]
indent_size = 4

[{Makefile,**.mk}]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab

; YAML format, 4 spaces
[*.yaml, *.yml]
indent_style = space
indent_size = 4
max_line_length = 160
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# druidfi/omen [Work in Progress]

Drupal ENV detector. Detects env related configuration and sets them for you. Helps with moving sites from environment
to another. Aims also to generalize your env configuration.

You should just focus on your project specific configuration.

## How to use

Require omen in your composer.json:

```
$ composer require druidfi/omen:^1.0
```

## Known environments

- [Amazee.io Lagoon](https:)
- [Amazee.io Legacy](https:)
- [Wodby](https://Wodby)

## TODO

Add support for:

- Lando
- Drupal VM
- Other dev tools and environments

## Where the name "Omen" comes from?

Druids interpreted the waves of the ocean or read clouds for mundane or important omens. So `reading clouds` is
basically what `druidfi/omen` is doing.

## Other information

This project is found from the Packagist: https://packagist.org/packages/druidfi/omen
28 changes: 28 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "druidfi/omen",
"type": "library",
"description": "",
"minimum-stability": "dev",
"license": "MIT",
"authors": [
{
"name": "Druid.fi",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Druidfi\\Omen\\": "src/"
}
},
"require": {
"php": "^7.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "@stable"
},
"conflict": {
"drupal/core": "8.*",
"drupal/drupal": "<7.65"
}
}
8 changes: 8 additions & 0 deletions src/DrupalEnvDetector.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace Druidfi;

class DrupalEnvDetector
{

}

0 comments on commit 2c0f624

Please sign in to comment.