BobBb BobBb
6

PHPUnit lists tests vertically

How can I configure PHPUnit to revert back to making tests horizontal? It seems to have each individual test on a per line basis, whereas before the tests were just on one...
Testing
6
1117
oribsn oribsn
1

cannot install laravel via the laravel installer

I am running mac os catalina, and I get this error: Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation reques...

how can I fix: Packets out of order. Expected 0 received 1. Packet size=68

I installed Laravel in a shared hosting, I placed all the folders of laravel inside a folder called /site, at the same level of public_html, and the contents of public are...
Gabotronix Gabotronix
0

CSS concentric circles with orbiting "planets"

Hi everybody, I'm trying to render a "solar system" diagram only with css, the concentric circles are easy to do with css border-radius, border and some transfor...
gedeon2020 gedeon2020
3

how to add vuetify to a laravel project?

Hi i am a beginner with laravel i need help steps to add a framework like vuetify in a laravel v6 project....
Syarif Syarif
0

Help me to auto restock product

Hello.. pls help me, i make a pre sell product and i want every day can autorestock product to next day, this my form customers transactions : Select product:...
skoobi skoobi
1

Roles using middleware

Hi. I'm playing around with the middleware and thought that a good bit of practice would be to create a role-based auth system, but am a bit stuck when trying to do...
ThePoet444 ThePoet444
2

Multi model, abstract model, or something else?

I have a grandparent->parent->child setup going. Specifically Fleet->Wing(s)->Squad(s), or Fleet->Squad(s) as wings can be optional...
sndytj sndytj
0

What type of token authentication should I use with Laravel Password?

Good morning, I am developing an API that should be consumed by a SPA and app for Android and iOS, reading the Laravel Passport documentation and looking for examples I am...
benlwong benlwong
0

Homestead Doesn't Install ElasticSearch

This is actually more of a Homestead question. I upgraded to the latest version of Vagrant, Homestead, and VirtualBox and added the following line to my Homestead.yaml file...
codemandavid codemandavid
8

Package installation and php artisan serve not working

Hello im new to laravel and i have been trying to install a package (5.8) to kickstart my learning. But each time i run the installation command i get the following...
amitsachdeva45 amitsachdeva45
4

Php Unit Testing of API in laravel 5.5

Hello Everyone, I am working on phpUnit test in laravel 5.5. When I am trying to test the method on controller with 2 different methods by creating request object a...
AlexWinder AlexWinder
0

PayPal Smart Checkout - return_url/cancel_url just closes window with no redirect

I am currently writing an application in Laravel which has the PayPal smart checkout button is making use of the PayPal PHP SDK (...
James_Moore James_Moore
4

Xdebug from the command line

I'm jumping back into solving problems on https://exercism.io/my/tracks/php each p...
saadaan saadaan
4

Passing value '0' is aborting DB query

Hi, I am facing a strange issue. In blade, I have a form carrying a variable 'gender', which has values 0 for female and 1 for male. When I select MALE and tr...
bobmyles bobmyles
1

Hosting two Laravel projects on one domain or sub-domain?

I have two Laravel projects and using NGINX webserver. However, since they related, I would want to use one sub-domain for both. How do I set up this? I have...
bestmomo bestmomo
4

Administration

I have explored the available packages to facilitate the construction of an administration: Voyager, LaraAdmin, Backpack, Boilerplate (not Nova which is a paid solution and...
Laravel
4
109
farhankarim farhankarim
5

CRUD generator for laravel 5.8

Are there any new CRUD generators except infyom that generate adminpanel and crud for tables using mysql?...
nitz25 nitz25
7

CRUD

Hello, I am starting to make a project where I can create, read, edit and delete data from database. And I know that there's a lot of crud generator in github but I am conf...
Laravel
7
107
royo1987 royo1987
0

Bootstrap Collapse several elements

Hi, I'm using Laravel 5.7 and I'm sorry but I don't know what Bootstrap version it came with Laravel... I'm that new at this I have the fallowing feature that I want...
pknad505 pknad505
1

Laravel broadcasting event not being picked up by socket io using docker-compose

I'm attempting to use laravel-echo-server (socket.io) I'm getting a roadblock where the client-side doesn't appear to be getting any broadcasted events. Everything s...
andreixfr andreixfr
5

Names are displaying based on number of posts

Heya! I have a problem with a @foreach. So, I have foreach for username, but I have a tricky bug. If I have 2 posts, I have all names f...
Laravel
5
105
MattB MattB
2

Mailchimp not loading on all pages

So, I have mailchimp working my laravel app, however its hit an miss when it shows. This is the header section from my layout blade file. Some pages that use this layout fi...
zerodps zerodps
1

Validating with Rule::in / Laravel 5.8 MACOS MAMP

Hi guys, I'm trying to validate a drop-down menu where my users choose a different username to include in their contribution as a collaborator. However, I send the u...
bajwa_rajat bajwa_rajat
10

using another method of same controller inside one method causing error

Hi, I have made two methods inside a controller . I am calling one method inside another method. I am calling it inside a loop , but when I cal it the loop output only 6 it...
Laravel
10
108
t0berius t0berius
4

reducing laravel queries (count())

I'm using the following code inside my template: @for ($i = 1; $i < 11; $i++) {{App\User::has('sellerDetails')->where('current_level', $i)->coun...
brayniverse brayniverse
1151

Where are you all from?

I'm wondering how far Laravel's reach extends to. I hail from London myself....
General
1151
4215
Danieloplata Danieloplata
1

Group collection results by date

Hi guys, I'm trying to group a collection by date, so that I can print them to a page by creating a foreach loop per date, rather than per appointment (shown below)....
chrisgrim chrisgrim
4

How to Pass Data with Vue between Pages

Hi, I have a nav bar in my application that has a search function. The nav bar is a vue component and the main body of my site is a vue component. My goal is to have a user...
Vue
4
42
thebigk thebigk
3

Loading Count Of An Extended Relationship

Let's say I've following models: Post [ belongsTo-> Author, hasMany->Replies, morphTo->Like] Reply [ belongsTo->Author, belongsTo->Post, morph...
sheixt sheixt
5

Delete duplicates records from large Laravel collection

I have a large database table (~1 million records) which I need to purge the duplicate records. The table structure is as follows: |----|-------------|-----|...
rvkvino rvkvino
0

Laravel jenssegers mongodb embedded document attribute not working

I have tried to set Attribute in my sub document model, but it's not working. protected $appends = array('image_full'); public function getImageUrlAttribute($value) { retur...
tareenmj tareenmj
13

How to use Authentication using Username instead of email

I want to create an app where I Log in the username based on username, instead of email address. Since I am a beginner to Authentication, I simply ran the php artisan make:...
Laravel
13
1782
Aqeel94321 Aqeel94321
9

Create database with username and password using DB:statement()?

create database programmatically using laravel DB facade or any other solution.. have any idea?...
somethingbig somethingbig
4

Validating form submission to allow a user to only submit once per model instance

Hi all, Hoping someone can help, I have an Auction model that has many Bids, the Bid belongs to a User. How do I validate the form submission that stores a bid so th...
Create a New Discussion Button