Laravel 9 with Voyager - The Missing Laravel Admin

The Odd Developer
17 Apr 202219:19

Summary

TLDREn este video, el creador muestra cómo instalar Laravel 9, la versión más reciente de este framework popular, junto con el paquete Voyager, que añade una interfaz de administración y control de roles y permisos. Se detalla el proceso de configuración, desde la creación del proyecto hasta la instalación de Voyager con datos de ejemplo, y se exploran algunas de sus características, como el generador de menús y el administrador de base de datos, resaltando su facilidad de uso y la mejora en la seguridad al restringir el acceso directo al servidor de base de datos.

Takeaways

  • 😀 Se muestra cómo instalar Laravel 9, la última versión lanzada hace algunas semanas.
  • 🛠 El objetivo principal es configurar un nuevo proyecto de Laravel 9 y utilizar el paquete Voyager para la administración de paneles y roles de usuario.
  • 📋 Se mencionan las características principales de Voyager, incluyendo funcionalidades CRUD, media manager, generador de menús, y editor de bases de datos.
  • 💻 Se utiliza Composer para crear el proyecto Laravel y se nombra el proyecto 'web_laravel_voyager'.
  • 🌐 Se establece un servidor de desarrollo utilizando Laravel's PHP Artisan y se configura una base de datos MySQL con phpMyAdmin.
  • 🔑 Se actualiza el archivo .env con las configuraciones de la base de datos y se genera una clave de aplicación.
  • 🔄 Se verifica la versión de Laravel y se procede a instalar Voyager siguiendo la documentación de GitHub.
  • 📝 Se detalla el proceso de instalación de Voyager, incluyendo la ejecución de migraciones y la inserción de datos ficticios para pruebas.
  • 🚀 Después de la instalación, se verifica que Voyager está accesible a través de la URL '/admin' y se inicia sesión con datos de prueba.
  • 📊 Se exploran las funcionalidades de Voyager, como el generador de menús, el editor de bases de datos y el administrador de recursos.
  • 🔧 Se destaca cómo Voyager simplifica tareas comunes en Laravel, como la creación de BREAD (Browse, Read, Edit, Add, Delete) y el acceso a comandos Artisan.

Q & A

  • ¿Qué versión de Laravel se instala en el video?

    -Se instala Laravel versión 9, que es la última versión lanzada en ese momento.

  • ¿Cuál es el propósito principal de crear este video?

    -El propósito principal es mostrar cómo instalar Laravel versión 9 y configurar un proyecto nuevo, además de integrar el paquete Voyager, que proporciona un panel de administración y roles de usuario.

  • ¿Qué características principales incluye el paquete Voyager?

    -Voyager ofrece características como gestor de medios, constructor de menús, administrador de bases de datos, creador de Bread y configuración, entre otras.

  • ¿Cómo se verifica la compatibilidad entre Laravel versión 9 y Voyager?

    -Se verifica la compatibilidad instalando Voyager a través de Composer y ejecutando la migración de bases de datos y seeders con datos de prueba para asegurarse de que todo funcione correctamente.

  • ¿Qué herramienta se utiliza para el servidor de desarrollo en el proyecto de Laravel?

    -Se utiliza el servidor de desarrollo de Laravel's PHP Artisan, conocido como Laravel Valet.

  • ¿Qué tipo de base de datos se utiliza en el proyecto?

    -Se utiliza MySQL como sistema de base de datos, junto con phpMyAdmin como herramienta de cliente web.

  • ¿Cómo se configura el entorno de base de datos en el proyecto de Laravel?

    -Se configura editando el archivo .env con los detalles de conexión a la base de datos, como el host, puerto, nombre de la base de datos, usuario y contraseña.

  • ¿Cómo se puede verificar que la instalación de Laravel versión 9 fue exitosa?

    -Se verifica la instalación ejecutando el comando 'php artisan --version' en la terminal, que debe mostrar la versión 9.8.1 de Laravel.

  • ¿Cómo se instala Voyager en el proyecto de Laravel?

    -Se instala Voyager a través de Composer utilizando el comando 'composer require tcg/voyager' y luego se ejecuta 'php artisan voyager:install' para instalarlo con datos de prueba.

  • ¿Dónde se puede acceder al panel de administración de Voyager?

    -Se puede acceder al panel de administración de Voyager en la URL del proyecto, añadiendo '/admin' al final de la dirección.

  • ¿Qué se puede hacer con el constructor de menús de Voyager?

    -El constructor de menús permite crear menús dinámicos con características de arrastrar y soltar, y también permite restringir la visibilidad del menú para diferentes roles de usuario.

