first commit
This commit is contained in:
commit
ef69f4cbb8
18
.editorconfig
Normal file
18
.editorconfig
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[docker-compose.yml]
|
||||||
|
indent_size = 4
|
38
.gitattributes
vendored
Normal file
38
.gitattributes
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
* text=auto eol=lf
|
||||||
|
|
||||||
|
*.blade.php diff=html
|
||||||
|
*.css diff=css
|
||||||
|
*.html diff=html
|
||||||
|
*.md diff=markdown
|
||||||
|
*.php diff=php
|
||||||
|
|
||||||
|
/.github export-ignore
|
||||||
|
CHANGELOG.md export-ignore
|
||||||
|
.styleci.yml export-ignore
|
||||||
|
|
||||||
|
# Ignorar archivos de configuración y herramientas de desarrollo
|
||||||
|
.editorconfig export-ignore
|
||||||
|
.prettierrc.json export-ignore
|
||||||
|
.prettierignore export-ignore
|
||||||
|
.eslintrc.json export-ignore
|
||||||
|
|
||||||
|
# Ignorar node_modules y dependencias locales
|
||||||
|
node_modules/ export-ignore
|
||||||
|
vendor/ export-ignore
|
||||||
|
|
||||||
|
# Ignorar archivos de build
|
||||||
|
npm-debug.log export-ignore
|
||||||
|
|
||||||
|
# Ignorar carpetas de logs y caché
|
||||||
|
storage/logs/ export-ignore
|
||||||
|
storage/framework/ export-ignore
|
||||||
|
|
||||||
|
# Ignorar carpetas de compilación de frontend
|
||||||
|
public/build/ export-ignore
|
||||||
|
dist/ export-ignore
|
||||||
|
|
||||||
|
# Ignorar archivos de CI/CD
|
||||||
|
.github/ export-ignore
|
||||||
|
.gitlab-ci.yml export-ignore
|
||||||
|
.vscode/ export-ignore
|
||||||
|
.idea/ export-ignore
|
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
/node_modules
|
||||||
|
/vendor
|
||||||
|
/.vscode
|
||||||
|
/.nova
|
||||||
|
/.fleet
|
||||||
|
/.phpactor.json
|
||||||
|
/.phpunit.cache
|
||||||
|
/.phpunit.result.cache
|
||||||
|
/.zed
|
||||||
|
/.idea
|
16
.prettierignore
Normal file
16
.prettierignore
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Dependencias de Composer y Node.js
|
||||||
|
/vendor/
|
||||||
|
/node_modules/
|
||||||
|
|
||||||
|
# Caché y logs
|
||||||
|
/storage/
|
||||||
|
*.log
|
||||||
|
*.cache
|
||||||
|
|
||||||
|
# Archivos del sistema
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Configuración de editores
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
29
.prettierrc.json
Normal file
29
.prettierrc.json
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"arrowParens": "avoid",
|
||||||
|
"bracketSpacing": true,
|
||||||
|
"bracketSameLine": true,
|
||||||
|
"htmlWhitespaceSensitivity": "css",
|
||||||
|
"insertPragma": false,
|
||||||
|
"jsxSingleQuote": true,
|
||||||
|
"printWidth": 120,
|
||||||
|
"proseWrap": "preserve",
|
||||||
|
"quoteProps": "as-needed",
|
||||||
|
"requirePragma": false,
|
||||||
|
"semi": true,
|
||||||
|
"singleQuote": true,
|
||||||
|
"tabWidth": 4,
|
||||||
|
"trailingComma": "none",
|
||||||
|
"useTabs": false,
|
||||||
|
"endOfLine": "lf",
|
||||||
|
"embeddedLanguageFormatting": "auto",
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": [
|
||||||
|
"resources/assets/**/*.js"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"semi": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
39
CHANGELOG.md
Normal file
39
CHANGELOG.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# 📜 CHANGELOG - Laravel Vuexy Website Admin
|
||||||
|
|
||||||
|
Este documento sigue el formato [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
|
## [0.1.0] - ALPHA - 2024-03-05
|
||||||
|
|
||||||
|
### ✨ Added (Agregado)
|
||||||
|
- 🚀 Primera versión alpha de la librería.
|
||||||
|
- 🔹 Implementación inicial de [funcionalidad clave 1].
|
||||||
|
- 🔹 Integración con [dependencia o servicio principal].
|
||||||
|
- 🔹 Soporte para [Laravel/Vuexy Admin, si aplica].
|
||||||
|
|
||||||
|
### 🛠 Changed (Modificado)
|
||||||
|
- 🔄 Optimización de [código o estructura interna].
|
||||||
|
|
||||||
|
### 🐛 Fixed (Correcciones)
|
||||||
|
- 🐞 Correcciones iniciales en [migraciones, modelos, servicios, etc.].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📅 Próximos Cambios Planeados
|
||||||
|
- 📊 **Mejoras en [feature futuro]**.
|
||||||
|
- 🏪 **Compatibilidad con [Laravel 11, Vuexy, etc.]**.
|
||||||
|
- 📍 **Integración con [API o funcionalidad esperada]**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**📌 Nota:** Esta es una versión **ALPHA**, aún en desarrollo.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🔄 Sincronización de Cambios
|
||||||
|
Este `CHANGELOG.md` se actualiza primero en nuestro repositorio principal en **[Tea - Koneko Git](https://git.koneko.mx/koneko/laravel-vuexy-website-admin)** y luego se refleja en GitHub.
|
||||||
|
Los cambios recientes pueden verse antes en **Tea** que en **GitHub** debido a la sincronización automática.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
📅 Última actualización: **2024-03-05**.
|
||||||
|
|
9
CONTRIBUTING.md
Normal file
9
CONTRIBUTING.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
## 🔐 Acceso al Repositorio Privado
|
||||||
|
|
||||||
|
Nuestro servidor Git en **Tea** tiene un registro cerrado. Para contribuir:
|
||||||
|
|
||||||
|
1. Abre un **Issue** en [GitHub](https://github.com/koneko-mx/laravel-vuexy-website-admin/issues) indicando tu interés en contribuir.
|
||||||
|
2. Alternativamente, envía un correo a **contacto@koneko.mx** solicitando acceso.
|
||||||
|
3. Una vez aprobado, recibirás una invitación para registrarte y clonar el repositorio.
|
||||||
|
|
||||||
|
Si solo necesitas acceso de lectura, puedes clonar la versión pública en **GitHub**.
|
186
Http/Controllers/GeneralController.php
Normal file
186
Http/Controllers/GeneralController.php
Normal file
@ -0,0 +1,186 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Koneko\VuexyWebsiteAdmin\Http\Controllers;;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Yajra\DataTables\Facades\DataTables;
|
||||||
|
use App\Models\Catalog\DropdownList;
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
|
||||||
|
class GeneralController extends Controller
|
||||||
|
{
|
||||||
|
public function webApp()
|
||||||
|
{
|
||||||
|
$breadcrumbs = [
|
||||||
|
['route' => 'admin.home', 'name' => "Inicio"],
|
||||||
|
['name' => "Ajustes"],
|
||||||
|
['name' => "General"],
|
||||||
|
['name' => "Aplicación web", 'active' => true],
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.settings.general.webapp-index', compact('breadcrumbs'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function store()
|
||||||
|
{
|
||||||
|
$breadcrumbs = [
|
||||||
|
['route' => 'admin.home', 'name' => "Inicio"],
|
||||||
|
['name' => "Ajustes"],
|
||||||
|
['name' => "General"],
|
||||||
|
['name' => "Empresa", 'active' => true],
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.settings.general.store-index', compact('breadcrumbs'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function divisas(Request $request)
|
||||||
|
{
|
||||||
|
if ($request->ajax()) {
|
||||||
|
$query = DropdownList::select(
|
||||||
|
'dropdown_lists.id',
|
||||||
|
'dropdown_lists.single',
|
||||||
|
'sat_moneda.descripcion',
|
||||||
|
'dropdown_lists.param1',
|
||||||
|
'dropdown_lists.param2',
|
||||||
|
'dropdown_lists.param3',
|
||||||
|
'dropdown_lists.param4',
|
||||||
|
'dropdown_lists.created_at'
|
||||||
|
)
|
||||||
|
->Join('sat_moneda', 'dropdown_lists.single', '=', 'sat_moneda.c_moneda')
|
||||||
|
->where('dropdown_lists.label', DropdownList::SYS_DIVISA);
|
||||||
|
|
||||||
|
// Manejar el ordenamiento del lado del servidor basado en las columnas que DataTables solicita
|
||||||
|
if ($request->has('order')) {
|
||||||
|
$columns = [2 => 'single', 'descripcion', 'param1', 'param2', 'param3', 'param4', 'created_at'];
|
||||||
|
|
||||||
|
foreach ($request->get('order') as $order) {
|
||||||
|
$query->orderBy($columns[$order['column']], $order['dir']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$warehouses = $query->get();
|
||||||
|
|
||||||
|
return DataTables::of($warehouses)
|
||||||
|
->only(['id', 'single', 'descripcion', 'param1', 'param2', 'param3', 'param4', 'created_at'])
|
||||||
|
->addIndexColumn()
|
||||||
|
->editColumn('created_at', function ($user) {
|
||||||
|
return $user->created_at->format('Y-m-d');
|
||||||
|
})
|
||||||
|
->make(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
$breadcrumbs = [
|
||||||
|
['route' => 'admin.home', 'name' => "Inicio"],
|
||||||
|
['name' => "Ajustes"],
|
||||||
|
['name' => "General"],
|
||||||
|
['name' => "Divisas", 'active' => true],
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.settings.general.divisas-index', compact('breadcrumbs'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function warehouses(Request $request)
|
||||||
|
{
|
||||||
|
if ($request->ajax()) {
|
||||||
|
$query = DropdownList::select(
|
||||||
|
'dropdown_lists.id',
|
||||||
|
'dropdown_lists.single',
|
||||||
|
'dropdown_lists.param1',
|
||||||
|
'dropdown_lists.status',
|
||||||
|
'dropdown_lists.created_at'
|
||||||
|
)
|
||||||
|
->where('dropdown_lists.label', DropdownList::SYS_WAREHOUSE);
|
||||||
|
|
||||||
|
// Manejar el ordenamiento del lado del servidor basado en las columnas que DataTables solicita
|
||||||
|
if ($request->has('order')) {
|
||||||
|
$columns = [2 => 'single', 'param1', 'status', 'created_at'];
|
||||||
|
|
||||||
|
foreach ($request->get('order') as $order) {
|
||||||
|
$query->orderBy($columns[$order['column']], $order['dir']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$warehouses = $query->get();
|
||||||
|
|
||||||
|
return DataTables::of($warehouses)
|
||||||
|
->only(['id', 'single', 'param1', 'status', 'created_at'])
|
||||||
|
->addIndexColumn()
|
||||||
|
->editColumn('created_at', function ($user) {
|
||||||
|
return $user->created_at->format('Y-m-d');
|
||||||
|
})
|
||||||
|
->make(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
$breadcrumbs = [
|
||||||
|
['route' => 'admin.home', 'name' => "Inicio"],
|
||||||
|
['name' => "Ajustes"],
|
||||||
|
['name' => "General"],
|
||||||
|
['name' => "Almacenes", 'active' => true],
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.settings.general.warehouses-index', compact('breadcrumbs'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function formasPago2()
|
||||||
|
{
|
||||||
|
$breadcrumbs = [
|
||||||
|
['route' => 'admin.home', 'name' => "Inicio"],
|
||||||
|
['name' => "Ajustes"],
|
||||||
|
['name' => "General"],
|
||||||
|
['name' => "Formas de pago ²", 'active' => true],
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.settings.general.formas-pago-2-index', compact('breadcrumbs'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function apiBanxico()
|
||||||
|
{
|
||||||
|
$breadcrumbs = [
|
||||||
|
['route' => 'admin.home', 'name' => "Inicio"],
|
||||||
|
['name' => "Ajustes"],
|
||||||
|
['name' => "General"],
|
||||||
|
['name' => "API BANXICO", 'active' => true],
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.settings.general.api-banxico-index', compact('breadcrumbs'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function smtp()
|
||||||
|
{
|
||||||
|
$breadcrumbs = [
|
||||||
|
['route' => 'admin.home', 'name' => "Inicio"],
|
||||||
|
['name' => "Ajustes"],
|
||||||
|
['name' => "General"],
|
||||||
|
['name' => "Servidor de correo SMTP", 'active' => true],
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.settings.general.smtp-index', compact('breadcrumbs'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function checkUniqueWarehouse(Request $request)
|
||||||
|
{
|
||||||
|
$id = $request->input('id');
|
||||||
|
$single = $request->input('single');
|
||||||
|
|
||||||
|
$exists = DropdownList::where('single', $single)
|
||||||
|
->where('label', DropdownList::SYS_WAREHOUSE)
|
||||||
|
->where('id', '!=', $id) // Excluir el registro actual
|
||||||
|
->exists();
|
||||||
|
|
||||||
|
return response()->json(['isUnique' => !$exists]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function checkUniqueDivisa(Request $request)
|
||||||
|
{
|
||||||
|
$id = $request->input('id');
|
||||||
|
$single = $request->input('single');
|
||||||
|
|
||||||
|
$exists = DropdownList::where('single', $single)
|
||||||
|
->where('label', DropdownList::SYS_DIVISA)
|
||||||
|
->where('id', '!=', $id) // Excluir el registro actual
|
||||||
|
->exists();
|
||||||
|
|
||||||
|
return response()->json(['isUnique' => !$exists]);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
9
LICENSE
Normal file
9
LICENSE
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2025 koneko
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
49
Providers/VuexyWebsiteAdminServiceProvider.php
Normal file
49
Providers/VuexyWebsiteAdminServiceProvider.php
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Koneko\VuexyWebsiteAdmin\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
use Livewire\Livewire;
|
||||||
|
use OwenIt\Auditing\AuditableObserver;
|
||||||
|
|
||||||
|
class VuexyWebsiteAdminServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Register any application services.
|
||||||
|
*/
|
||||||
|
public function register(): void
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bootstrap any application services.
|
||||||
|
*/
|
||||||
|
public function boot(): void
|
||||||
|
{
|
||||||
|
// Register the module's routes
|
||||||
|
$this->loadRoutesFrom(__DIR__.'/../routes/admin.php');
|
||||||
|
|
||||||
|
|
||||||
|
// Cargar vistas del paquete
|
||||||
|
$this->loadViewsFrom(__DIR__.'/../resources/views', 'vuexy-website-admin');
|
||||||
|
|
||||||
|
|
||||||
|
// Register the migrations
|
||||||
|
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
|
||||||
|
|
||||||
|
|
||||||
|
// Registrar Livewire Components
|
||||||
|
$components = [
|
||||||
|
//'user-count' => UserCount::class,
|
||||||
|
];
|
||||||
|
|
||||||
|
foreach ($components as $alias => $component) {
|
||||||
|
Livewire::component($alias, $component);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Registrar auditoría en usuarios
|
||||||
|
//User::observe(AuditableObserver::class);
|
||||||
|
}
|
||||||
|
}
|
133
README.md
Normal file
133
README.md
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
# 🎨 Laravel Vuexy Website Admin - Vuexy Admin
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://koneko.mx" target="_blank"> <img src="https://git.koneko.mx/Koneko-ST/koneko-st/raw/branch/main/logo-images/horizontal-05.png" width="400" alt="Koneko Soluciones Tecnológicas Logo"> </a>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://koneko.mx"><img src="https://img.shields.io/badge/Website-koneko.mx-blue" alt="Sitio Web"></a>
|
||||||
|
<a href="https://packagist.org/packages/koneko/laravel-vuexy-website-admin"><img src="https://img.shields.io/packagist/v/koneko/laravel-vuexy-website-admin" alt="Latest Stable Version"></a>
|
||||||
|
<a href="https://packagist.org/packages/koneko/laravel-vuexy-website-admin"><img src="https://img.shields.io/packagist/l/koneko/laravel-vuexy-website-admin" alt="License"></a>
|
||||||
|
<a href="https://git.koneko.mx/koneko"><img src="https://img.shields.io/badge/Git%20Server-Koneko%20Git-orange" alt="Servidor Git"></a>
|
||||||
|
<a href="https://github.com/koneko-mx/laravel-vuexy-website-admin/actions/workflows/tests.yml"><img src="https://github.com/koneko-mx/laravel-vuexy-website-admin/actions/workflows/tests.yml/badge.svg" alt="Build Status"></a>
|
||||||
|
<a href="https://github.com/koneko-mx/laravel-vuexy-website-admin/issues"><img src="https://img.shields.io/github/issues/koneko/laravel-vuexy-website-admin" alt="Issues"></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📌 Descripción
|
||||||
|
|
||||||
|
**Laravel Vuexy Website Admin** es un módulo diseñado para **Laravel Vuexy Admin**, proporcionando [breve descripción de la funcionalidad].
|
||||||
|
|
||||||
|
### ✨ Características:
|
||||||
|
- 🔹 Integración completa con Vuexy Admin.
|
||||||
|
- 🔹 Funcionalidad clave 1.
|
||||||
|
- 🔹 Funcionalidad clave 2.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📦 Instalación
|
||||||
|
|
||||||
|
Instalar vía **Composer**:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
composer require koneko/laravel-vuexy-website-admin
|
||||||
|
```
|
||||||
|
|
||||||
|
Publicar archivos de configuración y migraciones (si aplica):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
php artisan vendor:publish --tag=laravel-vuexy-website-admin-config
|
||||||
|
php artisan migrate
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🚀 Uso básico
|
||||||
|
|
||||||
|
```php
|
||||||
|
use Koneko\NombreLibreria\Models\Model;
|
||||||
|
|
||||||
|
$model = Model::create([
|
||||||
|
'campo1' => 'Valor',
|
||||||
|
'campo2' => 'Otro valor',
|
||||||
|
]);
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📚 Configuración adicional
|
||||||
|
|
||||||
|
Si necesitas personalizar la configuración del módulo, publica el archivo de configuración:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
php artisan vendor:publish --tag=laravel-vuexy-website-admin-config
|
||||||
|
```
|
||||||
|
|
||||||
|
Esto generará `config/nombre_libreria.php`, donde puedes modificar valores predeterminados.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🛠 Dependencias
|
||||||
|
|
||||||
|
Este paquete requiere las siguientes dependencias:
|
||||||
|
- Laravel 11
|
||||||
|
- `koneko/laravel-vuexy-website-admin`
|
||||||
|
- Dependencias específicas de la librería
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📦 Publicación de Assets y Configuraciones
|
||||||
|
|
||||||
|
Para publicar configuraciones y seeders:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
php artisan vendor:publish --tag=laravel-vuexy-website-admin-config
|
||||||
|
php artisan vendor:publish --tag=laravel-vuexy-website-admin-seeders
|
||||||
|
php artisan migrate --seed
|
||||||
|
```
|
||||||
|
|
||||||
|
Para publicar imágenes del tema:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
php artisan vendor:publish --tag=laravel-vuexy-website-admin-images
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🛠 Pruebas
|
||||||
|
|
||||||
|
Ejecuta los tests con:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
php artisan test
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🌍 Repositorio Principal y Sincronización
|
||||||
|
|
||||||
|
Este repositorio es una **copia sincronizada** del repositorio principal alojado en **[Tea - Koneko Git](https://git.koneko.mx/koneko/laravel-vuexy-website-admin)**.
|
||||||
|
|
||||||
|
### 🔄 Sincronización con GitHub
|
||||||
|
- **Repositorio Principal:** [git.koneko.mx](https://git.koneko.mx/koneko/laravel-vuexy-website-admin)
|
||||||
|
- **Repositorio en GitHub:** [github.com/koneko/laravel-vuexy-website-admin](https://github.com/koneko/laravel-vuexy-website-admin)
|
||||||
|
- **Los cambios pueden reflejarse primero en Tea antes de GitHub.**
|
||||||
|
|
||||||
|
### 🤝 Contribuciones
|
||||||
|
Si deseas contribuir:
|
||||||
|
1. Puedes abrir un **Issue** en [GitHub Issues](https://github.com/koneko/laravel-vuexy-website-admin/issues).
|
||||||
|
2. Para Pull Requests, **preferimos contribuciones en Tea**. Contacta a `admin@koneko.mx` para solicitar acceso.
|
||||||
|
|
||||||
|
⚠️ **Nota:** Algunos cambios pueden tardar en reflejarse en GitHub, ya que este repositorio se actualiza automáticamente desde Tea.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🏅 Licencia
|
||||||
|
|
||||||
|
Este paquete es de código abierto bajo la licencia [MIT](LICENSE).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
Hecho con ❤️ por <a href="https://koneko.mx">Koneko Soluciones Tecnológicas</a>
|
||||||
|
</p>
|
36
composer.json
Normal file
36
composer.json
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "koneko/laravel-vuexy-website-admin",
|
||||||
|
"description": "Laravel Vuexy Website Admin, un modulo de administracion de sitios web.",
|
||||||
|
"keywords": ["laravel", "koneko", "framework", "vuexy", "website", "admin", "mexico"],
|
||||||
|
"type": "library",
|
||||||
|
"license": "MIT",
|
||||||
|
"require": {
|
||||||
|
"php": "^8.2",
|
||||||
|
"koneko/laravel-vuexy-admin": "@dev",
|
||||||
|
"laravel/framework": "^11.31"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Koneko\\VuexyWebsiteAdmin\\": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"Koneko\\VuexyWebsiteAdmin\\Providers\\VuexyWebsiteAdminServiceProvider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Arturo Corro Pacheco",
|
||||||
|
"email": "arturo@koneko.mx"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"source": "https://github.com/koneko-mx/laravel-vuexy-website-admin",
|
||||||
|
"issues": "https://github.com/koneko-mx/laravel-vuexy-website-admin/issues"
|
||||||
|
},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true
|
||||||
|
}
|
9
routes/admin.php
Normal file
9
routes/admin.php
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Koneko\VuexyAdmin\Http\Controllers\UUserController;
|
||||||
|
|
||||||
|
// Grupo raíz para admin con middleware y prefijos comunes
|
||||||
|
Route::prefix('admin')->name('admin.')->middleware(['web', 'auth', 'admin.settings'])->group(function () {
|
||||||
|
|
||||||
|
});
|
Loading…
x
Reference in New Issue
Block a user