create-prisma-php-app 4.0.0-alpha.1 → 4.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bootstrap.php +10 -10
- package/dist/index.js +351 -424
- package/dist/settings/files-list.json +1 -1
- package/dist/settings/restart-websocket.bat +1 -1
- package/dist/settings/restart-websocket.ts +9 -2
- package/dist/src/Lib/AI/ChatGPTClient.php +147 -0
- package/dist/src/Lib/Auth/Auth.php +544 -0
- package/dist/src/Lib/Auth/AuthConfig.php +89 -0
- package/dist/src/Lib/CacheHandler.php +121 -0
- package/dist/src/Lib/ErrorHandler.php +322 -0
- package/dist/src/Lib/FileManager/UploadFile.php +383 -0
- package/dist/src/Lib/Headers/Boom.php +208 -0
- package/dist/src/Lib/IncludeTracker.php +59 -0
- package/dist/src/Lib/MainLayout.php +215 -0
- package/dist/src/Lib/Middleware/AuthMiddleware.php +154 -0
- package/dist/src/Lib/PHPMailer/Mailer.php +169 -0
- package/dist/src/Lib/PHPX/Exceptions/ComponentValidationException.php +49 -0
- package/dist/src/Lib/PHPX/IPHPX.php +22 -0
- package/dist/src/Lib/PHPX/PHPX.php +173 -0
- package/dist/src/Lib/PHPX/TemplateCompiler.php +584 -0
- package/dist/src/Lib/PHPX/TwMerge.php +195 -0
- package/dist/src/Lib/PHPX/TypeCoercer.php +490 -0
- package/dist/src/Lib/PartialRenderer.php +40 -0
- package/dist/src/Lib/PrismaPHPSettings.php +181 -0
- package/dist/src/Lib/Request.php +476 -0
- package/dist/src/Lib/Set.php +102 -0
- package/dist/src/Lib/StateManager.php +127 -0
- package/dist/src/Lib/Validator.php +738 -0
- package/dist/src/{Websocket → Lib/Websocket}/ConnectionManager.php +1 -1
- package/dist/{websocket-server.php → src/Lib/Websocket/websocket-server.php} +7 -2
- package/dist/src/app/assets/images/prisma-php-black.svg +5 -5
- package/dist/src/app/error.php +1 -1
- package/dist/src/app/index.php +1 -1
- package/dist/src/app/js/index.js +1 -1
- package/dist/src/app/layout.php +2 -2
- package/package.json +1 -1
- package/vendor/autoload.php +0 -25
- package/vendor/composer/ClassLoader.php +0 -579
- package/vendor/composer/InstalledVersions.php +0 -359
- package/vendor/composer/LICENSE +0 -21
- package/vendor/composer/autoload_classmap.php +0 -10
- package/vendor/composer/autoload_namespaces.php +0 -9
- package/vendor/composer/autoload_psr4.php +0 -10
- package/vendor/composer/autoload_real.php +0 -38
- package/vendor/composer/autoload_static.php +0 -25
- package/vendor/composer/installed.json +0 -825
- package/vendor/composer/installed.php +0 -132
- package/vendor/composer/platform_check.php +0 -26
package/dist/bootstrap.php
CHANGED
|
@@ -10,18 +10,18 @@ require_once __DIR__ . '/vendor/autoload.php';
|
|
|
10
10
|
require_once __DIR__ . '/settings/paths.php';
|
|
11
11
|
|
|
12
12
|
use Dotenv\Dotenv;
|
|
13
|
-
use
|
|
14
|
-
use
|
|
15
|
-
use
|
|
16
|
-
use
|
|
17
|
-
use
|
|
18
|
-
use
|
|
19
|
-
use
|
|
20
|
-
use
|
|
21
|
-
use
|
|
13
|
+
use Lib\Request;
|
|
14
|
+
use Lib\PrismaPHPSettings;
|
|
15
|
+
use Lib\StateManager;
|
|
16
|
+
use Lib\Middleware\AuthMiddleware;
|
|
17
|
+
use Lib\Auth\Auth;
|
|
18
|
+
use Lib\MainLayout;
|
|
19
|
+
use Lib\PHPX\TemplateCompiler;
|
|
20
|
+
use Lib\CacheHandler;
|
|
21
|
+
use Lib\ErrorHandler;
|
|
22
22
|
use Firebase\JWT\JWT;
|
|
23
23
|
use Firebase\JWT\Key;
|
|
24
|
-
use
|
|
24
|
+
use Lib\PartialRenderer;
|
|
25
25
|
|
|
26
26
|
final class Bootstrap extends RuntimeException
|
|
27
27
|
{
|