Outlines

00:00

😀 Instalación de Laravel 9 y Voyager

El primer párrafo presenta un tutorial sobre cómo instalar la versión 9 de Laravel, la más reciente en ese momento. El objetivo es configurar un nuevo proyecto de Laravel y utilizar el paquete Voyager para crear un panel de administración con funciones de usuario y permisos. Se menciona la necesidad de verificar la compatibilidad entre Laravel 9 y Voyager, y se inicia el proceso de instalación a través de Composer, así como la configuración de un servidor de desarrollo y una base de datos MySQL.

05:01

🔧 Configuración de la Base de Datos y Instalación de Voyager

En el segundo párrafo, se continúa con la configuración del proyecto, incluyendo la conexión a una base de datos MySQL y la personalización de las credenciales de acceso. Se actualiza la información de la base de datos en el archivo de configuración y se procede a instalar Voyager a través de Composer. Se menciona la instalación con datos de prueba para tener usuarios de ejemplo y se verifica la correcta instalación al iniciar el servidor de desarrollo y acceder a la URL correspondiente.

10:04

🛠️ Características y Funcionalidades de Voyager

El tercer párrafo se enfoca en las características principales de Voyager, como el creador de menús, el administrador de bases de datos y la funcionalidad BREAD (Browse, Read, Edit, Add, Delete). Se explora cómo Voyager simplifica la administración de la base de datos y la creación de interfaces de usuario dinámicas, permitiendo restringir la visibilidad del menú y la manipulación de datos según los roles de usuario. También se menciona la sección de herramientas, donde se pueden ejecutar comandos Artisan y acceder a recursos y registros.

15:05

🔄 Pruebas y Verificación de la Integración de Voyager con Laravel 9

El último párrafo resume la verificación de que Voyager funciona correctamente con Laravel 9, mostrando la interfaz de administración y las funcionalidades disponibles. Se menciona la intención de profundizar en las características de Voyager en futuras videos y se concluye el tutorial, agradeciendo a los espectadores por su atención.

Mindmap

Keywords

💡Laravel

Laravel es un framework de programación web gratuito y de código abierto para el lenguaje de programación PHP, utilizado para desarrollar aplicaciones web con el patrón de diseño MVC (Modelo-Vista-Controlador). En el video, se menciona la versión 9 de Laravel, la cual es la última versión en ese momento, y se centra en enseñar cómo instalar y configurar un proyecto nuevo con esta versión.

💡Composer

Composer es un administrador de paquetes para el lenguaje de programación PHP, que permite instalar y gestionar dependencias de paquetes en proyectos PHP. En el script, el creador del video utiliza Composer para instalar Laravel con el comando 'composer create-project'.

💡Voyager

Voyager es un paquete de Laravel que proporciona una interfaz de administración y un panel de control para aplicaciones Laravel. Ofrece características como el generador de BREAD (Browse, Read, Edit, Add, Delete), el creador de menús y la gestión de usuarios y roles. En el video, se muestra cómo instalar Voyager en un proyecto de Laravel 9.

💡PHP artisan

PHP artisan es una herramienta de línea de comandos incluida en Laravel que proporciona una variedad de comandos para interactuar con un proyecto Laravel. En el video, se utiliza para verificar la versión de Laravel instalada y para iniciar el servidor de desarrollo.

