successdav successdav
2

Transform Translate with Positive Value make a scrollbar

The school bars appear when you toggle on mobile display on chrome dev tools. I have tried overflow-x: hidden, but that did not help as the width is still wider than the br...
mvnobrega mvnobrega
1

How to guarantee only one record in the database

After passing validation, I need to ensure that the data is saved only once. I need to guarantee this, because in some cases 2 or more records are saved even preventing thi...
yousifgarabet yousifgarabet
6

What Laravel IDEs has the most magics?

Can PHPstorm do more magics than sublime Text, VS code, and Atom? if not then which could have most magics for laravel?...
Tips
6
138
umair33 umair33
4

eloquent returning the same results

eloquent returning the same results for every slug i dont know why here is my query declare(strict_types=1); namespace App\Http\Co...
daniloRPS daniloRPS
4

Route::get x Route::resource Conflict

Laravel Version 8.x I'm trying to redirect an user from the home page to the login page if they're not already logged in using: ->middleware('auth'),...
sshateri sshateri
2

Error while compiling the multiple imported stylesheet

I've included multiple stylesheets into my app.scss but the laravel mix is giving me a long error which I don't understand. all was working fine when there was only the fir...
Mix
2
61
umairparacha umairparacha
1

How to confirm someting else in password confirmation middlerware instead of password

I want to confirm pin instead of password. How i can do this please?...
bestmomo bestmomo
7

Do you really like Tailwind and Livewire ?

Since Laravel 8 there is something weird with Authentication stuff. The TALL stack is arrived with Tailwind and Livewire (or Inertia). Of course we can still use the packag...
General
7
148
theUnforgiven theUnforgiven
14

How to use forked repo in composer....?

Hi all, I've forked a repo and made some changes, however I need to use my "fork" in the composer file to use my changes as I don't think the maintainer wi...
jlrdw replied
Solved
theblack68 theblack68
1

Pass data to component

Hi ...sorry for the question but I try something that maybe is wrong. I have create a component named "Rendering" with comand php artisan make:component Re...

barryvdh/laravel-dompdf table page break problem

Hi, so I am using barryvdh/laravel-dompdf to generate invoice table, but the problem is on page break. css: .page-break { page-break-before: al...
boby replied
Solved
Laravel
9
2283
paboo paboo
5

Class 'Symfony\Component\EventDispatcher\Event' not found

i was get bug from Event when i upload my image in server Error Class 'Symfony\Component\EventDispatcher\Event' not found in line 10 and...
Laravel
5
199
Adam_Commit Adam_Commit
5

:assertCount() must be a countable or iterable - Laravel 7

Hey everyone, Been trying to battle away with the Lets build a Forum with TDD, and I am about half way through, so far, its going OK, but been stuck for a while now...
boghy933 boghy933
1

Best way to embed form

Hello, I have the following setup: Laravel API Website made with VUE that uses the API - The main functionality is a form that can create a boo...
Alfie Alfie
2

Invalid argument supplied for foreach()

Hello all - I'm having issues passing an elocuent model to a custom select component This is the view that renders the component <x-custom-select :...
Alfie replied
Solved
iroxbir iroxbir
8

How to send email using Laravel?

I'm trying to send an email but i can't move anymore and that's my view: <h1>Contact TODOParrot</h1> <form action="contact" method...
Laravel
8
167
gitwithravish gitwithravish
1

Cannot open test file

Can someone explain this? This fails vendor/bin/phpunit Tests/Unit/ProductTest.php // Cannot open file "/tests/unit/ProductTest.php"...
EbrahemSamer EbrahemSamer
7

How to make a subdomain like sa.domain.com and display specific data on it ? PHP

I've website ex: ( domain.com ) displays products and I wanna make subdomain like ( sa.domain.com ) to display products that in "Saudi Arabia" for example....
General
7
467
kingcoen kingcoen
5

502 Bad Gateway Timeout Error - Recurring problem.

Hi, I've a timeout error with Nginx - PHP. After 30 seconds the app return 502 Bad Gateway, always. I've changed fast-cgi params, PHP params, Nginx,etc but the probl...
Forge
5
3572
chrisgrim chrisgrim
8

Using Index in Vue Computed Properties?

Hi All, I want to be-able to hover over an element in a v-for and affect the element before and after it. I am trying to setup a grid so when you hover over one of the imag...
Vue
8
78
aligajani aligajani
15

How to secure an internal API from public?

Say I am building a back-end using Laravel and consuming it on the client-side using Angular. I have a RESTful API but I only want it to be consumed by my application, and...
Laravel
15
3141
tomcodes tomcodes
2

How to keep session between 2 HTTP tests?

I am working on tests on a new user to take an appointment with somebody. I must be missing something critical because I can't keep the session between 2 assertions....
bor1904 bor1904
3

Best way to creating and managing email templates in web system

Hello, Im starting with project where client need to creating emails (templates) using few possible variables ("placeholders"). Of course want to have elastic, si...
kvnkrft kvnkrft
2

Help with... Storage::disk('s3')->url($media->file);

I am trying to get the URL for a file I uploaded to s3 (using code). Everything I'm reading indicates that this should work: $media->path = Storage::...
untymage untymage
1

Macro methods not working in package development

I want to create a package for laravel So i moved my codes into single folder, the MyServiceProvider extend the correct provider, but my macro methods not work...
rubenochoa rubenochoa
13

About custom messages validation

I am struggling to understand how to custom valid messages like "This e-mail is valid" to "The e-mail you inserted is not exist". according to...
Laravel
13
171
van1310 van1310
15

how to display dynamic data in datatable ?

how to display dynamic data in datatable here is my controller code public function json_view() { $view = Pg::all(); return respon...
Laravel
15
2908
xtremer360 xtremer360
2

Laravel Livewire Rules Array

I am currently trying to do a check that a property on my form is required if a certain condition passes. With the current code I am receiving the error that the Cons...
Elenktik Elenktik
12

How to update props from parent?

I currently pass a value as a property to my child component in my blade: <nie-table :contentrows =" {{ $data }}" ref="usersTable">...
Vue
12
98
meglo meglo
10

dettach controller helpp..

how to delete from this pivot table id | worker_id | attendance_id | info 1 2 1 present 2 3 1...
Laravel
10
94
gregghoush gregghoush
14

How do I check if a model has a job on the queue?

For many reasons, my queueing and job processing is a bit more complicated than just tossing jobs on the queue. I require some specific chaining and some jobs depend on oth...
Laravel
14
1944
raheelkhan raheelkhan
9

Integrating Vue with Laravel

WHAT I DID npm install npm run dev // added the CSS and JS files to my layout. Here is my App.js file const app = new Vue({...
Laravel
9
120
dxladner dxladner
7

Advanced Query Help

I have a query with multiple joins. The logged in User belongs to a facility. There is a pivot table for a many to many facility to tech relationship. Where a tech can belo...
rafaelg21 rafaelg21
4

Problems with Mardown and foreach dynamic rows

Good afternoon everyone, I have a problem with the dynamic rows to show information from a DB in a Markdown using the table component if I put a foreach to the rows...
Laravel
4
1681
Create a New Discussion Button