mostafalaravel mostafalaravel
3

laravel vue router not working

Hey there , I have some troubles with the router , I cant see the content of any component. The only thing is just the menu but when I click nothing happened !:...
Vue
3
34
SPL3S SPL3S
11

Hide submit form when data present in DB & show update form

Hey guys and girls, I've been breaking my head for a few days trying to solve simple bug for advanced minds. I have a simple form that submits some data to DB...
Laravel
11
106
rkrite rkrite
1

Check if Config item exists

Hi, I would like to know if there is a way to check if a config item exists. I have a case where I refer to some config items in config/custom.php file, and o...

Laravel image is not appearing on Browser

I am showing the user profile picture like this when i upload the profile picture This is how i am trying to show the image in the Browser...
tastemedia tastemedia
2

how to use yoyager permissions in frontend

Hi there, i´m new to laravel and i´m using Voyager for admin. I´m stuck at the moment and wonder how can i use the user permissions from voyager to show or hide posts i...
diaglyph diaglyph
2

Using league's SFTP adapter with Flysystem

I've installed league's SFTP adapter for Flysystem. I need to SFTP to a server to grab a file. Doing a test I can connect successfully, but when I call listContents(...
General
2
214
kisaw88 kisaw88
3

disable send mail validation message after registration

i have the verification email activation method actived but i don't want it to send a verification email after registration i want it to be like when the user logs in and c...

Updating User role_id in Laravel

This is mine Condition i am not filling any form for User Credential i want to do it Hard Coat id this is this then user Role Id shall be changes how can i achieve this...
behnampmdg3 behnampmdg3
1

ErrorException (E_ERROR) Call to a member function diffForHumans() on string

Hi what's up it's Monday and I get this error. I wanna show days since this has been a member and the exact date . For example Member since March 15th 2019 (3...
rex123 rex123
2

Request should be compatible

Error Declaration of App\Http\Controllers\ColegiadoController::busqueda(App\Http\Requests\PostRequest $request) should be compatible with App\Http\Controllers\Contro...
anonymouse703 anonymouse703
2

Error: Undefined variable: brcode

I send the brcode using AJAX to filter data by branch.. but when I try to fetch the data I got this error Undefined variable: brcode" This is my co...
PetroGromovo PetroGromovo
22

Error in migration with use prefix set in modal constructor

Hello, In my laravel 5.7 app with use of migration file I had to implement prefix of tables in database , After some tests I found a good way to set prefix of tables as con...
Laravel
22
130
PK_06 PK_06
1

Use statement and Namespaces

Hi Everyone! How can I use namespace/use statement without requiring or including the file? If I remove the include/require, the warning says the class not found. PS...
troovers troovers
1

Mailgun custom variables

Hey guys! I'm using Mailgun to send my emails. I'm currently working on implementing tracking deliveries, opens and drops. For that I need to append custom variables...
Maung-C Maung-C
1

Generate invoice number

i want to generate invoice number that record has or not my table. if not, create invoice_no start ( 000001) and next record have (000002)...
Laravel
1
255
cu256 cu256
2

Environment Variables and Config in 5.8

Hello, In Laravel 5.8 the env() function changed considerably. It does not read server environment variables anymore. Before it called PHP's getenv() internally, now...
Msoft Msoft
4

can I customize Laravel Auth Login?

HI, I have some problem with laravel Auth command Login and Restration. I have default laravel login system using auth command. but I need login with nic number instead ema...
Laravel
4
179

How to Customize Laravel Auth Login and Registration System?

I am using Laravel 5.7 and hope to use Auth command to create Login and Registration system. but by default with Auth command laravel make register system and login with em...
vandan vandan
18

Trying to get property of non-object

Blade file @foreach ($information as $informations) {{$informations->followups->description}} {{$informations->follo...
Laravel
18
182
Conixs Conixs
4

Anyone can help me use this middleware?

I'm building an API that users will have permissions based on roles, and I was trying to use this middleware -...
Laravel
4
104
behnampmdg3 behnampmdg3
3

Is this the correct way of rewriting this query in Eloquant?

Is this the correct way of rewriting this query in Eloquant? SELECT name, email FROM members INNER JOIN member_course ON members.id = member_c...
RosTal RosTal
2

I am new in Laravel, need your advice

Dear all, I am happy to be a member here, I've involved with a project that I have to finished within 2 weeks. I have a long experience with PHP and web designing. But I us...
SteveBelanger SteveBelanger
0

Socialite with Google complete security

I am in the process of untangling how Oauth works. Yes, I successfully made "sign in with Google" work. I began wondering how the returned google user id is ver...
joshblevins joshblevins
5

Signature Pad with Ajax

I have been attempting to follow advice from htt...
kakallatt kakallatt
0

Excluding relatableQuery in edit form view of Laravel Nova?

I have 2 resources: Product and Inventory (BelongsToMany relationship) The pivot table (inventory_product) has an extra field is quantity (...
Nova
0
10
hasen39 hasen39
2

about file

i am working now on clinic managment system and i want to store thier result information but is file or database to read after some times in best way...
Alizey Alizey
7

Why Blade Template Always Echo Variables :(

At my view i dont want to echo this variable of path {!! $path = "uploads/$testimonial->logo" !!} @if(!...
General
7
267
deepu07 deepu07
0

Backpack-API

Hi Guys, one quick question how to connect/access external api into laravel-backpack? any ideas/suggestions....
aschorr aschorr
0

Is there a way to get the Swift_Message instance from the Mailable class?

I'd like to be able to extract the email in RFC 2822 format with a $mail->toString() call (as seen here:...
speedydan speedydan
1

Eloquent - show only 'live' results

Hi, I have a listing model, and each record in the database has a 'live' column. I'm wondering what the best way to grab all live listings when using Listing:...
kisaw88 kisaw88
6

registration create methode Undefined index

i have an ... tag in my html code that would sometimes disabled by javascript it depends of the choice here is the code of the tag :...
giwrgos giwrgos
18

General error: 1215 Cannot add foreign key constraint

Hello everyone, I'm trying to make a migration and I'm getting the following error message [Illuminate\Database\QueryException] SQLSTATE[HY000]: General error: 1215 C...
General
18
1410
flashman flashman
0

CRUD with Datatables.NET Blade and VueJS

Hi, is there some example of CRUD with Blade view, datatable and VUEJS form opened from blade view in modal. Example: I have view users/index.blade.php...
Vue
0
9
sarmadindhar sarmadindhar
1

Eloqouent fetch records b/w time interval

Hi! How can I fetch the records of one week from today to previous 6 days (not from start or to end day of week) or one month from today to same day of previous month (eg:1...
oliverbusk oliverbusk
7

Blade - map database values and show in view

Hi all. So imagine I have a database table, that has two columns: fields and operators. The fields can have below values: from...
Create a New Discussion Button