💡.env archivo

El archivo .env es un archivo de configuración en Laravel que contiene variables de entorno y configuraciones específicas del proyecto. Es utilizado para mantener la configuración fuera del código base y es especialmente útil para gestionar diferentes entornos de desarrollo, prueba y producción. En el video, se menciona que Laravel 9 incluye un archivo .env generado automáticamente.

💡Base de datos

Una base de datos es un sistema de almacenamiento y gestión de datos que permite la recuperación y manipulación de información de forma sistemática. En el contexto del video, se necesita una base de datos para el proyecto Laravel, y se utiliza MySQL junto con phpMyAdmin para crear y gestionar la base de datos.

💡Migraciones

Las migraciones en Laravel son archivos que contienen código para crear o modificar las tablas de la base de datos. Son una parte fundamental de la gestión de esquemas de bases de datos en Laravel. En el video, se menciona el proceso de ejecutar migraciones para crear las tablas necesarias para el proyecto y para Voyager.

💡Seeds

Las seeds en Laravel son datos predeterminados que se insertan en la base de datos después de las migraciones. Se utilizan para poblar la base de datos con datos de ejemplo que pueden ser utilizados para pruebas o para una demostración del proyecto. En el script, se ejecutan seeds para agregar datos iniciales a la base de datos de Voyager.

💡BREAD

BREAD es un acrónimo que representa Browse, Read, Edit, Add, y Delete, y se refiere a las funcionalidades básicas de gestión de datos en una aplicación. Voyager utiliza BREAD para generar interfaces de administración que permiten a los usuarios navegar, leer, editar, agregar y eliminar registros en la base de datos. En el video, se menciona la creación de BREAD para la tabla 'categories'.

💡Menu Builder

El Menu Builder es una herramienta incluida en Voyager que permite a los desarrolladores crear y gestionar menús dinámicos para su aplicación. Se puede utilizar para construir menús personalizados con características de arrastrar y soltar, y se pueden configurar permisos para diferentes roles de usuario. En el video, se muestra cómo utilizar el Menu Builder para crear y personalizar menús en la aplicación.

Highlights

Tutorial on installing Laravel version 9.

Introduction of Voyager package for admin panel and user roles management.

Features of Voyager including media manager, menu builder, and database manager.

Setting up a fresh Laravel 9 project with compatibility check for Voyager.

Using composer to create a new Laravel project named 'web_laravel_voyager'.

Explanation of using Laravel's PHP artisan development server.

Requirement of a database instance and use of MySQL DB with phpMyAdmin.

Creating a database for the Laravel project using phpMyAdmin.

Confirmation of Laravel version 9.8.1 using 'php artisan' command.

Instructions on installing Voyager via composer for Laravel.

Importance of setting up the Laravel development server before Voyager installation.

Updating .env file with database credentials for Laravel project.

Voyager installation with dummy data for initial user access.

Verification of Voyager's compatibility with Laravel 9 by accessing the admin panel.

Demonstration of Voyager's menu builder with drag and drop functionality.

Explanation of how to use Voyager for database access and BREAD operations.

Use of Voyager's BREAD for creating, reading, editing, and deleting data.

Access to artisan commands and resources through Voyager's Compass.

Introduction to Voyager's logs for tracking user interactions and actions.

Conclusion on the successful setup and compatibility of Voyager with Laravel 9.

Transcripts

play00:00

hey guys hope you guys are doing well so

play00:02

today i'm going to show you how to

play00:03

install laravel version 9 which is the

play00:06

latest laravel version that they

play00:07

released a couple of weeks ago

play00:10

and

play00:11

i have mainly two intentions uh of

play00:13

creating this video

play00:15

one is to set up a fresh laravel 9

play00:17

project and along with there is an

play00:19

awesome

play00:21

package called voyager

play00:23

which gives the admin panel and

play00:26

our user roles permissions level uh

play00:30

