harendrasingh harendrasingh
8

Laravel 5.9 Wish List

After The Huge laravel update of 5.8, Let's create a wish list for upcoming new update features and functionalities of the upcoming laravel version. Kindy share your...
Feedback
8
1167
ottaviane ottaviane
3

saving record " ErrorException (E_NOTICE) Array to string conversion"

Hi all. I have to save record in a table but I receive this error message: " ErrorException (E_NOTICE) Array to string conversion" This is code:...
bufferoverflow bufferoverflow
1

Missing required parameters but i'm passing them with a middleware

The routes file defines the routes for my users subdomain, so I need to pass the {subdomain} variable to every route. I made a simple middleware to achieve this:...
emfpc emfpc
11

Passing the api_token in header when the user Log In

So far I was able to understand the whole API thing in Laravel thanks to you guys. I'm able to see the information of the user in my controller if the user passes the api_t...
Laravel
11
65
babonday babonday
26

how do you handle a user when their session timesout in laravel 5

wow sorry to ask this question but it seems everyone asks this question on here or stack overflow at very different times in their journey.. i must be looking in the wrong...
Laravel
26
102
irankhosravi irankhosravi
1

Route [categories] not defined. (View: C:\xampp\htdocs\new\shopping\resources\views\Admin\categories\index.blade.php)

I use laravel 5.8. web.php Route::resource('categories', 'CategoryController'); CategoryController.php public function...
JoshP JoshP
1

Advice on how to handle authentication and access for an expired subscription?

My web app is only available to actual subscribers or those on their trial. I'm just curious how others have handled the point at which a subscription (or trial) has ended....

I could use some assistance in formatting a query

I have a query that I'm struggling to get to bracket correctly, query appears at the end of this post I have three relations: User User->offices()...
trevorpan trevorpan
9

Should /tests be in .gitignore?

It seems like this folder should not make it to production. However, having versions of tests also seems like a logical and good thing. There's no mention of .gitign...
gouseferoz gouseferoz
1

How to have a image preview in the light box for before uploading in the form

I am uploading images using the form however i wanted to see the preview of the image while uploading it. I was able to achieve using that using jquery render, but t...
CodingIsEasy CodingIsEasy
0

Laravel certification tips

I just passed the laravel certification and made a video about how it works and what to revise...
Tips
0
14
Punksolid Punksolid
0

Is it viable to make a CRUD just to add one field to serve as Only Read Relationship?

Hi, I want some feedback because I think something it's a little bit wrong here but I don't now the principles that it's wrong. I have an SPA and there a form to cre...
irankhosravi irankhosravi
4

laravel 5.8 $this->resource not found

In web.php Route::namespace('Admin')->prefix('admin')->middleware('auth')->group(function (){ $this->resource('categories', 'CategoryControll...
jlrdw jlrdw
1

Query Builder To Array work a round

In a post someone wanted some array results, I told them to add toArray after get: ->get()->toArray(); But I was using eloquent, they...
Guides
1
246
joerucci joerucci
2

Laravel Passport without connecting to "User" models.

My application has users belonging to "Organization" models, it is here where I want to associate token/secret combinations for API consumption. I believe...
uxmahbub uxmahbub
0

Auto select with jQuery

Html code: <div class="per-input per-businessHour"> <select name="closing_time[]" class="closin...
adrienpsn adrienpsn
8

Best way to update a user

I am creating a user's edit page. Here is the validator: public function rules(Request $request) { return [ 'username' => [...
Adcade Adcade
1

Eloquent OneToMany relationship with multiple possible columns

I have the following tables: categories: id, name products: sku, name, category1, category2, category3 Where category 1, 2 and 3 are the...
jay_singulara_tech jay_singulara_tech
8

Moving the User model file

What is required to move the default User model to another directory without breaking the features provided by make:auth? I'm using nwidart/laravel-modules and wanted to ha...
Chron Chron
1

Snappy package and Bootstrap 4

Is there a way to make rows and cols work on snappy? Pseudo classes also don't work. Is there any pdf generators for laravel that supports the BS4 or pseudo classes?...
oliverbusk oliverbusk
9

Advanced relationship in Laravel

In my web application, users can upload documents or emails to channels. A channel can furthermore then have document_ta...
timmy1420 timmy1420
1

List all subscribed users with channels

Hi all, How can I list all subscribers with connected channel (names)? I'm using laravel-echo-server with socket.io....
Lars-Janssen Lars-Janssen
1

Vue.js some items in checkout card are not reactivity

Hi, I'm struggling with this problem for days now. I hope someone can help me out. I have a checkout card where I'm trying to update the quantity and total pr...
Vue
1
48
rsx11m rsx11m
5

hasMany() does not connect to an alternate user 'id' (5.8.13)

I am fairly new to all this and am following the Laracasts "Build a Laravel App with TDD" and have got to Episode 5. Here a normal User can have multiple Projects...
Laravel
5
112
Sky7ure Sky7ure
2

Feature: Abandon a Series!

I tried to un-complete the first and the only episode I watched from a series, since I don't want to watch it anymore, and yet it's still stuck in my "In Progress"...
wilk_randall wilk_randall
3

Changing Queue Driver

I'm using Forge to manage a client's server and originally I set it up to use database as the queue driver. I've tried changing it to the beanstalkd driver, bu...
David_Cotton David_Cotton
1

Spark addSeat() method

Hello! I have been build an application for the last month. I would like to see if I could get some help. Here is my SparkServiceProvider: Spark::...
Spark
1
15
gurvindersingh gurvindersingh
2

Yajra data table not working

I have got this error in yajra data table ````Class 'DataTables' not found"```. You can see it in attached link....
fantasma fantasma
12

Laravel Telescope Blank Page

Hi. I set up Laravel Telescope but /telescope is completely blank. Database is filled with records but nothing shows on dashboard More details here...
Laravel
12
57
ITellMyselfSecrets ITellMyselfSecrets
1

Google calendar events

Hi guys, Do you happen to know a package of which I can use to insert events in a google calendar. I find the documentation of Google pretty hard and this is probab...
luknupespa luknupespa
3

Nullable dependency injection controller

I'm getting a Too few arguments exception when trying to inject two nullable services in a controller method public function home(Ordering $ordering, Newslet...
jijoel jijoel
5

belongsTo object from member of belongsToMany relationship?

I'm having a hard time figuring out how to get an object connected to a belongsToMany relationship, and hoping someone can help. Essentially, I have a many to many relation...
vegasys vegasys
3

How to validate URL query parameters?

Hello, https://youtu.be/-1Hh-Hj4ZyU?t=648 Here it says : if...
luknupespa luknupespa
4

SQLSTATE[HY000]: General error: 1364 Field 'content' doesn't have a default value

I get this error: SQLSTATE[HY000]: General error: 1364 Field 'content' doesn't have a default value (SQL: insert into newsletters (title, updated_at, created...
Create a New Discussion Button