瀏覽代碼

Commit inicial

Guillermo Espinoza 8 年之前
當前提交
cdbe7c5cfa
共有 4 個文件被更改,包括 64 次插入0 次删除
  1. 9 0
      AuditBundle.php
  2. 41 0
      README.md
  3. 4 0
      Resources/config/services.yml
  4. 10 0
      composer.json

+ 9 - 0
AuditBundle.php

@@ -0,0 +1,9 @@
+<?php
+
+namespace AuditBundle;
+
+use Symfony\Component\HttpKernel\Bundle\Bundle;
+
+class AuditBundle extends Bundle
+{
+}

+ 41 - 0
README.md

@@ -0,0 +1,41 @@
+# AuditBundle
+
+Bundle para Auditoría
+
+- [Installation](#installation)
+
+## Installation
+
+**composer.json**:
+
+```javascript
+"repositories": [
+    {
+        "type": "vcs",
+        "url":  "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/AuditBundle.git"
+    }
+],
+"require": {
+    "ik/audit-bundle": "dev-master"
+},
+```
+
+**app/AppKernel.php**:
+
+```php
+public function registerBundles()
+{
+    $bundles = [
+        new AuditBundle\AuditBundle(),
+    ];
+    .
+    .
+}
+```
+
+**app/config/config.yml**:
+
+```yml
+imports:
+    - { resource: "@AuditBundle/Resources/config/services.yml" }
+```

+ 4 - 0
Resources/config/services.yml

@@ -0,0 +1,4 @@
+services:
+#    audit.example:
+#        class: AuditBundle\Example
+#        arguments: ["@service_id", "plain_value", "%parameter%"]

+ 10 - 0
composer.json

@@ -0,0 +1,10 @@
+{
+    "name": "ik/audit-bundle",
+    "description": "The Flowdat3 Audit Bundle",
+    "keywords": ["audit", "bundle"],
+    "autoload": {
+        "psr-4": { "AuditBundle\\": "" }
+    },
+    "version": "1.0",
+    "minimum-stability": "stable"
+}