ability to learn your larger project so

play00:32

if i scroll down little bit it shows

play00:34

what are the features main features

play00:37

it comes with so in their home page it

play00:40

shows they have great functionality

play00:42

which is you know we have crowd

play00:43

functionality for our normal um

play00:46

applications um software web

play00:49

applications create read update delete

play00:51

functionality so top of that they have

play00:53

created great functionality browse read

play00:56

edit add and delete functionality so

play00:58

let's explore it little bit more if we

play01:00

go into this section features

play01:02

um they have given an overview about

play01:05

their main features so they have media

play01:07

manager menu builder database manager

play01:10

red card builder which was the one we

play01:14

referring to earlier and settings and

play01:16

compass anyway so first let's try to set

play01:19

up a laravel version 9 project

play01:22

because uh my intention is to check the

play01:24

compatibility with the laravel version 9

play01:27

with voyager uh because sometimes with

play01:29

some laravel versions there were

play01:31

incompatibility

play01:33

with voyager

play01:35

hopefully

play01:37

this

play01:38

laravel version i should be working with

play01:40

voyager stable version let's give a try

play01:43

so i'm getting my command

play01:45

command prompt and i'm going to install

play01:48

laravel with composer composer create

play01:51

project

play01:55

larval

play01:57

i'm giving some meaningful name web

play02:00

laravel

play02:01

voyager

play02:03

let's try let's see

play02:07

yeah it's creating the project in the

play02:09

meantime i will show my

play02:12

um new environment for

play02:14

uh the project

play02:16

basically i'm i'm going to use uh

play02:19

laravel's php artisan the div server

play02:21

development server for this so the

play02:23

server environment is fine uh but i need

play02:26

a database instance and i will need a

play02:29

database um

play02:32

client tool so i'm going to use mysql db

play02:36

along with phpmyadmin which is the

play02:39

web-based uh which is a web-based

play02:42

db client tool it's very simple and easy

play02:45

to set up so i'm using sam software

play02:48

for that so i'm going to

play02:50

access the

play02:52

ph

play02:54

okay i don't need that google page so

play02:56

i'm going to access the

play02:58

php my admin page so localhost and here

play03:01

phpmyadmin you can see there's a apache

play03:04

page there so the databases

play03:07

okay i will need to create a database

play03:09

let's try first laravel line so it's

play03:11

almost done now it's setting up what all

play03:13

that files

play03:14

yeah

play03:16

cool so i will need to navigate into the

play03:19

project folder cd app

play03:22

okay let's try whether we have got the

play03:24

correct global version

play03:27

hp artisan would do that for us so if i

play03:30

scroll up

play03:32

it should show the laravel version yeah

play03:34

laravel framework

play03:36

9.8.1 with major 9 version 9 my

play03:39

innovation 8 and patch release one cool

play03:42

okay so

play03:44

now we will try to install the voyager

play03:48

we can do that through

play03:50

get the documentation setup right

play03:52

through github which is easier

play03:57

yeah okay it's there

play03:59

uh prior to that i will be ready to

play04:02

bring my project into

play04:05

my vs code so

play04:09

i'm going to

play04:18

okay

play04:25

yeah this one

play04:28

so let's explore a little bit the full

play04:31

files and folder structure

play04:34

okay it's cool it comes with dot env

play04:36

file in laravel version 9 because if i'm

play04:38

not wrong in laravel version 8 and

play04:40

couple of earlier versions

play04:43

they give us a dot env dot example file

play04:47

which will be needed to create our dot

play04:49

env file by ourselves by copying it and

play04:52

removing it the dot example

play04:54

extension it's not a big deal anyway but

play04:56

this is cool um they give straightaway

play04:59

dot dmv file with

play05:01

and

play05:02

app key is also generated at the project

play05:06

setup

play05:07

stage yeah i think that's how it

play05:09

normally works not sure sometimes we

play05:11

will be to create the

play05:13

app key php artisan key generate this

