sarmadindhar sarmadindhar
7

Route group prefix no working

Route::group([ 'prefix' => 'admin','middleware' => ['web'], ], function() { Route::get('/dashboard', function() { return 'working'; }); })...
clemblanco clemblanco
1

Testing Model Observer Events - Laravel 5.6

I'm facing a weird issue today while trying to test a Model Observer Event. App\Providers\AppServiceProvider public...
marek7 marek7
5

Can I show a card only for a specific user type?

For example, I have only user types ADMIN, CLIENT and I want to show some specific card only for ADMINs, is it possible?...
Nova
5
83
talhaatsix talhaatsix
7

Chat System - Laravel , Redis and Socket.io

I want build chat system with laravel . im using laravel , Redis and socket.io (node-server) . So , I want to know how this stack is work . {User1 ->...
kisaw88 kisaw88
3

should i define mysql relations when using alequent

i'am just coming from jeffery way's tutorail about elequent relation https://laracasts.com/series/laravel-from-scratch-2018/episodes/16 i di...
SkyCoder SkyCoder
5

Way to secretly hide code within laravel

Is there a place where I could secretly add some code in laravel? Just in case someone wanna trick you up, to clean everything up. Or something like adding personal licence...
taxborn taxborn
2

How to dynamically change layout

I am creating a website for a local company, and I'm wondering how to do this. So they can create cards / profiles for their alumni (For example, the testimonials pa...
nhayder nhayder
3

Access seeder file from controller

i have a seeder file containing a collection of data DB::table('widgets')->insert([ [ 'name' => 'user-settings',...
broefs broefs
1

Spark Stripe : howto per quantity

I need some advice, please: I sell searches in a database. Each search instruction is limited to a category, to a subcategory, and to a time frame. The search is exe...
Spark
1
30
pSouper pSouper
1

Spark Billing nav still shown for team members

I may have misunderstood spark but when using team-billing, a team "member" shouldn't have any "free trial" or "billing" applied to thier acco...
Spark
1
18
danielmeade danielmeade
1

Hold Spark subscriptions until Email is Verified

Hi all, I'm taking Credit Card info upfront for my application, but it's important that users verify their email before they can use the service (a working email add...
Spark
1
17
Utchin Utchin
1

Create team upon registering

any Spark experts out there able to advise on the best way to achieve this with spark: Teams will act as a business in my use case. An individual user creates a &quo...
Spark
1
21
PhilAtLaracasts PhilAtLaracasts
4

Dynamically changing list elements

I want to bind the elements in a li list element to Vue. All the examples I see are just for generating lists with v-for. But I want to do the opposite (in my case the list...
Vue
4
33
Jmac Jmac
9

Disable Laravel Spark Teams on registration

I know this has been discussed to death before. Fast forward to 2019, what's the best way to do it, is there a clear path?...
Spark
9
65
SoftwarEng92 SoftwarEng92
2

How to change http://127.0.0.1:8000/ name like app.dev

if it's possible can I change host name without any local server (xampp or mamp) app?...
masandikdev masandikdev
7

App Debug Not Working in Laravel 5.8

Hi i just try install laravel on new development, last version i use is 5.6 and working great. now im working in new project, but why app debug not working on Larave...
kaushal kaushal
1

Can anyone give example of confirm password validation??

{!! Form::password("password",array("id"=>"password","class"=>"form-control")) !!} {!! Form::password("c_passwo...
TimeSocks TimeSocks
3

CriticalCSS error running Composer Update

I've just run composer update in an attempt to bring my dependencies up to speed to install the laravel-webhooks package. However, something went wrong, and no...
suomato suomato
3

Testing Custom Artisan Command

Hello, I am working on a new Artisan command which help me(or you) to generate a new Vue component with boilerplate. Now the command works well and I would like to m...
Testing
3
145
behnampmdg3 behnampmdg3
9

SQLSTATE[23000]: Integrity constraint violation

Hello friends; How can I get unique emails? Each email only once (group by doesn't work)... CREATE TABLE `member_course` ( `id` bigint(20) unsigned...
mDelshad mDelshad
2

Can't use helper functions in config file

hi I can not use the helper settings in the config folder files What is your solution to this problem?...
dariovr2 dariovr2
0

Collection in Laravel and ES6

hi guys from Dario (Italy), one question about le lesson of Jeffrey about Collection Essential (Laravel from scratch): as I could see in the lesson, collectio...
behnampmdg3 behnampmdg3
2

Come on Laravel there has to be a way to do this the right way...

Hello; Hardcore Larafan here. But I am in shock or still in denial that I have to loop through queries. Snapey or some bad a$$ Laramaster plz tell me how to d...
Ruitjes Ruitjes
2

Laravel Nova Metrics In The Future

Hello everyone, Is it possible to create a Laravel Nova Trend Metrics, that goes to the future instead of back in time? So: return [ 3 => '3 Days', ]...
Nova
2
38
Miqdad Miqdad
0

Passport oauth token

Passport oauth token removes from user session automatically. I searched a lot but could not find any thing. How can i resolve this problem that token will remain in the se...
behnampmdg3 behnampmdg3
3

A database design question. Is this the best approach?

Currently I got these 3: CREATE TABLE `courses` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `title` varchar(255) CO...
eleven0 eleven0
1

Laravel Snappy PDF - Loading External/Internal CSS - Tailwindcss if Possible

Hi, I am trying to get the css styling working for my pdf documents. So far no such luck. Is it possible to use CDN style sheet documents? When I add say b...
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...

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...
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...
Create a New Discussion Button