Browse Source

Commit inicial

Ernesto Blanco 3 years ago
commit
ec30f916be
5 changed files with 77 additions and 0 deletions
  1. 2 0
      .gitignore
  2. 1 0
      Procfile
  3. 32 0
      composer.json
  4. 38 0
      composer.lock
  5. 4 0
      index.php

+ 2 - 0
.gitignore

@@ -0,0 +1,2 @@
+vendor/
+.env

+ 1 - 0
Procfile

@@ -0,0 +1 @@
+web: vendor/bin/heroku-php-apache2

+ 32 - 0
composer.json

@@ -0,0 +1,32 @@
+{
+    "name": "bc_ernesto/heroku-php",
+    "description": "Single php deploy for Heroku",
+    "type": "project",
+    "authors": [
+        {
+            "name": "Ernesto Blanco",
+            "email": "mail@ernestoblanco.mx"
+        }
+    ],
+    "require": {
+        "php": "^8.0.0",
+        "ext-bcmath": "*",
+        "ext-calendar": "*",
+        "ext-exif": "*",
+        "ext-ftp": "*",
+        "ext-gd": "*",
+        "ext-gettext": "*",
+        "ext-gmp": "*",
+        "ext-imap": "*",
+        "ext-intl": "*",
+        "ext-ldap": "*",
+        "ext-mbstring": "*",
+        "ext-pcntl": "*",
+        "ext-pdo_sqlite": "*",
+        "ext-shmop": "*",
+        "ext-soap": "*",
+        "ext-sodium": "*",
+        "ext-sqlite3": "*",
+        "ext-xsl": "*"
+    }
+}

+ 38 - 0
composer.lock

@@ -0,0 +1,38 @@
+{
+    "_readme": [
+        "This file locks the dependencies of your project to a known state",
+        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
+        "This file is @generated automatically"
+    ],
+    "content-hash": "91413c6e7d6782dbdda7871fa2487b21",
+    "packages": [],
+    "packages-dev": [],
+    "aliases": [],
+    "minimum-stability": "stable",
+    "stability-flags": [],
+    "prefer-stable": false,
+    "prefer-lowest": false,
+    "platform": {
+        "php": "^8.0.0",
+        "ext-bcmath": "*",
+        "ext-calendar": "*",
+        "ext-exif": "*",
+        "ext-ftp": "*",
+        "ext-gd": "*",
+        "ext-gettext": "*",
+        "ext-gmp": "*",
+        "ext-imap": "*",
+        "ext-intl": "*",
+        "ext-ldap": "*",
+        "ext-mbstring": "*",
+        "ext-pcntl": "*",
+        "ext-pdo_sqlite": "*",
+        "ext-shmop": "*",
+        "ext-soap": "*",
+        "ext-sodium": "*",
+        "ext-sqlite3": "*",
+        "ext-xsl": "*"
+    },
+    "platform-dev": [],
+    "plugin-api-version": "2.1.0"
+}

+ 4 - 0
index.php

@@ -0,0 +1,4 @@
+<?php
+require('vendor/autoload.php');
+phpinfo()
+?>