play05:16

command sometimes anyway

play05:18

so

play05:19

it's cool um

play05:21

so let's give

play05:23

our adb configurations here db

play05:25

connection mysql that's fine db hosts

play05:27

one two seven zero zero one local lost

play05:29

okay five three six

play05:31

the date i think yeah data this username

play05:34

is fine in my case the same set of the

play05:35

dummy username and password so just only

play05:39

just one thing i need to update

play05:42

which is the tp credentials so

play05:45

i will create a database laravel

play05:48

underscore

play05:50

db

play05:51

watch already discovery tv

play05:54

i think that's a more meaningful name

play05:58

okay it's created yeah cool so i'm going

play06:03

to copy the database name and i'm going

play06:05

to paste it over here

play06:09

sorry this is space

play06:10

okay it's saved

play06:12

okay let's back to the

play06:15

documentation guide

play06:17

okay first step is to install voyager

play06:20

through composer so i'm copying the

play06:22

command

play06:24

and

play06:27

okay

play06:27

sorry what first let's try to set up

play06:31

laravel

play06:32

um deep server without prior to

play06:36

installing voyager i think that's a good

play06:38

practice if there any issues with our

play06:40

laravel version 9 it should be

play06:43

uh

play06:44

showing at that point because we cannot

play06:46

then isolate the whether the error is

play06:48

from laravel version 9 over from the

play06:50

voyager

play06:51

so hp artisan

play06:53

so

play06:56

cool it's now our div server is up on

play06:59

this port

play07:01

means

play07:04

localhost

play07:08

port 8000

play07:10

yeah cool it shows laravel version 9.

play07:12

yeah

play07:13

okay so

play07:14

let's go back to setting up voucher

play07:18

so i will need to stop the tv server at

play07:20

this point and paste the command over

play07:22

here

play07:28

yep using version 1.5

play07:32

it's installing the dependency packages

play07:35

doctrine

play07:37

um

play07:38

laravel ui

play07:41

okay

play07:43

it's almost done now generating auto

play07:45

load files optimizing our dollar files

play07:54

okay cool it's done

play07:56

so i'm bringing up my div server again

play08:01

and i should be able to refresh and

play08:03

yeah it's working

play08:05

so the database credentials are set up

play08:08

already

play08:10

and this one is the base urf our project

play08:12

since our project is um

play08:14

so under localhost port 8000 we need to

play08:18

update that

play08:20

because

play08:21

laravel

play08:22

um

play08:24

comes without that port they have just

play08:26

been the global last

play08:28

we need to remove that

play08:30

forward slash probably

play08:34

yeah

play08:34

so the next point step is to install

play08:37

voyager

play08:38

um this is how a vendor package

play08:41

installing in

play08:43

laravel

play08:44

so we will

play08:45

install with some dummy data because i

play08:48

will be needed some login uh i use a

play08:50

dummy user and admin user in the latest

play08:53

step so i will go ahead with dummy data

play08:56

and i will install the voice with dummy

play08:58

data

play09:00

stop the server again

play09:02

php artisan version call and install it

play09:06

okay cool it's migrating all the

play09:10

migration files

play09:12

to create the

play09:13

database tables

play09:18

and see the

play09:20

seeded database

play09:22

with

play09:23

some data

play09:25

okay so if i go to the

play09:27

migration files the database migrations

play09:30

these are these are the files

play09:32

are created by laravel itself version

play09:34

nine um

play09:36

all these

play09:38

data based tables some dummy tables post

play09:42

create post grade pages

play09:44

likewise

play09:46

and

play09:47

voyager

play09:49

uh it has

play09:50

migration files

play09:52

by version itself so voyager resides in

play09:55

vendor

play09:56

tcg

play10:00

under this folder you can see tcg slash

play10:03

so the migration files are coming from

play10:05

this they have more than 10 to 12

play10:08

migration files

play10:09

so

play10:10

basically two sets

play10:12

