This commit is contained in:
parent
350d7f6351
commit
42df7cac0f
|
|
@ -1,2 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* File: _bootstrap.php
|
||||||
|
*
|
||||||
|
* Author: Funky Waddle
|
||||||
|
* Date: 2026-09-10
|
||||||
|
*
|
||||||
|
* Purpose:
|
||||||
|
* Bootstrap file for the application.
|
||||||
|
*/
|
||||||
require __DIR__ . '/vendor/autoload.php';
|
require __DIR__ . '/vendor/autoload.php';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* File: config/bootstrap.php
|
||||||
|
*
|
||||||
|
* Author: Funky Waddle
|
||||||
|
* Date: 2026-09-10
|
||||||
|
*
|
||||||
|
* Purpose:
|
||||||
|
* Bootstrap configuration and DI container.
|
||||||
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
require __DIR__ . '/../vendor/autoload.php';
|
require __DIR__ . '/../vendor/autoload.php';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* File: public/index.php
|
||||||
|
*
|
||||||
|
* Author: Funky Waddle
|
||||||
|
* Date: 2026-09-10
|
||||||
|
*
|
||||||
|
* Purpose:
|
||||||
|
* Front controller entry point that outputs a simple message.
|
||||||
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
$container = require __DIR__ . '/../config/bootstrap.php';
|
$container = require __DIR__ . '/../config/bootstrap.php';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* File: src/Site/Core/Config.php
|
||||||
|
*
|
||||||
|
* Author: Funky Waddle
|
||||||
|
* Date: 2026-09-10
|
||||||
|
*
|
||||||
|
* Purpose:
|
||||||
|
* Configuration service that loads environment variables and optionally fetches secrets from Infisical.
|
||||||
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace SiteWeaver\Core;
|
namespace SiteWeaver\Core;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* File: src/Site/Core/Router.php
|
||||||
|
*
|
||||||
|
* Author: Funky Waddle
|
||||||
|
* Date: 2026-09-10
|
||||||
|
*
|
||||||
|
* Purpose:
|
||||||
|
* Very small custom router.
|
||||||
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace SiteWeaver\Core;
|
namespace SiteWeaver\Core;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* File: src/Site/Core/ServiceProvider.php
|
||||||
|
*
|
||||||
|
* Author: Funky Waddle
|
||||||
|
* Date: 2026-09-10
|
||||||
|
*
|
||||||
|
* Purpose:
|
||||||
|
* Base class for all service providers.
|
||||||
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace SiteWeaver\Core;
|
namespace SiteWeaver\Core;
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* File: tests/_bootstrap.php
|
||||||
|
*
|
||||||
|
* Author: Funky Waddle
|
||||||
|
* Date: 2026-09-10
|
||||||
|
*
|
||||||
|
* Purpose:
|
||||||
|
* Bootstrap file for Codeception tests.
|
||||||
|
*/
|
||||||
require __DIR__ . '/../vendor/autoload.php';
|
require __DIR__ . '/../vendor/autoload.php';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* File: tests/_support/UnitTester.php
|
||||||
|
*
|
||||||
|
* Author: Funky Waddle
|
||||||
|
* Date: 2026-09-10
|
||||||
|
*
|
||||||
|
* Purpose:
|
||||||
|
* Unit tester support class for Codeception.
|
||||||
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* File: tests/unit/UnitTester.php
|
||||||
|
*
|
||||||
|
* Author: Funky Waddle
|
||||||
|
* Date: 2026-09-10
|
||||||
|
*
|
||||||
|
* Purpose:
|
||||||
|
* Test actor used by Codeception unit suite.
|
||||||
|
*/
|
||||||
|
|
||||||
namespace Tests\unit;
|
namespace Tests\unit;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue