
Product
Socket Zero Introduces Automated Remediation PRs
Put vulnerability remediation on autopilot with automated security patches and intelligent dependency upgrades across your GitHub repositories.
sitakgmbh/lara-base
Advanced tools
Erste Schritte
composer create-project laravel/laravel a-cool-project
cd a-cool-project
composer require sitakgmbh/lara-base
.env anpassen.env.example kann als Vorlage genutzt werden.
php artisan lara-base:install
Der Installer erledigt automatisch:
Bei bestehenden Dateien --force verwenden:
php artisan lara-base:install --force
In config/lara-base.php:
'menu' => [
[
'title' => 'Navigation',
'items' => [
[
'label' => 'Dashboard',
'icon' => 'mdi mdi-view-dashboard',
'url' => '/dashboard',
],
[
'label' => 'Berichte',
'icon' => 'mdi mdi-chart-bar',
'children' => [
[
'label' => 'Übersicht',
'url' => '/reports',
],
[
'label' => 'Monatsbericht',
'url' => '/reports/monthly',
],
],
],
],
],
],
In .env:
PWA_ENABLED=true
PWA_NAME="${APP_NAME}"
PWA_THEME_COLOR="#1D4E8F"
Icons sind in public/icons-pwa/ abgelegt.
php artisan webpush:vapid
In .env:
PWA_PUSH_ENABLED=true
PWA_PUSH_QUEUE=false
VAPID_PUBLIC_KEY=...
VAPID_PRIVATE_KEY=...
Kategorien in config/lara-base.php:
'push' => [
'categories' => [
[
'key' => 'system',
'label' => 'System-Meldungen',
'roles' => ['admin'],
],
[
'key' => 'incidents',
'label' => 'Incidents',
'roles' => ['admin'],
],
],
],
Notification versenden:
LaraNotify::send('incidents', 'Titel', 'Nachricht', '/url');
LaraNotify::sendTo($user, 'system', 'Titel', 'Nachricht');
Test:
php artisan pwa:test-push --sync
php artisan pwa:test-push --category=incidents --sync
\LaraLog::info('Nachricht');
\LaraLog::warning('Warnung', ['key' => 'value']);
\LaraLog::error('Fehler', ['exception' => $e->getMessage()]);
\LaraLog::debug('Debug');
// DB-Log
\LaraLog::db('auth', 'info', 'Login erfolgreich', ['user' => 'peter.lustig']);
\LaraLog::db('system', 'error', 'Job fehlgeschlagen');
Log-Kategorien erweitern in config/lara-base.php:
'log_categories' => [
'sap' => 'SAP',
'ldap' => 'LDAP',
],
APP_AUTH_MODE | Beschreibung |
|---|---|
local | Username/Passwort gegen lokale DB |
ldap | LDAP – SSO via REMOTE_USER oder Formular als Fallback |
php artisan vendor:publish --tag=lara-base-views --force
Views landen in resources/views/vendor/lara-base/ und können angepasst werden.
FAQs
Sitak GmbH – Laravel Base Package
We found that sitakgmbh/lara-base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.

Product
Put vulnerability remediation on autopilot with automated security patches and intelligent dependency upgrades across your GitHub repositories.

Product
Socket Zero automates vulnerability remediation with upgrades and targeted patches, including fixes for 100% of known, patchable RubyGems CVEs.

Product
Explore Socket’s redesigned Alerts UI, multi-branch repository monitoring, and new tools for resolving findings, searching scans, and filtering security alerts.