of migration files

play10:15

both sets are created already so we can

play10:17

verify that go into our database and

play10:20

refresh it

play10:22

yeah cool all the database

play10:24

uh sorry all the tables

play10:26

have been created so we can

play10:28

proceed further more

play10:31

so now voyager should be accessible

play10:34

under this url forward slash admin let's

play10:36

give a try

play10:46

oh my bad i think i have stopped the new

play10:48

server yeah

play10:52

okay now it should be working yeah cool

play10:56

so vijay is up under

play10:58

forward slash admin so it's redirecting

play11:01

to the

play11:02

login um

play11:04

root

play11:05

uh router uh once we hit the admin path

play11:09

yeah

play11:11

okay that's fine so

play11:18

i'm getting the dummy username and

play11:20

password from voicer guide

play11:22

this login

play11:24

should be

play11:27

cool so this is the dashboard

play11:31

so that we have now verified la voja is

play11:33

working with laravel version 9 without

play11:35

an issue so far

play11:37

yeah so the under tools section i would

play11:39

like to show you guys these interesting

play11:42

features menu builder which is

play11:44

which are the same features

play11:46

um mentioned here menu builder

play11:49

so which is a dynamic menu builder we

play11:52

can um it has a drag and drop feature we

play11:56

can drag menu items like this here and

play11:58

there this is the admin menu um which

play12:02

means this menu for the voyager as the

play12:04

same way we can uh we can add a new menu

play12:07

item and not no that's not the

play12:09

interesting thing we can add a new menu

play12:11

and we can add our own menu items sub

play12:14

menu items and the stuff then this menu

play12:17

uh name

play12:18

we can call it in our blade uh files in

play12:21

laravel that we can render the menu in

play12:23

appropriate areas

play12:25

um not only rendering the menu on blade

play12:28

files but also it allows us to restrict

play12:31

the

play12:31

menu visibility for several

play12:35

user roles and permissions in in which

play12:37

you can see users we can add users

play12:40

and

play12:42

we can add roles so

play12:44

we can create uh

play12:46

role groups like administrator likewise

play12:49

and we can

play12:50

give

play12:52

access levels you know privilege levels

play12:55

so in that case we can restrict uh

play12:58

showing

play12:59

the menu

play13:01

for

play13:01

unnecessary users as an example if there

play13:04

is an admin user and there is a

play13:06

moderator user so the moderator will be

play13:08

seeing a different menu while admin

play13:10

administrator will be seeing another

play13:13

menu yeah so that's cool so simply we

play13:15

can create the menu here and the menu

play13:17

variable

play13:18

we can render in the blade file site in

play13:21

laravel

play13:22

so if i go to menu builder again so it

play13:25

shows you cannot put a menu anywhere

play13:26

your site by calling

play13:28

menu is the helper method is given by

play13:31

voyager itself and calling the name is

play13:34

the menu name that we are giving in this

play13:36

case it's admin so if we call menu

play13:39

um brackets

play13:41

uh and

play13:43

if we pass

play13:44

admin as a string then it will be

play13:46

rendering this same menu anywhere in the

play13:50

um

play13:51

blade file yeah that's cool

play13:53

and apart from that it's a database we

play13:56

can access the database through the

play13:58

voyager because um

play14:00

rather giving direct access to database

play14:02

through command line tools which is a

play14:03

very

play14:04

uh not a secure secure secure practice

play14:07

we can give like this then we can

play14:09

restrict users accessing the database

play14:12

uh so in this database uh page itself we

play14:15

can create uh

play14:17

add bread that means as um as we know

play14:20

now

play14:21

this one browse read edit and delete

play14:23

feature so we can we can check the

play14:26

browse bread because this categories

play14:28

table already has a great

play14:30

functionality created if we go to browse

play14:32

bread we can check

play14:34

browse means this one so it lists all

play14:36

the items category one category two

play14:38

these are the items and grid means this

play14:41

one view

play14:44

