Guillermo Espinoza 7 lat temu
commit
6f012cdf5d

+ 9 - 0
AuthBundle.php

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

+ 17 - 0
Controller/DefaultController.php

@@ -0,0 +1,17 @@
+<?php
+
+namespace AuthBundle\Controller;
+
+use Symfony\Bundle\FrameworkBundle\Controller\Controller;
+use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
+
+class DefaultController extends Controller
+{
+    /**
+     * @Route("/")
+     */
+    public function indexAction()
+    {
+        return $this->render('AuthBundle:Default:index.html.twig');
+    }
+}

+ 39 - 0
README.md

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

+ 4 - 0
Resources/config/services.yml

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

+ 1 - 0
Resources/views/Default/index.html.twig

@@ -0,0 +1 @@
+Hello World!

+ 10 - 0
composer.json

@@ -0,0 +1,10 @@
+{
+    "name": "ik/auth-bundle",
+    "description": "Flowdat 3 Auth Bundle",
+    "keywords": ["Admin Generator", "admin", "auth", "bundle"],
+    "autoload": {
+        "psr-4": { "AuthBundle\\": "" }
+    },
+    "version": "1.0",
+    "minimum-stability": "stable"
+}