Composer.json

Default composer.json contents:

{
  "require": {
    "akrabat/rka-ip-address-middleware": "0.5",
    "bryanjhv/slim-session": "~3.0",
    "davidepastore/slim-config": "v0.1.1",
    "dflydev/encrypted-fig-cookies": "^0.0@dev",
    "dflydev/fig-cookies": "^1.0",
    "doctrine/cache": "^1.6",
    "dopesong/slim-whoops": "^2.2",
    "enovision/slim-captcha": "^0.2.0",
    "filp/whoops": "^2.1",
    "gettext/gettext": "^4.4",
    "guzzlehttp/guzzle": "6.3.0",
    "hassankhan/config": "0.10.0",
    "illuminate/database": "^5.4",
    "illuminate/events": "^5.4",
    "ircmaxell/random-lib": "^1.2",
    "kint-php/kint": "^2.1",
    "liuggio/ExcelBundle": "^2.1",
    "monolog/monolog": "^1.23",
    "nesbot/carbon": "^1.22",
    "nochso/html-compress-twig": "^2.0",
    "panique/laravel-sass": "^1.0",
    "php-console/php-console": "^3.1",
    "phpmailer/phpmailer": "^5.2",
    "respect/validation": "^1.1",
    "royopa/fpdf-symfony2": "^2.0",
    "runcmf/runtracy": "^0.2.10",
    "slim/csrf": "^0.8.1",
    "slim/flash": "^0.2.0",
    "slim/middleware": "^1.0",
    "slim/slim": "^3.0",
    "slim/twig-view": "^2.2",
    "symfony/asset": "^3.3",
    "symfony/twig-bridge": "^3.3",
    "twig/extensions": "^1.5",
    "umpirsky/twig-gettext-extractor": "^1.3",
    "enovision/slim-http": "dev-master",
    "enovision/slim-html-wrapper": "dev-master"
  },
  "repositories": [
    {
      "type": "path",
      "url": "../../../vendor.development/enovision/slim-http"
    },
    {
      "type": "path",
      "url": "../../../vendor.development/enovision/slim-html-wrapper"
    }
  ],
  "autoload": {
    "psr-4": {
      "App\\": "app",
      "Db\\": "database",
      "Core\\": "core"
    }
  },
  "config": {
    "sort-packages": true
  }
}

autoload

In the autoload you see the 'psr-4' object with "App", "Db" and "Core". These are namespaced to special folders and can be addressed by their namespace id.

Sample:

<?php
namespace App\Models;

use Db\Eloquent\User as UserModel;
Last update: Tue, 13 Sep 2022 14:32:15