we can give this we have a specific uh

play14:47

item

play14:49

and

play14:50

edit

play14:51

b r e e for edit we can edit this

play14:56

so these are already created by the

play14:58

logic and everything by the laravel uh

play15:00

voyager sorry the voyager itself so

play15:02

simply we can use this stuff in our

play15:04

models everywhere

play15:06

um so it's very easier and

play15:08

less time consuming

play15:10

yeah so and if i go further more into

play15:14

the

play15:14

bread

play15:16

i'm skipping that compass compass

play15:18

section for a while

play15:20

so the bread is the the once you created

play15:22

bread for

play15:23

features so it's it's uh listed up here

play15:27

like this all the bread function and

play15:29

these are listing here

play15:31

yeah so we can add bread to this table

play15:35

and we can delete everything can be done

play15:38

here and compass is kind of a

play15:41

um

play15:43

kappa section will help provide your

play15:44

resources so yeah this is giving some

play15:47

stuff so

play15:49

there are a couple of things we can we

play15:51

can uh

play15:52

set up commands

play15:54

through here we can get

play15:56

we can access our

play15:58

artisan commands from voyager easily we

play16:00

can run them through here

play16:03

and at the same time we can in the

play16:06

resources section we have some fonts you

play16:09

know font awesome um kind of fonts are

play16:13

there they have

play16:14

created font stuff to styling stuff we

play16:17

can copy this one and we can use in uh

play16:19

our blade files to nicely render to

play16:22

nicely render these icons because it can

play16:25

be easily identified by the identifier

play16:28

by then later

play16:30

so in the logs

play16:32

you can check what are the logs we have

play16:34

if i try to access some command

play16:38

php artisan

play16:43

okay i will try to run php artisan some

play16:47

test

play16:48

i think it should comes with some dummy

play16:51

unit and feature testings little

play16:53

you will give a try that

play16:56

test

play16:58

feature

play17:00

unit

play17:04

okay that's what's it

play17:07

okay these that's operated by voyager

play17:10

that's cool yeah

play17:12

earlier they were

play17:13

not

play17:15

creating these text tests as i remember

play17:18

yeah that's cool

play17:20

so we'll try one

play17:24

one test

play17:25

hp artisan test

play17:28

ttt

play17:33

is there any test

play17:35

related to test cases

play17:38

try test

play17:40

yeah

play17:45

additional arguments we can give

play17:46

arguments if you need no

play17:49

we'll try to give you

play17:52

undefined array key

play17:54

oh that's cool so

play17:56

there's some issue with test cases i

play17:58

mean um we haven't properly set up our

play18:01

test

play18:02

so that's why it's showing

play18:05

this error

play18:08

but which means anyway through voyager

play18:10

itself we can

play18:12

run our

play18:14

artisan commands

play18:15

so simply without giving accessing

play18:18

without giving the access to artisan

play18:21

tool and database

play18:24

command line to only tools we can simply

play18:26

give some users to access only to

play18:28

voyager which is see we can then audit

play18:32

in some cases we can audit user

play18:34

interactions with the application

play18:36

uh

play18:36

by through a simple logic then we can

play18:39

track what are the actions that they

play18:41

perform for

play18:42

specific thing then if there is

play18:44

something if something goes wrong we can

play18:46

identify which user they did that and we

play18:49

can um get further actions accordingly

play18:52

yeah so yeah this is a quick overview of

play18:55

voyager especially not viral version 9

play18:58

just wanted to check whether it is

play19:00

compatible with laravel version 9. yeah

play19:02

it seems everything works fine so far so

play19:05

cool so in a later video i will

play19:07

be trying to

play19:08

dig into virtue and its features

play19:11

furthermore okay so for um let's meet

play19:14

another video later okay thanks for

play19:16

watching and see you bye

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
Laravel 9VoyagerInstalaciónPanel AdminTutorialWeb DevelopmentPHPComposerMySQLPHPMyAdminCRUD