Release inicial 1.0.0
This commit is contained in:
31
dev/bootstrap.php
Executable file
31
dev/bootstrap.php
Executable file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
// Cargar el autoload desde el directorio adecuado
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
use Koneko\SatCatalogs\Bootstrap\CustomApplication;
|
||||
use Illuminate\Config\Repository as Config;
|
||||
|
||||
$app = new CustomApplication(
|
||||
dirname(__DIR__) // Directorio raíz del paquete
|
||||
);
|
||||
|
||||
// 🔥 Definir el namespace manualmente para evitar errores
|
||||
$app->instance('config', new Config([
|
||||
'app' => [
|
||||
'name' => 'Koneko SAT Catalogs',
|
||||
'namespace' => 'Koneko\\SatCatalogs\\',
|
||||
],
|
||||
]));
|
||||
|
||||
$app->singleton(
|
||||
Illuminate\Contracts\Console\Kernel::class,
|
||||
Koneko\SatCatalogs\Console\Kernel::class
|
||||
);
|
||||
|
||||
$app->singleton(
|
||||
Illuminate\Contracts\Debug\ExceptionHandler::class,
|
||||
Illuminate\Foundation\Exceptions\Handler::class
|
||||
);
|
||||
|
||||
return $app;
|
13
dev/storage/logs/laravel.log
Normal file
13
dev/storage/logs/laravel.log
Normal file
@ -0,0 +1,13 @@
|
||||
[2025-03-10 23:42:24] production.ERROR: The /mnt/md0/www/laravel-modules/laravel-sat-catalogs/dev/bootstrap/cache directory must be present and writable. {"exception":"[object] (Exception(code: 0): The /mnt/md0/www/laravel-modules/laravel-sat-catalogs/dev/bootstrap/cache directory must be present and writable. at /mnt/md0/www/laravel-modules/laravel-sat-catalogs/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php:179)
|
||||
[stacktrace]
|
||||
#0 /mnt/md0/www/laravel-modules/laravel-sat-catalogs/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(132): Illuminate\\Foundation\\PackageManifest->write(Array)
|
||||
#1 /mnt/md0/www/laravel-modules/laravel-sat-catalogs/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(108): Illuminate\\Foundation\\PackageManifest->build()
|
||||
#2 /mnt/md0/www/laravel-modules/laravel-sat-catalogs/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(91): Illuminate\\Foundation\\PackageManifest->getManifest()
|
||||
#3 /mnt/md0/www/laravel-modules/laravel-sat-catalogs/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(80): Illuminate\\Foundation\\PackageManifest->config('aliases')
|
||||
#4 /mnt/md0/www/laravel-modules/laravel-sat-catalogs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\\Foundation\\PackageManifest->aliases()
|
||||
#5 /mnt/md0/www/laravel-modules/laravel-sat-catalogs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(342): Illuminate\\Foundation\\Bootstrap\\RegisterFacades->bootstrap(Object(Koneko\\SatCatalogs\\Bootstrap\\CustomApplication))
|
||||
#6 /mnt/md0/www/laravel-modules/laravel-sat-catalogs/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(474): Illuminate\\Foundation\\Application->bootstrapWith(Array)
|
||||
#7 /mnt/md0/www/laravel-modules/laravel-sat-catalogs/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(196): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
|
||||
#8 /mnt/md0/www/laravel-modules/laravel-sat-catalogs/artisan(14): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
|
||||
#9 {main}
|
||||
"}
|
Reference in New Issue
Block a user