bhhussain bhhussain
3

Form without data is also inserting in table

I have a form like the attachment. I have three issue in one form.. I want to have dynamic row for items based on the requirement.. Basically this f...
General
3
480
BobBb BobBb
4

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
4
1076
jalil1408 jalil1408
9

Call to undefined function App\Helpers\cal_to_jd()

My app works fine on localhost but when I hosted it on an online server I got this error: "Call to undefined function App\Helpers\cal_to_jd()" /home...
irankhosravi irankhosravi
7

How to create master in php?

I want to create a simple master in theme. master.php <!doctype html> <html lang="en"> <head> <!-- Required meta tags -...
General
7
230
bhhussain bhhussain
4

smtp.mailtrap.io - connection refused

I have uploaded my project to Godaddy CPANEL to test it.. When I try to register the user I am getting the below error message Connection could not be establi...
ChrisHelmsC ChrisHelmsC
3

Class 'PhpOption\Option' Not found When Running PHPUnit

I get this error for every defined test I have. Any ideas? This was working fine last week, no idea why it broke. The test outputs don't seem super useful to me, but here i...
joy-kevin joy-kevin
1

Questions about laracast subscription

This is not related on any development questions. I am planning to subscribe on Forever plan on laracasts. But I have some clarifications first i hope it is allowed...
connecteev connecteev
0

Getting extended profile data back from Linkedin, Google etc using Laravel Socialite

I'm using the latest version of Laravel Socialite to log a user into: Linkedin...
connecteev connecteev
0

Getting Username (Nickname) for Google / Linkedin using Socialite

I'm using the latest version of Laravel Socialite to log a user into: Github...

Eloquent 3 dimensions pivot table

Hi, So today I had an headache on a 3 dimensional pivot table. Working with eloquent in a simple two dimensions pivot table is really easy but once you want more, re...
gedeon2020 gedeon2020
1

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....
NovocentDev NovocentDev
3

Multiple queued jobs with a single callback (1-n-1)

I have a process that needs to be broken into multiple jobs. After all the jobs are completed I want to alert the user. The application needs to check for images associated...
airportjule airportjule
0

iframe Security

We're building a Progressive Web App for use between businesses providing a service and their clients. We want to allow the business to include an iframe with the details o...
Vue
0
12
laracastsluvr laracastsluvr
1

Digital Ocean managed databases

Hello, again friends! Did anyone play with Digital Ocean's Managed Databases? Particularly with MySQL 8. If so, care to share some configuration? Thanks....
Dunzo Dunzo
2

I'm trying to build hacker news clone in laravel and MySQL, how should I design my database schema?

Should I follow the hacker news database schema style where a single table store both stories and comments or should I make a separate table for both stories and comments....
willjohnathan willjohnathan
0

Temporal Database Design, SoftDeletes or Custom Field

For a temporal datase design (i.e. pricing table, with "effective dates") , do you use softdeletes and then utilize the created_at / deleted_at fields or do you u...
Blindacme Blindacme
0

Search for leads based on search filters.

Hi, I'm looking to add something to our app that allows a user to search or scrape leads based on various search filters. This could include things like industry, company...
Tips
0
7
tritus tritus
0

Envoyer/Forge Deployment not updating console command files

Hi all, I am currently using envoyer for deployments. It uses the forge servers which have OPCache enabled. I have php-fpm reload on every Envoyer deployment which s...
bobhart bobhart
4

Issues with Laravel URls

Hi all, I have too many issues with Laravel URLS. Some time it accept absolute address but other times it don't work with absolute address. I am using Laravel on my...
namaraea namaraea
3

how can i save multiple checkboxes into multiple column using laravel

code saved the last id in array only @foreach($categories as $category) <input class="form-check-input" type="checkbox" id=&...

Get ID of saved pivot-item

Hello, I would like to solve the following problem: I have a model (Car) that is loaded as a relation to another model (Driver) with...
adnan483 adnan483
4

Better solution for SQL query

I have these two queries $na = DB::select('select n.*,u.name from nalog2019s n,users u where n.user_id=u.id order by n.id desc'); $voo = DB::select('select *...
AwadGorg AwadGorg
1

Using Image intervention to resize images

Hello, Am using am intervention to resize my images this is the code $image->resize(208,130)->save(storage_path('app/public/'.$gameUploadFolder.'/'.$t...
bhushan bhushan
2

How to change routes/web.php ?

I want to have routes/admin.php for admin routes and routes/web.php for normal routes...
Laravel
2
716

Set Permission for different Methods in Controller when using Spatie\Permission

Hi, I am using Spatie permissions and I set up Permissions for specific Methods in the Constructor of my Controller. All Methods should be protected besides th...

How do I make my hasOne connection cleaner?

Hello. I'm trying to figure out how to make my has one connection cleaner. I currently have public function experience() { return $this-&g...
Chron Chron
0

grab images to form a carousel

Is there a way to grab all the post that has images and put the images in a carousel? When an image in the carousel was clicked, I want it go to its own post....
tomsongrey tomsongrey
2

What wrong with my seeder file??

When I try to seed the database it gives me a error and my models are working fine.Here is my database seeder code. <?php use App\Models\Category; use Ap...
tomsongrey tomsongrey
6

What is the wrong When I try to seed??

Symfony\Component\Debug\Exception\FatalThrowableError : Argument 1 passed to Illuminate\Database\Eloquent\Relations\HasOneOrMany::save() must be an instance of Illuminate\...
mdurao mdurao
8

Laravel Socialite and Laravel 5.4

I'm getting this error: production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Illuminate\Session\Store::set() in...
Laravel
8
121
mstdmstd mstdmstd
17

Delete old versions of app inside app directory

Hello, In Laravel 5.8 app I use envoy to upload changes on the server(ubuntu 16) and I created user for connect with commands : sudo useradd lardeployer sudo...
Laravel
17
587
midascodebreaker midascodebreaker
1

HHVM NOT INSTALLED IF MARIA DB IS CHOOSEN IN HOMESTEAD INSTALLATION...

I dont know if it is a bug in lavel homestead or not... but if u are both adding mariadb and hhvm for your environment hhvm always get drop in the installation... I...
muazzamazaz muazzamazaz
5

Read Json in Ajax - Undefined

I am getting following json data in ajax from laravel controller [{"name":"tests","governorate":"Trento, Province of Trento,...
colbyalbo colbyalbo
0

Valet - Only Works When Internet Connection is Connected

Hello, I've been using valet for a few months now. I noticed today that when my MacBook is not connected to the internet, the sites do not load. When I installed Val...
Create a New Discussion Button