laravel tag

128 questions


1 answers
295 views
0
The Mysql container cannot be started using the web app created by Docker+Lavel, Nginx, Mysql, phpmyadmin.

environmentWSL2 (Ubuntu 22.04)DockerNginxMysqlPhpmyadminWhat do you want to doSince Mysql cannot be started, I want to find out the cause and start it.StatusMigration failed → Mysql is not starting → ...

1 years ago

1 answers
377 views
0
config('app.env') always returns local on Ravel 9

I'm trying to use config('app.env') to make a decision to run only when local in Ravel 9.However, it doesn't work.No matter how you configure .env, it always returns local.Other files, such as .env.te...

1 years ago

2 answers
458 views
0
How to Receive Data Output Using echo in a Loop in an API in php

In laravel, I created an API that outputs JSON search results, but since there is a lot of data to output, I created it to send data in split echo.In this case, if I want to run the API within php of ...

1 years ago

1 answers
326 views
0
How do I run seeder on the test database on Ravel 9?

I'm developing with Ravel 9+docker.You are about to run db:seed to create initial or sample data.This will create data in the development database.I'm also trying to add initial and sample data to the...

2 years ago

1 answers
373 views
0
Unable to connect to DB when executing laravel command in Docker environment

The Ravel app is working properly in docker environment.docker exec-it app bashinto the container, and just under the laravel project, phpartisan command:test_commandWhen you run the and commands, Wit...

2 years ago

1 answers
283 views
0
Send mail to Ravel mailhog test error Connection could not be established with host mailhog:stream_socket_client():

We introduced mailhog to test mail transmission with Ravel, which is operated by docker.However, an error has occurred and cannot be sent.Swift_TransportExceptionConnection could not be established wi...

2 years ago

1 answers
399 views
0
The registration process does not work with laravel.

After entering characters using the store mezzot, when I press the registration button, I want to do the registration process and add it to the list screen, but I got the following error, so it doesn'...

2 years ago

1 answers
282 views
0
Understanding Ravel Multidimensional Array Value Extraction

There is an application currently under development at Ravel, and I would like to treat nested data as a single array, but I am having a hard time because I do not know how to do it.The forms we want ...

2 years ago

1 answers
326 views
0
Phpartisan migration does not work in a Docker environment

I use laravel,vue.js,docker (local uses nginx for docker) on my Mac to create a web app locally. I think it's because the .env configuration is strange, but it doesn't connect to the local mysql that ...


1 answers
412 views
0
How do I create a Model after migration?

I ran DB definition on Ravel with the following command:$phpartisan migrateIs there a way to automatically create Model files/classes after this?I've seen how to make migration at the same time as mak...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.