Delete all of the installer stuff from the 3rd party plugin
This commit is contained in:
1
Makefile
1
Makefile
@@ -38,6 +38,7 @@ install: build
|
||||
|
||||
.PHONY: update
|
||||
update: build
|
||||
@php composer.phar update --no-interaction
|
||||
@php artisan migrate
|
||||
@echo "Done!"
|
||||
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
"sebastiaanluca/laravel-helpers": "1.0.2",
|
||||
"jackiedo/timezonelist": "5.x",
|
||||
"tivie/php-os-detector": "1.1.0",
|
||||
"nabeel/laravel-installer": "dev-master",
|
||||
"nabeel/vacentral": "dev-master"
|
||||
},
|
||||
"require-dev": {
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'تنصيب Laravel',
|
||||
'next' => 'متابعة',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'تنصيب Laravel',
|
||||
'message' => 'أهلا بك في صفحة تنصيب Laravel',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'المتطلبات',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'تراخيص المجلدات',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'الإعدادات',
|
||||
'save' => 'حفظ ملف .env',
|
||||
'success' => 'تم حفظ الإعدادات بنجاح',
|
||||
'errors' => 'حدث خطأ أثناء إنشاء ملف .env. رجاءا قم بإنشاءه يدويا',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'النهاية',
|
||||
'finished' => 'تم تنصيب البرنامج بنجاح...',
|
||||
'exit' => 'إضغط هنا للخروج',
|
||||
],
|
||||
];
|
||||
@@ -1,69 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Laravel Installer',
|
||||
'next' => 'Nächster Schritt',
|
||||
'finish' => 'Installieren',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Willkommen zum Installer',
|
||||
'message' => 'Willkommen zum Laravel Installationsassistent.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Vorraussetzungen',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Berechtigungen',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Umgebungsvariablen',
|
||||
'save' => 'Speicher .env',
|
||||
'success' => 'Ihre .env Konfiguration wurde gespeichert.',
|
||||
'errors' => 'Ihre .env Konfiguration konnte nicht gespeichert werden, Bitte erstellen Sie diese Manuell.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Fertig!',
|
||||
'finished' => 'Die Anwendung wurde erfolgreich Installiert.',
|
||||
'exit' => 'Hier Klicken zum Beenden',
|
||||
],
|
||||
];
|
||||
@@ -1,69 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Traducciones compartidas.
|
||||
*
|
||||
*/
|
||||
'title' => 'Instalador de Laravel',
|
||||
'next' => 'Siguiente',
|
||||
'finish' => 'Instalar',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Traducciones de la página principal.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Bienvenido al instalador',
|
||||
'message' => 'Bienvenido al asistente de configuración',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Tranducciones de la página de requisitos.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Requisitos',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Traducciones de la pagina de permisos.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Permisos',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Traducciones de la página de entorno.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Configuraciones del entorno',
|
||||
'save' => 'Guardar archivo .env',
|
||||
'success' => 'Los cambios en tu archivo .env han sido guardados.',
|
||||
'errors' => 'No es posible crear el archivo .env, por favor intentalo manualmente.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Traducciones de la página final.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Finalizado.',
|
||||
'finished' => 'La aplicación ha sido instalada con éxito!',
|
||||
'exit' => 'Haz click aquí para salir.',
|
||||
],
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Laraveli installer',
|
||||
'next' => 'Järgmine samm',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Tere tulemast Laraveli installerisse',
|
||||
'message' => 'Tere tulemast installatsiooniviisardisse.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Nõuded',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Õigused',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Keskkonna seaded',
|
||||
'save' => 'Salvesta .env',
|
||||
'success' => 'Sinu .env faili seaded on salvestatud.',
|
||||
'errors' => 'Ei saanud .env faili salvesta, palun loo see manuaalselt.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Lõpetatud',
|
||||
'finished' => 'Laravel on edukalt installitud',
|
||||
'exit' => 'Väljumiseks vajuta siia',
|
||||
],
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'نصب کننده لاراول',
|
||||
'next' => 'قدم بعدی',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'به نصب کننده خوش آمدید',
|
||||
'message' => 'به جادوگر نصب خوش آمدید .',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'نیازمندی ها',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'مجوز های دسترسی',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'تنظیمات پیکربندی',
|
||||
'save' => 'ذخیره کردن .env',
|
||||
'success' => 'فایل .env برای شما ذخیره شد.',
|
||||
'errors' => 'ذخیره کردن فایل .env امکان پذیر نیست، لطفا آن را به صورت دستی ایجاد کنید.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'تمام شد',
|
||||
'finished' => 'اپلیکیشن با موفقیت نصب شد.',
|
||||
'exit' => 'برای خروج اینجا را کلیک کنید',
|
||||
],
|
||||
];
|
||||
@@ -1,113 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Installateur de Laravel',
|
||||
'next' => 'Suivant',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Bienvenue dans l’installateur...',
|
||||
'message' => 'Bienvenue dans le programme d’installation.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Prérequis',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Permissions',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Paramètres d’environment',
|
||||
'save' => 'Enregistrer .env',
|
||||
'success' => 'Votre fichier .env a été sauvegardé.',
|
||||
'errors' => 'Impossible d’enregistrer le fichier .env, il faut que vous le créiez manuellement.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Terminé',
|
||||
'finished' => 'L’application a été installée avec succès.',
|
||||
'exit' => 'Cliquez ici pour quitter',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Update specific translations
|
||||
*
|
||||
*/
|
||||
'updater' => [
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Updateur de Laravel',
|
||||
|
||||
/**
|
||||
*
|
||||
* Welcome page translations for update feature.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Bienvenue dans l\'updateur...',
|
||||
'message' => 'Bienvenue dans le programme de mise à jour.',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Welcome page translations for update feature.
|
||||
*
|
||||
*/
|
||||
'overview' => [
|
||||
'title' => 'Aperçu',
|
||||
'message' => 'Il y a 1 mise à jour.|Il y a :number mises à jour.',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Terminé',
|
||||
'finished' => 'L’application a été mise à jour avec succès.',
|
||||
'exit' => 'Cliquez ici pour quitter',
|
||||
],
|
||||
],
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Εγκατάσταση Laravel',
|
||||
'next' => 'Επόμενο',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Καλωσήρθαστε στο Installer',
|
||||
'message' => 'Καλωσήρθατε στον οδηγό εγκατάστασης.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Απαιτήσεις συστήματος',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Δικαιώματα',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Ρυθμίσεις Περιβάλλοντος',
|
||||
'save' => 'Αποθήκευση .env αρχείου',
|
||||
'success' => 'Το αρχείο ρυθμίσεων .env έχει αποθηκευτεί με επιτυχία.',
|
||||
'errors' => 'Το αρχείο ρυθμίσεων .env ΔΕΝ μπόρεσε να αποθηκευτεί με επιτυχία. Παρακαλώ δημιουργίστε το χειροκίνητα.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Ολοκληρώθηκε',
|
||||
'finished' => 'Το πρόγραμμά σας εγκαταστάθηκε με επιτυχία.',
|
||||
'exit' => 'Πατήστε εδώ για έξοδο.',
|
||||
],
|
||||
];
|
||||
@@ -1,57 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Laravel Installer',
|
||||
'next' => 'Passo successivo',
|
||||
'finish' => 'Installa',
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Benvenuto al programma di installazione',
|
||||
'message' => 'Benvenuto alla configurazione guidata.',
|
||||
],
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Requisiti',
|
||||
],
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Permessi',
|
||||
],
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Configurazione ambiente',
|
||||
'save' => 'Salva .env',
|
||||
'success' => 'La configurazione del file .env è stata salvata correttamente.',
|
||||
'errors' => 'Impossibile salvare il file .env, per favore crealo manualmente.',
|
||||
],
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Finito',
|
||||
'finished' => 'L\'applicazione è stata configurata correttamente.',
|
||||
'exit' => 'Clicca qui per uscire',
|
||||
],
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Laravel Installer',
|
||||
'next' => 'Volgende stap',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Welkom bij het installatie proces...',
|
||||
'message' => 'Welkom bij de installatiewizard',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Vereisten',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Permissies',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Environment Settings',
|
||||
'save' => '.env Opslaan',
|
||||
'success' => 'Uw .env bestand is opgeslagen.',
|
||||
'errors' => 'Het is niet mogelijk om een .env bestand aan te maken, maak a.u.b het bestand zelf aan.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Voltooid',
|
||||
'finished' => 'Applicatie is succesvol geïnstalleerd.',
|
||||
'exit' => 'Klik hier om af te sluiten.',
|
||||
],
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Laravel Instalator',
|
||||
'next' => 'Następny krok',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Instalacja Laravel',
|
||||
'message' => 'Witaj w kreatorze instalacji.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Wymagania systemowe ',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Uprawnienia',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Ustawnienia środowiska',
|
||||
'save' => 'Zapisz .env',
|
||||
'success' => 'Plik .env został poprawnie zainstalowany.',
|
||||
'errors' => 'Nie można zapisać pliku .env, Proszę utworzyć go ręcznie.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Instalacja zakończona',
|
||||
'finished' => 'Aplikacja została poprawnie zainstalowana.',
|
||||
'exit' => 'Kliknij aby zakończyć',
|
||||
],
|
||||
];
|
||||
@@ -1,69 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Instalador Laravel',
|
||||
'next' => 'Próximo Passo',
|
||||
'finish' => 'Instalar',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Bem-vindo ao Instalador',
|
||||
'message' => 'Bem-vindo ao assistente de configuração.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Requisitos',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Permissões',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Configurações de Ambiente',
|
||||
'save' => 'Salvar .env',
|
||||
'success' => 'Suas configurações de arquivo .env foram salvas.',
|
||||
'errors' => 'Não foi possível salvar o arquivo .env, por favor crie-o manualmente.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Terminado',
|
||||
'finished' => 'Aplicação foi instalada com sucesso',
|
||||
'exit' => 'Clique aqui para sair',
|
||||
],
|
||||
];
|
||||
@@ -1,69 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Instalação de Laravel',
|
||||
'next' => 'Próximo Passo',
|
||||
'finish' => 'Instalar',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Bem-vindo ao Instalador',
|
||||
'message' => 'Bem-vindo ao assistente de configuração.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Requisitos',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Permissões',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Configurações de Ambiente',
|
||||
'save' => 'Salvar .env',
|
||||
'success' => 'As configurações de seu arquivo .env foram gravadas.',
|
||||
'errors' => 'Não foi possível gravar o arquivo .env, por favor crie-o manualmente.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Terminado',
|
||||
'finished' => 'Aplicação foi instalada com sucesso',
|
||||
'exit' => 'Clique aqui para sair',
|
||||
],
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Procesul de instalare Laravel',
|
||||
'next' => 'Pasul următor',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Bun venit în procesul de instalare...',
|
||||
'message' => 'Bun venit în configurarea asistată.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Cerințe',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Permisiuni',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Settări ale mediului',
|
||||
'save' => 'Salvează fișier .env',
|
||||
'success' => 'Setările tale au fost salvate în fișierul .env.',
|
||||
'errors' => 'Nu am putut salva fișierul .env, Te rugăm să-l creezi manual.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Am terminat',
|
||||
'finished' => 'Aplicația a fost instalată cu succes.',
|
||||
'exit' => 'Click aici pentru a ieși',
|
||||
],
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Установка Laravel',
|
||||
'next' => 'Следующий шаг',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Установка Laravel',
|
||||
'message' => 'Добро пожаловать в первоначальную настройку фреймворка Laravel.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => 'Необходимые модули',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => 'Проверка прав на папках',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => 'Настройки окружения',
|
||||
'save' => 'Сохранить .env',
|
||||
'success' => 'Настройки успешно сохранены в файле .env',
|
||||
'errors' => 'Произошла ошибка при сохранении файла .env, пожалуйста, сохраните его вручную',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Готово',
|
||||
'finished' => 'Приложение успешно настроено.',
|
||||
'exit' => 'Нажмите для выхода',
|
||||
],
|
||||
];
|
||||
@@ -1,245 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Kurulum',
|
||||
'next' => 'Sonraki Adım',
|
||||
'back' => 'Önceki Adım',
|
||||
'finish' => 'Kur',
|
||||
'forms' => [
|
||||
'errorTitle' => 'Hatalar tespit edildi :',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'templateTitle' => 'Kurulum\'a Hoşgeldiniz',
|
||||
'title' => 'Kurulum',
|
||||
'message' => 'Kolay Kurulum Sihirbazı.',
|
||||
'next' => 'Gereksinimleri Denetle',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'templateTitle' => 'Adım 1 | Sunucu Gereksinimleri',
|
||||
'title' => 'Sunucu Gereksinimleri',
|
||||
'next' => 'İzinleri Kontrol Et',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'templateTitle' => 'Adım 2 | İzinler',
|
||||
'title' => 'İzinler',
|
||||
'next' => 'Ortam ayarlarına geç',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'menu' => [
|
||||
'templateTitle' => 'Adım 3 | Ortam Ayarları',
|
||||
'title' => 'Ortam Ayarları',
|
||||
'desc' => 'Lütfen uygulamanın <code> .env </code> dosyasını nasıl yapılandıracağınızı seçin.',
|
||||
'wizard-button' => 'Form Sihirbazı Kurulumu ',
|
||||
'classic-button' => 'Klasik Metin Editörü',
|
||||
],
|
||||
'wizard' => [
|
||||
'templateTitle' => 'Adım 3 | Ortam Ayarları | Form sihirbazı',
|
||||
'title' => 'Guided <code>.env</code> Wizard',
|
||||
'tabs' => [
|
||||
'environment' => 'Ortam',
|
||||
'database' => 'Veritabanı',
|
||||
'application' => 'Uygulama'
|
||||
],
|
||||
'form' => [
|
||||
'name_required' => 'Bir ortam adı gerekiyor.',
|
||||
'app_name_label' => 'Uygulama Adı',
|
||||
'app_name_placeholder' => 'Uygulama Adı',
|
||||
'app_environment_label' => 'Uygulama Ortamı',
|
||||
'app_environment_label_local' => 'Yerel',
|
||||
'app_environment_label_developement' => 'Geliştirme',
|
||||
'app_environment_label_qa' => 'qa',
|
||||
'app_environment_label_production' => 'Üretim',
|
||||
'app_environment_label_other' => 'Diğer',
|
||||
'app_environment_placeholder_other' => 'Çevrenizi girin ...',
|
||||
'app_debug_label' => 'Uygulama Hataları Gösterme',
|
||||
'app_debug_label_true' => 'Aktif',
|
||||
'app_debug_label_false' => 'Pasif',
|
||||
'app_log_level_label' => 'Uygulama Günlüğü Düzeyi',
|
||||
'app_log_level_label_debug' => 'hata ayıklama',
|
||||
'app_log_level_label_info' => 'bilgi',
|
||||
'app_log_level_label_notice' => 'haber',
|
||||
'app_log_level_label_warning' => 'uyarı',
|
||||
'app_log_level_label_error' => 'hata',
|
||||
'app_log_level_label_critical' => 'kritik',
|
||||
'app_log_level_label_alert' => 'uyarı',
|
||||
'app_log_level_label_emergency' => 'acil durum',
|
||||
'app_url_label' => 'Uygulama URL\'si',
|
||||
'app_url_placeholder' => 'Uygulama URL\'si',
|
||||
'db_connection_label' => 'Veritabanı Bağlantısı',
|
||||
'db_connection_label_mysql' => 'mysql',
|
||||
'db_connection_label_sqlite' => 'sqlite',
|
||||
'db_connection_label_pgsql' => 'pgsql',
|
||||
'db_connection_label_sqlsrv' => 'sqlsrv',
|
||||
'db_host_label' => 'Veritabanı Sunucusu',
|
||||
'db_host_placeholder' => 'Veritabanı Sunucusu',
|
||||
'db_port_label' => 'Veritabanı Bağlantı Noktası',
|
||||
'db_port_placeholder' => 'Veritabanı Bağlantı Noktası',
|
||||
'db_name_label' => 'Veritabanı Adı',
|
||||
'db_name_placeholder' => 'Veritabanı Adı',
|
||||
'db_username_label' => 'Veritabanı Kullanıcı Adı',
|
||||
'db_username_placeholder' => 'Veritabanı Kullanıcı Adı',
|
||||
'db_password_label' => 'Veritabanı Şifresi',
|
||||
'db_password_placeholder' => 'Veritabanı Şifresi',
|
||||
'app_tabs' => [
|
||||
'more_info' => 'Daha Fazla Bilgi',
|
||||
'broadcasting_title' => 'Yayıncılık, Önbellekleme, Oturum & Kuyruk',
|
||||
'broadcasting_label' => 'Yayıncı Sürücüsü',
|
||||
'broadcasting_placeholder' => 'Yayıncı Sürücüsü',
|
||||
'cache_label' => 'Önbellek Sürücüsü',
|
||||
'cache_placeholder' => 'Önbellek Sürücüsü',
|
||||
'session_label' => 'Oturum Sürücüsü',
|
||||
'session_placeholder' => 'Oturum Sürücüsü',
|
||||
'queue_label' => 'Kuyruk Sürücüsü',
|
||||
'queue_placeholder' => 'Kuyruk Sürücüsü',
|
||||
'redis_label' => 'Redis Sürücüsü',
|
||||
'redis_host' => 'Redis Host',
|
||||
'redis_password' => 'Redis Şifre',
|
||||
'redis_port' => 'Redis Port',
|
||||
|
||||
'mail_label' => 'Mail',
|
||||
'mail_driver_label' => 'Posta Sürücüsü',
|
||||
'mail_driver_placeholder' => 'Posta Sürücüsü',
|
||||
'mail_host_label' => 'Posta Sunucusu',
|
||||
'mail_host_placeholder' => 'Posta Sunucusu',
|
||||
'mail_port_label' => 'Posta Bağlantı Noktası',
|
||||
'mail_port_placeholder' => 'Posta Bağlantı Noktası',
|
||||
'mail_username_label' => 'Posta Kullanıcı Adı',
|
||||
'mail_username_placeholder' => 'Posta Kullanıcı Adı',
|
||||
'mail_password_label' => 'Posta Parolası',
|
||||
'mail_password_placeholder' => 'Posta Parolası',
|
||||
'mail_encryption_label' => 'Posta Güvenlik Türü',
|
||||
'mail_encryption_placeholder' => 'Posta Güvenlik Türü',
|
||||
|
||||
'pusher_label' => 'Pusher',
|
||||
'pusher_app_id_label' => 'İtici Uygulama Kimliği',
|
||||
'pusher_app_id_palceholder' => 'İtici Uygulama Kimliği',
|
||||
'pusher_app_key_label' => 'İtici Uygulama Anahtarı',
|
||||
'pusher_app_key_palceholder' => 'İtici Uygulama Anahtarı',
|
||||
'pusher_app_secret_label' => 'Pusher App Secret',
|
||||
'pusher_app_secret_palceholder' => 'Pusher App Secret',
|
||||
],
|
||||
'buttons' => [
|
||||
'setup_database' => 'Veritabanı Ayarları',
|
||||
'setup_application' => 'Uygulama Ayarları',
|
||||
'install' => 'Yükle',
|
||||
],
|
||||
],
|
||||
],
|
||||
'classic' => [
|
||||
'templateTitle' => '3. Adım | Ortam Ayarları | Klasik Editör ',
|
||||
'title' => 'Klasik Metin Editörü',
|
||||
'save' => 'Kaydet (.env)',
|
||||
'back' => 'Form Sihirbazını Kullan',
|
||||
'install' => 'Yükle',
|
||||
],
|
||||
'success' => '.env dosyası ayarları kaydedildi.',
|
||||
'errors' => '.env dosyasını kaydedemiyoruz, lütfen el ile oluşturun.',
|
||||
],
|
||||
|
||||
'install' => 'Kurulum',
|
||||
|
||||
/**
|
||||
*
|
||||
* Installed Log translations.
|
||||
*
|
||||
*/
|
||||
'installed' => [
|
||||
'success_log_message' => 'Uygulama başarıyla KURULDU ',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Kurulum Bitti',
|
||||
'templateTitle' => 'Kurulum Bitti',
|
||||
'finished' => 'Uygulama başarıyla kuruldu.',
|
||||
'migration' => 'Veritabanı Konsolu Çıktısı: ',
|
||||
'console' => 'Uygulama Konsolu Çıktısı:',
|
||||
'log' => 'Kurulum Günlüğü Girişi:',
|
||||
'env' => 'Son .env Dosyası:',
|
||||
'exit' => 'Çıkmak için burayı tıklayın',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Update specific translations
|
||||
*
|
||||
*/
|
||||
'updater' => [
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Güncelleyici',
|
||||
|
||||
/**
|
||||
*
|
||||
* Welcome page translations for update feature.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Güncelleyiciye Hoş Geldiniz',
|
||||
'message' => 'Güncelleme sihirbazına hoş geldiniz.',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Welcome page translations for update feature.
|
||||
*
|
||||
*/
|
||||
'overview' => [
|
||||
'title' => 'Genel bakış',
|
||||
'message' => '1 güncelleme var.| :number güncellemeleri var.',
|
||||
'install_updates' => "Güncellemeyi yükle"
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Tamamlandı',
|
||||
'finished' => 'Uygulamanın veritabanını başarıyla güncelleştirildi.',
|
||||
'exit' => 'Çıkmak ve uygulamayı başlatmak için buraya tıklayın',
|
||||
],
|
||||
|
||||
'log' => [
|
||||
'success_message' => 'Uygulama GÜNCELLENDİ ',
|
||||
],
|
||||
],
|
||||
];
|
||||
@@ -1,69 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Laravel安装程序',
|
||||
'next' => '下一步',
|
||||
'finish' => '安装',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => '欢迎来到Laravel安装程序',
|
||||
'message' => '欢迎来到安装向导.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => '环境要求',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => '权限',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => '环境设置',
|
||||
'save' => '保存 .env',
|
||||
'success' => '.env 文件保存成功.',
|
||||
'errors' => '无法保存 .env 文件, 请手动创建它.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => '完成',
|
||||
'finished' => '应用已成功安装.',
|
||||
'exit' => '点击退出',
|
||||
],
|
||||
];
|
||||
@@ -1,69 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Laravel安裝程序',
|
||||
'next' => '下一步',
|
||||
'finish' => '安裝',
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => '歡迎來到Laravel安裝程序',
|
||||
'message' => '歡迎來到安裝嚮導.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'title' => '環境要求',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'title' => '權限',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'title' => '環境設置',
|
||||
'save' => '保存 .env',
|
||||
'success' => '.env 文件保存成功.',
|
||||
'errors' => '無法保存 .env 文件, 請手動創建它.',
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => '完成',
|
||||
'finished' => '應用已成功安裝.',
|
||||
'exit' => '點擊退出',
|
||||
],
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
|
||||
class $CLASS$ extends Command
|
||||
{
|
||||
/**
|
||||
* The console command name.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $name = '$COMMAND_NAME$';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Command description.';
|
||||
|
||||
/**
|
||||
* Create a new command instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the console command arguments.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function getArguments()
|
||||
{
|
||||
return [
|
||||
['example', InputArgument::REQUIRED, 'An example argument.'],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the console command options.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function getOptions()
|
||||
{
|
||||
return [
|
||||
['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null],
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"name": "$VENDOR$/$LOWER_NAME$",
|
||||
"description": "",
|
||||
"authors": [
|
||||
{
|
||||
"name": "$AUTHOR_NAME$",
|
||||
"email": "$AUTHOR_EMAIL$"
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"$MODULE_NAMESPACE$\\$STUDLY_NAME$\\Providers\\$STUDLY_NAME$ServiceProvider",
|
||||
"$MODULE_NAMESPACE$\\$STUDLY_NAME$\\Providers\\EventServiceProvider"
|
||||
],
|
||||
"aliases": {
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"$MODULE_NAMESPACE$\\$STUDLY_NAME$\\": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $MODULE_NAMESPACE$\$STUDLY_NAME$\Http\Controllers;
|
||||
|
||||
use App\Http\Controllers\AppBaseController;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
|
||||
class AdminController extends AppBaseController
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return view('$LOWER_NAME$::admin.index');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('$LOWER_NAME$::admin.create');
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Request $request)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the specified resource.
|
||||
*/
|
||||
public function show()
|
||||
{
|
||||
return view('$LOWER_NAME$::admin.show');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit()
|
||||
{
|
||||
return view('$LOWER_NAME$::admin.edit');
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Request $request)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $CLASS_NAMESPACE$;
|
||||
|
||||
use Illuminate\Routing\Controller;
|
||||
|
||||
class $CLASS$ extends Controller
|
||||
{
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $CLASS_NAMESPACE$;
|
||||
|
||||
use App\Http\Controllers\AppBaseController;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
|
||||
class $CLASS$ extends AppBaseController
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return view('$LOWER_NAME$::index');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('$LOWER_NAME$::create');
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
* @param Request $request
|
||||
*/
|
||||
public function store(Request $request)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the specified resource.
|
||||
*/
|
||||
public function show()
|
||||
{
|
||||
return view('$LOWER_NAME$::show');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit()
|
||||
{
|
||||
return view('$LOWER_NAME$::edit');
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Request $request)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $MODULE_NAMESPACE$\$STUDLY_NAME$\Providers;
|
||||
|
||||
use App\Events\TestEvent;
|
||||
use $MODULE_NAMESPACE$\$STUDLY_NAME$\Listeners\TestEventListener;
|
||||
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||
|
||||
class EventServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* The event listener mappings for the application.
|
||||
*/
|
||||
protected $listen = [
|
||||
TestEvent::class => [TestEventListener::class],
|
||||
];
|
||||
|
||||
/**
|
||||
* Register any events for your application.
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
parent::boot();
|
||||
}
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class $CLASS$
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the channels the event should be broadcast on.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function broadcastOn()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(Model::class, function (Faker $faker) {
|
||||
return [
|
||||
//
|
||||
];
|
||||
});
|
||||
@@ -1,34 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
|
||||
class $CLASS$ implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
|
||||
class $CLASS$ implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, Queueable;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"name": "$STUDLY_NAME$",
|
||||
"alias": "$LOWER_NAME$",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"active": 1,
|
||||
"order": 0,
|
||||
"providers": [
|
||||
"$MODULE_NAMESPACE$\\$STUDLY_NAME$\\Providers\\$STUDLY_NAME$ServiceProvider",
|
||||
"$MODULE_NAMESPACE$\\$STUDLY_NAME$\\Providers\\EventServiceProvider"
|
||||
],
|
||||
"aliases": {},
|
||||
"files": [],
|
||||
"requires": []
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
|
||||
class $CLASS$
|
||||
{
|
||||
/**
|
||||
* Create the event listener.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param object $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle($event)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
|
||||
class $CLASS$ implements ShouldQueue
|
||||
{
|
||||
use InteractsWithQueue;
|
||||
|
||||
/**
|
||||
* Create the event listener.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param object $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle($event)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use $EVENTNAME$;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
|
||||
class $CLASS$ implements ShouldQueue
|
||||
{
|
||||
use InteractsWithQueue;
|
||||
|
||||
/**
|
||||
* Create the event listener.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param $SHORTEVENTNAME$ $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle($SHORTEVENTNAME$ $event)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $MODULE_NAMESPACE$\$STUDLY_NAME$\Listeners;
|
||||
|
||||
use App\Events\TestEvent;
|
||||
use Log;
|
||||
|
||||
class TestEventListener
|
||||
{
|
||||
/**
|
||||
* Handle the event.
|
||||
*/
|
||||
public function handle(TestEvent $event) {
|
||||
Log::info('Received event', [$event]);
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use $EVENTNAME$;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
|
||||
class $CLASS$
|
||||
{
|
||||
/**
|
||||
* Create the event listener.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param $SHORTEVENTNAME$ $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle($SHORTEVENTNAME$ $event)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
|
||||
class $CLASS$ extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Build the message.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function build()
|
||||
{
|
||||
return $this->view('view.name');
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class $CLASS$
|
||||
{
|
||||
/**
|
||||
* Handle an incoming request.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Closure $next
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle(Request $request, Closure $next)
|
||||
{
|
||||
return $next($request);
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class $CLASS$ extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('$TABLE$', function (Blueprint $table) {
|
||||
$FIELDS_UP$
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('$TABLE$', function (Blueprint $table) {
|
||||
$FIELDS_DOWN$
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class $CLASS$ extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('$TABLE$', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$FIELDS$
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('$TABLE$');
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class $CLASS$ extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('$TABLE$', function (Blueprint $table) {
|
||||
$FIELDS_UP$
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('$TABLE$', function (Blueprint $table) {
|
||||
$FIELDS_DOWN$
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class $CLASS$ extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::dropIfExists('$TABLE$');
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::create('$TABLE$', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$FIELDS$
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class $CLASS$ extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class $CLASS$ extends Model
|
||||
{
|
||||
protected $fillable = $FILLABLE$;
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Notifications\Notification;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
|
||||
class $CLASS$ extends Notification
|
||||
{
|
||||
use Queueable;
|
||||
|
||||
/**
|
||||
* Create a new notification instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the notification's delivery channels.
|
||||
*
|
||||
* @param mixed $notifiable
|
||||
* @return array
|
||||
*/
|
||||
public function via($notifiable)
|
||||
{
|
||||
return ['mail'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the mail representation of the notification.
|
||||
*
|
||||
* @param mixed $notifiable
|
||||
* @return \Illuminate\Notifications\Messages\MailMessage
|
||||
*/
|
||||
public function toMail($notifiable)
|
||||
{
|
||||
return (new MailMessage)
|
||||
->line('The introduction to the notification.')
|
||||
->action('Notification Action', 'https://laravel.com')
|
||||
->line('Thank you for using our application!');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the array representation of the notification.
|
||||
*
|
||||
* @param mixed $notifiable
|
||||
* @return array
|
||||
*/
|
||||
public function toArray($notifiable)
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Auth\Access\HandlesAuthorization;
|
||||
|
||||
class $CLASS$
|
||||
{
|
||||
use HandlesAuthorization;
|
||||
|
||||
/**
|
||||
* Create a new policy instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class $CLASS$ extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Indicates if loading of the provider is deferred.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $defer = false;
|
||||
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the services provided by the provider.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function provides()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class $CLASS$ extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Http\Resources\Json\ResourceCollection;
|
||||
|
||||
class $CLASS$ extends ResourceCollection
|
||||
{
|
||||
/**
|
||||
* Transform the resource collection into an array.
|
||||
*
|
||||
* @param \Illuminate\Http\Request
|
||||
* @return array
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
return parent::toArray($request);
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Http\Resources\Json\Resource;
|
||||
|
||||
class $CLASS$ extends Resource
|
||||
{
|
||||
/**
|
||||
* Transform the resource into an array.
|
||||
*
|
||||
* @param \Illuminate\Http\Request
|
||||
* @return array
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
return parent::toArray($request);
|
||||
}
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Routing\Router;
|
||||
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
|
||||
|
||||
class $CLASS$ extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* The root namespace to assume when generating URLs to actions.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $rootUrlNamespace = '$MODULE_NAMESPACE$\$MODULE$\Http\Controllers';
|
||||
|
||||
/**
|
||||
* Called before routes are registered.
|
||||
*
|
||||
* Register any model bindings or pattern based filters.
|
||||
*
|
||||
* @param Router $router
|
||||
* @return void
|
||||
*/
|
||||
public function before(Router $router)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Define the routes for the application.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function map(Router $router)
|
||||
{
|
||||
// if (!app()->routesAreCached()) {
|
||||
// require __DIR__ . '$ROUTES_PATH$';
|
||||
// }
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
|
||||
Route::group(['middleware' => [
|
||||
'role:admin|user' # leave blank to make this public
|
||||
]], function() {
|
||||
|
||||
# all your routes are prefixed with the above prefix
|
||||
# e.g. yoursite.com/sample
|
||||
Route::get('/', '$STUDLY_NAME$Controller@index');
|
||||
|
||||
# This is the admin path. Comment this out if you don't have
|
||||
# an admin panel component.
|
||||
Route::group([
|
||||
'middleware' => ['role:admin'],
|
||||
], function () {
|
||||
Route::get('/admin', 'AdminController@index');
|
||||
});
|
||||
});
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Contracts\Validation\Rule;
|
||||
|
||||
class $CLASS$ implements Rule
|
||||
{
|
||||
/**
|
||||
* Create a new rule instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the validation rule passes.
|
||||
*
|
||||
* @param string $attribute
|
||||
* @param mixed $value
|
||||
* @return bool
|
||||
*/
|
||||
public function passes($attribute, $value)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation error message.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function message()
|
||||
{
|
||||
return 'The validation error message.';
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'name' => '$STUDLY_NAME$'
|
||||
];
|
||||
@@ -1,132 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Database\Eloquent\Factory;
|
||||
use Route;
|
||||
|
||||
|
||||
class $CLASS$ extends ServiceProvider
|
||||
{
|
||||
protected $defer = false;
|
||||
protected $moduleSvc;
|
||||
|
||||
/**
|
||||
* Boot the application events.
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
$this->moduleSvc = app('App\Services\ModuleService');
|
||||
|
||||
$this->registerRoutes();
|
||||
$this->registerTranslations();
|
||||
$this->registerConfig();
|
||||
$this->registerViews();
|
||||
|
||||
$this->registerLinks();
|
||||
|
||||
$this->registerFactories();
|
||||
$this->loadMigrationsFrom(__DIR__ . '/../$MIGRATIONS_PATH$');
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the service provider.
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Add module links here
|
||||
*/
|
||||
public function registerLinks()
|
||||
{
|
||||
// Show this link if logged in
|
||||
// $this->moduleSvc->addFrontendLink('$STUDLY_NAME$', '/$LOWER_NAME$', '', $logged_in=true);
|
||||
|
||||
// Admin links:
|
||||
$this->moduleSvc->addAdminLink('$STUDLY_NAME$', '/$LOWER_NAME$/admin');
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the routes
|
||||
*/
|
||||
protected function registerRoutes()
|
||||
{
|
||||
Route::group([
|
||||
'as' => '$LOWER_NAME$.',
|
||||
'prefix' => '$LOWER_NAME$',
|
||||
// If you want a RESTful module, change this to 'api'
|
||||
'middleware' => ['web'],
|
||||
'namespace' => '$MODULE_NAMESPACE$\$STUDLY_NAME$\Http\Controllers'
|
||||
], function() {
|
||||
$this->loadRoutesFrom(__DIR__ . '/../Http/routes.php');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Register config.
|
||||
*/
|
||||
protected function registerConfig()
|
||||
{
|
||||
$this->publishes([
|
||||
__DIR__.'/../$PATH_CONFIG$/config.php' => config_path('$LOWER_NAME$.php'),
|
||||
], 'config');
|
||||
|
||||
$this->mergeConfigFrom(
|
||||
__DIR__.'/../$PATH_CONFIG$/config.php', '$LOWER_NAME$'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register views.
|
||||
*/
|
||||
public function registerViews()
|
||||
{
|
||||
$viewPath = resource_path('views/modules/$LOWER_NAME$');
|
||||
$sourcePath = __DIR__.'/../$PATH_VIEWS$';
|
||||
|
||||
$this->publishes([
|
||||
$sourcePath => $viewPath
|
||||
],'views');
|
||||
|
||||
$this->loadViewsFrom(array_merge(array_map(function ($path) {
|
||||
return $path . '/modules/$LOWER_NAME$';
|
||||
}, \Config::get('view.paths')), [$sourcePath]), '$LOWER_NAME$');
|
||||
}
|
||||
|
||||
/**
|
||||
* Register translations.
|
||||
*/
|
||||
public function registerTranslations()
|
||||
{
|
||||
$langPath = resource_path('lang/modules/$LOWER_NAME$');
|
||||
|
||||
if (is_dir($langPath)) {
|
||||
$this->loadTranslationsFrom($langPath, '$LOWER_NAME$');
|
||||
} else {
|
||||
$this->loadTranslationsFrom(__DIR__ .'/../$PATH_LANG$', '$LOWER_NAME$');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Register an additional directory of factories.
|
||||
* @source https://github.com/sebastiaanluca/laravel-resource-flow/blob/develop/src/Modules/ModuleServiceProvider.php#L66
|
||||
*/
|
||||
public function registerFactories()
|
||||
{
|
||||
if (! app()->environment('production')) {
|
||||
app(Factory::class)->load(__DIR__ . '/../$FACTORIES_PATH$');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the services provided by the provider.
|
||||
*/
|
||||
public function provides()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class $NAME$ extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Model::unguard();
|
||||
|
||||
// $this->call("OthersTableSeeder");
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register Namespaces And Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When a module starting, this file will executed automatically. This helps
|
||||
| to register some namespaces like translator or view. Also this file
|
||||
| will load the routes file for each module. You may also modify
|
||||
| this file as you want.
|
||||
|
|
||||
*/
|
||||
|
||||
/*if (!app()->routesAreCached()) {
|
||||
require __DIR__ . '$ROUTES_LOCATION$';
|
||||
}*/
|
||||
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use Tests\TestCase;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
|
||||
class $CLASS$ extends TestCase
|
||||
{
|
||||
/**
|
||||
* A basic test example.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testExample()
|
||||
{
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{{--
|
||||
You probably don't want to edit anything here. Just make
|
||||
sure to extend this in your views. It will pass the content section through
|
||||
--}}
|
||||
@extends('admin.app')
|
||||
@@ -1,5 +0,0 @@
|
||||
{{--
|
||||
You probably don't want to edit anything here. Just make
|
||||
sure to extend this in your views. It will pass the content section through
|
||||
--}}
|
||||
@extends('layouts.' . config('phpvms.skin') . '.app')
|
||||
@@ -1,18 +0,0 @@
|
||||
@extends('$LOWER_NAME$::layouts.admin')
|
||||
|
||||
@section('title', '$STUDLY_NAME$')
|
||||
@section('actions')
|
||||
<li>
|
||||
<a href="{!! url('/$LOWER_NAME$/admin/create') !!}">
|
||||
<i class="ti-plus"></i>
|
||||
Add New</a>
|
||||
</li>
|
||||
@endsection
|
||||
@section('content')
|
||||
<div class="card border-blue-bottom">
|
||||
<div class="header"><h4 class="title">Admin Scaffold!</h4></div>
|
||||
<div class="content">
|
||||
<p>This view is loaded from module: {!! config('$LOWER_NAME$.name') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@@ -1,9 +0,0 @@
|
||||
@extends('$LOWER_NAME$::layouts.frontend')
|
||||
|
||||
@section('content')
|
||||
<h1>Hello World</h1>
|
||||
|
||||
<p>
|
||||
This view is loaded from module: {!! config('$LOWER_NAME$.name') !!}
|
||||
</p>
|
||||
@endsection
|
||||
@@ -1,38 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master')
|
||||
|
||||
@section('template_title')
|
||||
{{ trans('installer_messages.environment.classic.templateTitle') }}
|
||||
@endsection
|
||||
|
||||
@section('title')
|
||||
<i class="fa fa-code fa-fw" aria-hidden="true"></i> {{ trans('installer_messages.environment.classic.title') }}
|
||||
@endsection
|
||||
|
||||
@section('container')
|
||||
|
||||
<form method="post" action="{{ route('LaravelInstaller::environmentSaveClassic') }}">
|
||||
{!! csrf_field() !!}
|
||||
<textarea class="textarea" name="envConfig">{{ $envConfig }}</textarea>
|
||||
<div class="buttons buttons--right">
|
||||
<button class="button button--light" type="submit">
|
||||
<i class="fa fa-floppy-o fa-fw" aria-hidden="true"></i>
|
||||
{!! trans('installer_messages.environment.classic.save') !!}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@if( ! isset($environment['errors']))
|
||||
<div class="buttons-container">
|
||||
<a class="button float-left" href="{{ route('LaravelInstaller::environmentWizard') }}">
|
||||
<i class="fa fa-sliders fa-fw" aria-hidden="true"></i>
|
||||
{!! trans('installer_messages.environment.classic.back') !!}
|
||||
</a>
|
||||
<a class="button float-right" href="{{ route('LaravelInstaller::database') }}">
|
||||
<i class="fa fa-check fa-fw" aria-hidden="true"></i>
|
||||
{!! trans('installer_messages.environment.classic.install') !!}
|
||||
<i class="fa fa-angle-double-right fa-fw" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@endsection
|
||||
@@ -1,523 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master')
|
||||
|
||||
@section('template_title')
|
||||
{{ trans('installer_messages.environment.wizard.templateTitle') }}
|
||||
@endsection
|
||||
|
||||
@section('title')
|
||||
<i class="fa fa-magic fa-fw" aria-hidden="true"></i>
|
||||
{!! trans('installer_messages.environment.wizard.title') !!}
|
||||
@endsection
|
||||
|
||||
@section('container')
|
||||
<div class="tabs tabs-full">
|
||||
|
||||
<input id="tab1" type="radio" name="tabs" class="tab-input" checked />
|
||||
<label for="tab1" class="tab-label">
|
||||
<i class="fa fa-cog fa-2x fa-fw" aria-hidden="true"></i>
|
||||
<br />
|
||||
{{ trans('installer_messages.environment.wizard.tabs.environment') }}
|
||||
</label>
|
||||
|
||||
<input id="tab2" type="radio" name="tabs" class="tab-input" />
|
||||
<label for="tab2" class="tab-label">
|
||||
<i class="fa fa-database fa-2x fa-fw" aria-hidden="true"></i>
|
||||
<br />
|
||||
{{ trans('installer_messages.environment.wizard.tabs.database') }}
|
||||
</label>
|
||||
|
||||
<input id="tab3" type="radio" name="tabs" class="tab-input" />
|
||||
<label for="tab3" class="tab-label">
|
||||
<i class="fa fa-cogs fa-2x fa-fw" aria-hidden="true"></i>
|
||||
<br />
|
||||
{{ trans('installer_messages.environment.wizard.tabs.application') }}
|
||||
</label>
|
||||
|
||||
<form method="post" action="{{ route('LaravelInstaller::environmentSaveWizard') }}" class="tabs-wrap">
|
||||
<div class="tab" id="tab1content">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="form-group {{ $errors->has('app_name') ? ' has-error ' : '' }}">
|
||||
<label for="app_name">
|
||||
{{ trans('installer_messages.environment.wizard.form.app_name_label') }}
|
||||
</label>
|
||||
<input type="text" name="app_name" id="app_name" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_name_placeholder') }}" />
|
||||
@if ($errors->has('app_name'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('app_name') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('environment') ? ' has-error ' : '' }}">
|
||||
<label for="environment">
|
||||
{{ trans('installer_messages.environment.wizard.form.app_environment_label') }}
|
||||
</label>
|
||||
<select name="environment" id="environment" onchange='checkEnvironment(this.value);'>
|
||||
<option value="local" selected>{{ trans('installer_messages.environment.wizard.form.app_environment_label_local') }}</option>
|
||||
<option value="development">{{ trans('installer_messages.environment.wizard.form.app_environment_label_developement') }}</option>
|
||||
<option value="qa">{{ trans('installer_messages.environment.wizard.form.app_environment_label_qa') }}</option>
|
||||
<option value="production">{{ trans('installer_messages.environment.wizard.form.app_environment_label_production') }}</option>
|
||||
<option value="other">{{ trans('installer_messages.environment.wizard.form.app_environment_label_other') }}</option>
|
||||
</select>
|
||||
<div id="environment_text_input" style="display: none;">
|
||||
<input type="text" name="environment_custom" id="environment_custom" placeholder="{{ trans('installer_messages.environment.wizard.form.app_environment_placeholder_other') }}"/>
|
||||
</div>
|
||||
@if ($errors->has('app_name'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('app_name') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('app_debug') ? ' has-error ' : '' }}">
|
||||
<label for="app_debug">
|
||||
{{ trans('installer_messages.environment.wizard.form.app_debug_label') }}
|
||||
</label>
|
||||
<label for="app_debug_true">
|
||||
<input type="radio" name="app_debug" id="app_debug_true" value=true checked />
|
||||
{{ trans('installer_messages.environment.wizard.form.app_debug_label_true') }}
|
||||
</label>
|
||||
<label for="app_debug_false">
|
||||
<input type="radio" name="app_debug" id="app_debug_false" value=false />
|
||||
{{ trans('installer_messages.environment.wizard.form.app_debug_label_false') }}
|
||||
</label>
|
||||
@if ($errors->has('app_debug'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('app_debug') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('app_log_level') ? ' has-error ' : '' }}">
|
||||
<label for="app_log_level">
|
||||
{{ trans('installer_messages.environment.wizard.form.app_log_level_label') }}
|
||||
</label>
|
||||
<select name="app_log_level" id="app_log_level">
|
||||
<option value="debug" selected>{{ trans('installer_messages.environment.wizard.form.app_log_level_label_debug') }}</option>
|
||||
<option value="info">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_info') }}</option>
|
||||
<option value="notice">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_notice') }}</option>
|
||||
<option value="warning">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_warning') }}</option>
|
||||
<option value="error">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_error') }}</option>
|
||||
<option value="critical">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_critical') }}</option>
|
||||
<option value="alert">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_alert') }}</option>
|
||||
<option value="emergency">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_emergency') }}</option>
|
||||
</select>
|
||||
@if ($errors->has('app_log_level'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('app_log_level') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('app_url') ? ' has-error ' : '' }}">
|
||||
<label for="app_url">
|
||||
{{ trans('installer_messages.environment.wizard.form.app_url_label') }}
|
||||
</label>
|
||||
<input type="url" name="app_url" id="app_url" value="http://localhost" placeholder="{{ trans('installer_messages.environment.wizard.form.app_url_placeholder') }}" />
|
||||
@if ($errors->has('app_url'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('app_url') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="buttons">
|
||||
<button class="button" onclick="showDatabaseSettings();return false">
|
||||
{{ trans('installer_messages.environment.wizard.form.buttons.setup_database') }}
|
||||
<i class="fa fa-angle-right fa-fw" aria-hidden="true"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab" id="tab2content">
|
||||
|
||||
<div class="form-group {{ $errors->has('database_connection') ? ' has-error ' : '' }}">
|
||||
<label for="database_connection">
|
||||
{{ trans('installer_messages.environment.wizard.form.db_connection_label') }}
|
||||
</label>
|
||||
<select name="database_connection" id="database_connection">
|
||||
<option value="mysql" selected>{{ trans('installer_messages.environment.wizard.form.db_connection_label_mysql') }}</option>
|
||||
<option value="sqlite">{{ trans('installer_messages.environment.wizard.form.db_connection_label_sqlite') }}</option>
|
||||
<option value="pgsql">{{ trans('installer_messages.environment.wizard.form.db_connection_label_pgsql') }}</option>
|
||||
<option value="sqlsrv">{{ trans('installer_messages.environment.wizard.form.db_connection_label_sqlsrv') }}</option>
|
||||
</select>
|
||||
@if ($errors->has('database_connection'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('database_connection') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('database_hostname') ? ' has-error ' : '' }}">
|
||||
<label for="database_hostname">
|
||||
{{ trans('installer_messages.environment.wizard.form.db_host_label') }}
|
||||
</label>
|
||||
<input type="text" name="database_hostname" id="database_hostname" value="127.0.0.1" placeholder="{{ trans('installer_messages.environment.wizard.form.db_host_placeholder') }}" />
|
||||
@if ($errors->has('database_hostname'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('database_hostname') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('database_port') ? ' has-error ' : '' }}">
|
||||
<label for="database_port">
|
||||
{{ trans('installer_messages.environment.wizard.form.db_port_label') }}
|
||||
</label>
|
||||
<input type="number" name="database_port" id="database_port" value="3306" placeholder="{{ trans('installer_messages.environment.wizard.form.db_port_placeholder') }}" />
|
||||
@if ($errors->has('database_port'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('database_port') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('database_name') ? ' has-error ' : '' }}">
|
||||
<label for="database_name">
|
||||
{{ trans('installer_messages.environment.wizard.form.db_name_label') }}
|
||||
</label>
|
||||
<input type="text" name="database_name" id="database_name" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.db_name_placeholder') }}" />
|
||||
@if ($errors->has('database_name'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('database_name') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('database_username') ? ' has-error ' : '' }}">
|
||||
<label for="database_username">
|
||||
{{ trans('installer_messages.environment.wizard.form.db_username_label') }}
|
||||
</label>
|
||||
<input type="text" name="database_username" id="database_username" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.db_username_placeholder') }}" />
|
||||
@if ($errors->has('database_username'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('database_username') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('database_password') ? ' has-error ' : '' }}">
|
||||
<label for="database_password">
|
||||
{{ trans('installer_messages.environment.wizard.form.db_password_label') }}
|
||||
</label>
|
||||
<input type="password" name="database_password" id="database_password" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.db_password_placeholder') }}" />
|
||||
@if ($errors->has('database_password'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('database_password') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="buttons">
|
||||
<button class="button" onclick="showApplicationSettings();return false">
|
||||
{{ trans('installer_messages.environment.wizard.form.buttons.setup_application') }}
|
||||
<i class="fa fa-angle-right fa-fw" aria-hidden="true"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab" id="tab3content">
|
||||
<div class="block">
|
||||
<input type="radio" name="appSettingsTabs" id="appSettingsTab1" value="null" checked />
|
||||
<label for="appSettingsTab1">
|
||||
<span>
|
||||
{{ trans('installer_messages.environment.wizard.form.app_tabs.broadcasting_title') }}
|
||||
</span>
|
||||
</label>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="info">
|
||||
<div class="form-group {{ $errors->has('broadcast_driver') ? ' has-error ' : '' }}">
|
||||
<label for="broadcast_driver">{{ trans('installer_messages.environment.wizard.form.app_tabs.broadcasting_label') }}
|
||||
<sup>
|
||||
<a href="https://laravel.com/docs/5.4/broadcasting" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
|
||||
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
|
||||
</a>
|
||||
</sup>
|
||||
</label>
|
||||
<input type="text" name="broadcast_driver" id="broadcast_driver" value="log" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.broadcasting_placeholder') }}" />
|
||||
@if ($errors->has('broadcast_driver'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('broadcast_driver') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('cache_driver') ? ' has-error ' : '' }}">
|
||||
<label for="cache_driver">{{ trans('installer_messages.environment.wizard.form.app_tabs.cache_label') }}
|
||||
<sup>
|
||||
<a href="https://laravel.com/docs/5.4/cache" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
|
||||
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
|
||||
</a>
|
||||
</sup>
|
||||
</label>
|
||||
<input type="text" name="cache_driver" id="cache_driver" value="file" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.cache_placeholder') }}" />
|
||||
@if ($errors->has('cache_driver'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('cache_driver') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('session_driver') ? ' has-error ' : '' }}">
|
||||
<label for="session_driver">{{ trans('installer_messages.environment.wizard.form.app_tabs.session_label') }}
|
||||
<sup>
|
||||
<a href="https://laravel.com/docs/5.4/session" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
|
||||
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
|
||||
</a>
|
||||
</sup>
|
||||
</label>
|
||||
<input type="text" name="session_driver" id="session_driver" value="file" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.session_placeholder') }}" />
|
||||
@if ($errors->has('session_driver'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('session_driver') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('queue_driver') ? ' has-error ' : '' }}">
|
||||
<label for="queue_driver">{{ trans('installer_messages.environment.wizard.form.app_tabs.queue_label') }}
|
||||
<sup>
|
||||
<a href="https://laravel.com/docs/5.4/queues" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
|
||||
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
|
||||
</a>
|
||||
</sup>
|
||||
</label>
|
||||
<input type="text" name="queue_driver" id="queue_driver" value="sync" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.queue_placeholder') }}" />
|
||||
@if ($errors->has('queue_driver'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('queue_driver') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="block">
|
||||
<input type="radio" name="appSettingsTabs" id="appSettingsTab2" value="null"/>
|
||||
<label for="appSettingsTab2">
|
||||
<span>
|
||||
{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_label') }}
|
||||
</span>
|
||||
</label>
|
||||
<div class="info">
|
||||
<div class="form-group {{ $errors->has('redis_hostname') ? ' has-error ' : '' }}">
|
||||
<label for="redis_hostname">
|
||||
{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_host') }}
|
||||
<sup>
|
||||
<a href="https://laravel.com/docs/5.4/redis" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
|
||||
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
|
||||
</a>
|
||||
</sup>
|
||||
</label>
|
||||
<input type="text" name="redis_hostname" id="redis_hostname" value="127.0.0.1" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_host') }}" />
|
||||
@if ($errors->has('redis_hostname'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('redis_hostname') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('redis_password') ? ' has-error ' : '' }}">
|
||||
<label for="redis_password">{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_password') }}</label>
|
||||
<input type="password" name="redis_password" id="redis_password" value="null" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_password') }}" />
|
||||
@if ($errors->has('redis_password'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('redis_password') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('redis_port') ? ' has-error ' : '' }}">
|
||||
<label for="redis_port">{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_port') }}</label>
|
||||
<input type="number" name="redis_port" id="redis_port" value="6379" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_port') }}" />
|
||||
@if ($errors->has('redis_port'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('redis_port') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="block">
|
||||
<input type="radio" name="appSettingsTabs" id="appSettingsTab3" value="null"/>
|
||||
<label for="appSettingsTab3">
|
||||
<span>
|
||||
{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_label') }}
|
||||
</span>
|
||||
</label>
|
||||
<div class="info">
|
||||
<div class="form-group {{ $errors->has('mail_driver') ? ' has-error ' : '' }}">
|
||||
<label for="mail_driver">
|
||||
{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_driver_label') }}
|
||||
<sup>
|
||||
<a href="https://laravel.com/docs/5.4/mail" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
|
||||
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
|
||||
</a>
|
||||
</sup>
|
||||
</label>
|
||||
<input type="text" name="mail_driver" id="mail_driver" value="mail" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_driver_placeholder') }}" />
|
||||
@if ($errors->has('mail_driver'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('mail_driver') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('mail_host') ? ' has-error ' : '' }}">
|
||||
<label for="mail_host">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_host_label') }}</label>
|
||||
<input type="text" name="mail_host" id="mail_host" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_host_placeholder') }}" />
|
||||
@if ($errors->has('mail_host'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('mail_host') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('mail_port') ? ' has-error ' : '' }}">
|
||||
<label for="mail_port">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_port_label') }}</label>
|
||||
<input type="number" name="mail_port" id="mail_port" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_port_placeholder') }}" />
|
||||
@if ($errors->has('mail_port'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('mail_port') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('mail_username') ? ' has-error ' : '' }}">
|
||||
<label for="mail_username">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_username_label') }}</label>
|
||||
<input type="text" name="mail_username" id="mail_username" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_username_placeholder') }}" />
|
||||
@if ($errors->has('mail_username'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('mail_username') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('mail_password') ? ' has-error ' : '' }}">
|
||||
<label for="mail_password">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_password_label') }}</label>
|
||||
<input type="text" name="mail_password" id="mail_password" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_password_placeholder') }}" />
|
||||
@if ($errors->has('mail_password'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('mail_password') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('mail_encryption') ? ' has-error ' : '' }}">
|
||||
<label for="mail_encryption">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_encryption_label') }}</label>
|
||||
<input type="text" name="mail_encryption" id="mail_encryption" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_encryption_placeholder') }}" />
|
||||
@if ($errors->has('mail_encryption'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('mail_encryption') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{--<div class="block margin-bottom-2">
|
||||
<input type="radio" name="appSettingsTabs" id="appSettingsTab4" value="null"/>
|
||||
<label for="appSettingsTab4">
|
||||
<span>
|
||||
{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_label') }}
|
||||
</span>
|
||||
</label>
|
||||
<div class="info">
|
||||
<div class="form-group {{ $errors->has('pusher_app_id') ? ' has-error ' : '' }}">
|
||||
<label for="pusher_app_id">
|
||||
{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_id_label') }}
|
||||
<sup>
|
||||
<a href="https://pusher.com/docs/server_api_guide" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
|
||||
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
|
||||
</a>
|
||||
</sup>
|
||||
</label>
|
||||
<input type="text" name="pusher_app_id" id="pusher_app_id" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_id_palceholder') }}" />
|
||||
@if ($errors->has('pusher_app_id'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('pusher_app_id') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('pusher_app_key') ? ' has-error ' : '' }}">
|
||||
<label for="pusher_app_key">{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_key_label') }}</label>
|
||||
<input type="text" name="pusher_app_key" id="pusher_app_key" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_key_palceholder') }}" />
|
||||
@if ($errors->has('pusher_app_key'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('pusher_app_key') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('pusher_app_secret') ? ' has-error ' : '' }}">
|
||||
<label for="pusher_app_secret">{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_secret_label') }}</label>
|
||||
<input type="password" name="pusher_app_secret" id="pusher_app_secret" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_secret_palceholder') }}" />
|
||||
@if ($errors->has('pusher_app_secret'))
|
||||
<span class="error-block">
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ $errors->first('pusher_app_secret') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>--}}
|
||||
<div class="buttons">
|
||||
<button class="button" type="submit">
|
||||
{{ trans('installer_messages.environment.wizard.form.buttons.install') }}
|
||||
<i class="fa fa-angle-right fa-fw" aria-hidden="true"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
<script type="text/javascript">
|
||||
function checkEnvironment(val) {
|
||||
var element=document.getElementById('environment_text_input');
|
||||
if(val=='other') {
|
||||
element.style.display='block';
|
||||
} else {
|
||||
element.style.display='none';
|
||||
}
|
||||
}
|
||||
function showDatabaseSettings() {
|
||||
document.getElementById('tab2').checked = true;
|
||||
}
|
||||
function showApplicationSettings() {
|
||||
document.getElementById('tab3').checked = true;
|
||||
}
|
||||
</script>
|
||||
@endsection
|
||||
@@ -1,26 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master')
|
||||
|
||||
@section('template_title')
|
||||
{{ trans('installer_messages.environment.menu.templateTitle') }}
|
||||
@endsection
|
||||
|
||||
@section('title')
|
||||
<i class="fa fa-cog fa-fw" aria-hidden="true"></i>
|
||||
{!! trans('installer_messages.environment.menu.title') !!}
|
||||
@endsection
|
||||
|
||||
@section('container')
|
||||
|
||||
<p class="text-center">
|
||||
{!! trans('installer_messages.environment.menu.desc') !!}
|
||||
</p>
|
||||
<div class="buttons">
|
||||
<a href="{{ route('LaravelInstaller::environmentWizard') }}" class="button button-wizard">
|
||||
<i class="fa fa-sliders fa-fw" aria-hidden="true"></i> {{ trans('installer_messages.environment.menu.wizard-button') }}
|
||||
</a>
|
||||
<a href="{{ route('LaravelInstaller::environmentClassic') }}" class="button button-classic">
|
||||
<i class="fa fa-code fa-fw" aria-hidden="true"></i> {{ trans('installer_messages.environment.menu.classic-button') }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@@ -1,32 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master')
|
||||
|
||||
@section('template_title')
|
||||
{{ trans('installer_messages.final.templateTitle') }}
|
||||
@endsection
|
||||
|
||||
@section('title')
|
||||
<i class="fa fa-flag-checkered fa-fw" aria-hidden="true"></i>
|
||||
{{ trans('installer_messages.final.title') }}
|
||||
@endsection
|
||||
|
||||
@section('container')
|
||||
|
||||
@if(session('message')['dbOutputLog'])
|
||||
<p><strong><small>{{ trans('installer_messages.final.migration') }}</small></strong></p>
|
||||
<pre><code>{{ session('message')['dbOutputLog'] }}</code></pre>
|
||||
@endif
|
||||
|
||||
<p><strong><small>{{ trans('installer_messages.final.console') }}</small></strong></p>
|
||||
<pre><code>{{ $finalMessages }}</code></pre>
|
||||
|
||||
<p><strong><small>{{ trans('installer_messages.final.log') }}</small></strong></p>
|
||||
<pre><code>{{ $finalStatusMessage }}</code></pre>
|
||||
|
||||
<p><strong><small>{{ trans('installer_messages.final.env') }}</small></strong></p>
|
||||
<pre><code>{{ $finalEnvFile }}</code></pre>
|
||||
|
||||
<div class="buttons">
|
||||
<a href="{{ url('/') }}" class="button">{{ trans('installer_messages.final.exit') }}</a>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@@ -1,46 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>@if (trim($__env->yieldContent('template_title')))@yield('template_title') | @endif {{ trans('installer_messages.updater.title') }}</title>
|
||||
<link rel="icon" type="image/png" href="{{ asset('installer/img/favicon/favicon-16x16.png') }}" sizes="16x16"/>
|
||||
<link rel="icon" type="image/png" href="{{ asset('installer/img/favicon/favicon-32x32.png') }}" sizes="32x32"/>
|
||||
<link rel="icon" type="image/png" href="{{ asset('installer/img/favicon/favicon-96x96.png') }}" sizes="96x96"/>
|
||||
<link href="{{ asset('installer/css/style.min.css') }}" rel="stylesheet"/>
|
||||
@yield('style')
|
||||
<script>
|
||||
window.Laravel = <?php echo json_encode([
|
||||
'csrfToken' => csrf_token(),
|
||||
]); ?>
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="master">
|
||||
<div class="box">
|
||||
<div class="header">
|
||||
<h1 class="header__title">@yield('title')</h1>
|
||||
</div>
|
||||
<ul class="step">
|
||||
<li class="step__divider"></li>
|
||||
<li class="step__item {{ isActive('LaravelUpdater::final') }}">
|
||||
<i class="step__icon fa fa-database" aria-hidden="true"></i>
|
||||
</li>
|
||||
<li class="step__divider"></li>
|
||||
<li class="step__item {{ isActive('LaravelUpdater::overview') }}">
|
||||
<i class="step__icon fa fa-reorder" aria-hidden="true"></i>
|
||||
</li>
|
||||
<li class="step__divider"></li>
|
||||
<li class="step__item {{ isActive('LaravelUpdater::welcome') }}">
|
||||
<i class="step__icon fa fa-refresh" aria-hidden="true"></i>
|
||||
</li>
|
||||
<li class="step__divider"></li>
|
||||
</ul>
|
||||
<div class="main">
|
||||
@yield('container')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,114 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>@if (trim($__env->yieldContent('template_title')))@yield('template_title') | @endif {{ trans('installer_messages.title') }}</title>
|
||||
<link rel="icon" type="image/png" href="{{ asset('installer/img/favicon/favicon-16x16.png') }}" sizes="16x16"/>
|
||||
<link rel="icon" type="image/png" href="{{ asset('installer/img/favicon/favicon-32x32.png') }}" sizes="32x32"/>
|
||||
<link rel="icon" type="image/png" href="{{ asset('installer/img/favicon/favicon-96x96.png') }}" sizes="96x96"/>
|
||||
<link href="{{ asset('installer/css/style.min.css') }}" rel="stylesheet"/>
|
||||
@yield('style')
|
||||
<script>
|
||||
window.Laravel = <?php echo json_encode([
|
||||
'csrfToken' => csrf_token(),
|
||||
]); ?>
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="master">
|
||||
<div class="box">
|
||||
<div class="header">
|
||||
<h1 class="header__title">@yield('title')</h1>
|
||||
</div>
|
||||
<ul class="step">
|
||||
<li class="step__divider"></li>
|
||||
<li class="step__item {{ isActive('LaravelInstaller::final') }}">
|
||||
<i class="step__icon fa fa-server" aria-hidden="true"></i>
|
||||
</li>
|
||||
<li class="step__divider"></li>
|
||||
<li class="step__item {{ isActive('LaravelInstaller::environment')}} {{ isActive('LaravelInstaller::environmentWizard')}} {{ isActive('LaravelInstaller::environmentClassic')}}">
|
||||
@if(Request::is('install/environment') || Request::is('install/environment/wizard') || Request::is('install/environment/classic') )
|
||||
<a href="{{ route('LaravelInstaller::environment') }}">
|
||||
<i class="step__icon fa fa-cog" aria-hidden="true"></i>
|
||||
</a>
|
||||
@else
|
||||
<i class="step__icon fa fa-cog" aria-hidden="true"></i>
|
||||
@endif
|
||||
</li>
|
||||
<li class="step__divider"></li>
|
||||
<li class="step__item {{ isActive('LaravelInstaller::permissions') }}">
|
||||
@if(Request::is('install/permissions') || Request::is('install/environment') || Request::is('install/environment/wizard') || Request::is('install/environment/classic') )
|
||||
<a href="{{ route('LaravelInstaller::permissions') }}">
|
||||
<i class="step__icon fa fa-key" aria-hidden="true"></i>
|
||||
</a>
|
||||
@else
|
||||
<i class="step__icon fa fa-key" aria-hidden="true"></i>
|
||||
@endif
|
||||
</li>
|
||||
<li class="step__divider"></li>
|
||||
<li class="step__item {{ isActive('LaravelInstaller::requirements') }}">
|
||||
@if(Request::is('install') || Request::is('install/requirements') || Request::is('install/permissions') || Request::is('install/environment') || Request::is('install/environment/wizard') || Request::is('install/environment/classic') )
|
||||
<a href="{{ route('LaravelInstaller::requirements') }}">
|
||||
<i class="step__icon fa fa-list" aria-hidden="true"></i>
|
||||
</a>
|
||||
@else
|
||||
<i class="step__icon fa fa-list" aria-hidden="true"></i>
|
||||
@endif
|
||||
</li>
|
||||
<li class="step__divider"></li>
|
||||
<li class="step__item {{ isActive('LaravelInstaller::welcome') }}">
|
||||
@if(Request::is('install') || Request::is('install/requirements') || Request::is('install/permissions') || Request::is('install/environment') || Request::is('install/environment/wizard') || Request::is('install/environment/classic') )
|
||||
<a href="{{ route('LaravelInstaller::welcome') }}">
|
||||
<i class="step__icon fa fa-home" aria-hidden="true"></i>
|
||||
</a>
|
||||
@else
|
||||
<i class="step__icon fa fa-home" aria-hidden="true"></i>
|
||||
@endif
|
||||
</li>
|
||||
<li class="step__divider"></li>
|
||||
</ul>
|
||||
<div class="main">
|
||||
@if (session('message'))
|
||||
<p class="alert text-center">
|
||||
<strong>
|
||||
@if(is_array(session('message')))
|
||||
{{ session('message')['message'] }}
|
||||
@else
|
||||
{{ session('message') }}
|
||||
@endif
|
||||
</strong>
|
||||
</p>
|
||||
@endif
|
||||
@if(session()->has('errors'))
|
||||
<div class="alert alert-danger" id="error_alert">
|
||||
<button type="button" class="close" id="close_alert" data-dismiss="alert" aria-hidden="true">
|
||||
<i class="fa fa-close" aria-hidden="true"></i>
|
||||
</button>
|
||||
<h4>
|
||||
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
{{ trans('installer_messages.forms.errorTitle') }}
|
||||
</h4>
|
||||
<ul>
|
||||
@foreach($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
@yield('container')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@yield('scripts')
|
||||
<script type="text/javascript">
|
||||
var x = document.getElementById('error_alert');
|
||||
var y = document.getElementById('close_alert');
|
||||
y.onclick = function() {
|
||||
x.style.display = "none";
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,35 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master')
|
||||
|
||||
@section('template_title')
|
||||
{{ trans('installer_messages.permissions.templateTitle') }}
|
||||
@endsection
|
||||
|
||||
@section('title')
|
||||
<i class="fa fa-key fa-fw" aria-hidden="true"></i>
|
||||
{{ trans('installer_messages.permissions.title') }}
|
||||
@endsection
|
||||
|
||||
@section('container')
|
||||
|
||||
<ul class="list">
|
||||
@foreach($permissions['permissions'] as $permission)
|
||||
<li class="list__item list__item--permissions {{ $permission['isSet'] ? 'success' : 'error' }}">
|
||||
{{ $permission['folder'] }}
|
||||
<span>
|
||||
<i class="fa fa-fw fa-{{ $permission['isSet'] ? 'check-circle-o' : ' exclamation-circle' }}"></i>
|
||||
{{ $permission['permission'] }}
|
||||
</span>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
@if ( ! isset($permissions['errors']))
|
||||
<div class="buttons">
|
||||
<a href="{{ route('LaravelInstaller::environment') }}" class="button">
|
||||
{{ trans('installer_messages.permissions.next') }}
|
||||
<i class="fa fa-angle-right fa-fw" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@endsection
|
||||
@@ -1,50 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master')
|
||||
|
||||
@section('template_title')
|
||||
{{ trans('installer_messages.requirements.templateTitle') }}
|
||||
@endsection
|
||||
|
||||
@section('title')
|
||||
<i class="fa fa-list-ul fa-fw" aria-hidden="true"></i>
|
||||
{{ trans('installer_messages.requirements.title') }}
|
||||
@endsection
|
||||
|
||||
@section('container')
|
||||
|
||||
@foreach($requirements['requirements'] as $type => $requirement)
|
||||
<ul class="list">
|
||||
<li class="list__item list__title {{ $phpSupportInfo['supported'] ? 'success' : 'error' }}">
|
||||
<strong>{{ ucfirst($type) }}</strong>
|
||||
@if($type == 'php')
|
||||
<strong>
|
||||
<small>
|
||||
(version {{ $phpSupportInfo['minimum'] }} required)
|
||||
</small>
|
||||
</strong>
|
||||
<span class="float-right">
|
||||
<strong>
|
||||
{{ $phpSupportInfo['current'] }}
|
||||
</strong>
|
||||
<i class="fa fa-fw fa-{{ $phpSupportInfo['supported'] ? 'check-circle-o' : 'exclamation-circle' }} row-icon" aria-hidden="true"></i>
|
||||
</span>
|
||||
@endif
|
||||
</li>
|
||||
@foreach($requirements['requirements'][$type] as $extention => $enabled)
|
||||
<li class="list__item {{ $enabled ? 'success' : 'error' }}">
|
||||
{{ $extention }}
|
||||
<i class="fa fa-fw fa-{{ $enabled ? 'check-circle-o' : 'exclamation-circle' }} row-icon" aria-hidden="true"></i>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endforeach
|
||||
|
||||
@if ( ! isset($requirements['errors']) && $phpSupportInfo['supported'] )
|
||||
<div class="buttons">
|
||||
<a class="button" href="{{ route('LaravelInstaller::permissions') }}">
|
||||
{{ trans('installer_messages.requirements.next') }}
|
||||
<i class="fa fa-angle-right fa-fw" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@endsection
|
||||
@@ -1,9 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master-update')
|
||||
|
||||
@section('title', trans('installer_messages.updater.final.title'))
|
||||
@section('container')
|
||||
<p class="paragraph text-center">{{ session('message')['message'] }}</p>
|
||||
<div class="buttons">
|
||||
<a href="{{ url('/') }}" class="button">{{ trans('installer_messages.updater.final.exit') }}</a>
|
||||
</div>
|
||||
@stop
|
||||
@@ -1,9 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master-update')
|
||||
|
||||
@section('title', trans('installer_messages.updater.welcome.title'))
|
||||
@section('container')
|
||||
<p class="paragraph text-center">{{ trans_choice('installer_messages.updater.overview.message', $numberOfUpdatesPending, ['number' => $numberOfUpdatesPending]) }}</p>
|
||||
<div class="buttons">
|
||||
<a href="{{ route('LaravelUpdater::database') }}" class="button">{{ trans('installer_messages.updater.overview.install_updates') }}</a>
|
||||
</div>
|
||||
@stop
|
||||
@@ -1,11 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master-update')
|
||||
|
||||
@section('title', trans('installer_messages.updater.welcome.title'))
|
||||
@section('container')
|
||||
<p class="paragraph text-center">
|
||||
{{ trans('installer_messages.updater.welcome.message') }}
|
||||
</p>
|
||||
<div class="buttons">
|
||||
<a href="{{ route('LaravelUpdater::overview') }}" class="button">{{ trans('installer_messages.next') }}</a>
|
||||
</div>
|
||||
@stop
|
||||
@@ -1,21 +0,0 @@
|
||||
@extends('vendor.installer.layouts.master')
|
||||
|
||||
@section('template_title')
|
||||
{{ trans('installer_messages.welcome.templateTitle') }}
|
||||
@endsection
|
||||
|
||||
@section('title')
|
||||
{{ trans('installer_messages.welcome.title') }}
|
||||
@endsection
|
||||
|
||||
@section('container')
|
||||
<p class="text-center">
|
||||
{{ trans('installer_messages.welcome.message') }}
|
||||
</p>
|
||||
<p class="text-center">
|
||||
<a href="{{ route('LaravelInstaller::requirements') }}" class="button">
|
||||
{{ trans('installer_messages.welcome.next') }}
|
||||
<i class="fa fa-angle-right fa-fw" aria-hidden="true"></i>
|
||||
</a>
|
||||
</p>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user