Ruslan_Gaevskiy Ruslan_Gaevskiy
4

Jeffrey's new theme for PHPStorm

New theme is awesome! I saw it in new Laravel 6 lessons and felt in love with it. If theres a little chance of sharing that theme? Please! :)...
RafaelMunoznl RafaelMunoznl
4

Calculate time difference in Eloquent Query

I have a Collection with the following structure; Collection {#6467 ▼ #items: array:7 [▼ 0 => Appointment {#6459 ▼ ... #attributes:...
swimmer swimmer
1

imulate mouse clicks with JS via the google console

Hello, I am trying to simulate mouse clicks with JS via the google console. However even though I am able to change the appearance in the front end it is not changi...
EbrahemSamer EbrahemSamer
2

Is login and register using socialite package required real domain ?

Simple question : I wanted to know if facebook and github can let me using socialite package for login and register using localhost not real domain. is it available...
incridible incridible
1

How do I redirect to another webpage using js

hello i am trying to redirect to another webapage but its not working: code which written to redirect: window.location.replace = "/goal/viewgoa...
soduno soduno
3

manually add errors to view

I know Laravel have the error variable available in each view (so we can output validation errors, etc.), and that it is accessable through the build in validation. However...
Laravel
3
721
Nache Nache
1

Add external project file in laravel

I have an external project and i want to use cookies for export data from my laravel application to the other(codeIgniter), i need to use them in the same domain for cookie...
Khalid_Hussain Khalid_Hussain
2

Hover discusion

how to take hover on the nav-item i means only list plz tell me anyone...
Pixelairport Pixelairport
1

Validate fields like: custom[link][homepage]

Most of the times I have fields with name="username", which I can validate with: $this->rules['username'] = 'required|string|min:2|max:32'; But n...
hraschan hraschan
4

How to get following code to controller?

Hello guys, i try to build a menu which builds all categories with a recursive function. I don't know how to put my logic code which is in the view to the controller...
Laravel
4
106
EmilMoe EmilMoe
0

Stripe: It seems I always need `->createAsStripeCustomer()`?

I'm creating a SaaS and it seems that it would work better if I call createAsStripeCustomer() in User boot method right after creatin...
nmeri17 nmeri17
3

Why does verification handler run more than once?

The LogVerifiedUser event is fired after verification, so I felt it was safe to log some crucial data in that event's handler, assuming it only ever runs once per user. Let...
davy_yg davy_yg
7

related table

Hello, I would like to select related table: HomeController.php use Modules\ProductPriceList\Models\ProductPriceList; ... $stock = ProductPric...
edwinjansen edwinjansen
1

Laravel signed url ios/android sdk

Laravel comes with a package for signed url to secure url’s We would like to use this to secure our api for native apps. I...
manof360 manof360
3

adminlte checkbox custom-control from database not work fine

I have roles for user and I show the roles from database , the name of the checkbox is = "roles[]" and the id="roles[]" but when I click on any checkbox...

Laracasts GraphQL series

Does anybody know if Jeffrey is planing to release GraphQL series for Laravel? I think many devs are lack of this....
Requests
2
1282
masumluf masumluf
11

Argument 1 passed to Illuminate\Database\Grammar

Hello Developers, I have sent a list of array to my controller using axios post as like as below [ "firstname" => "Yoshiko H...
Laravel
11
81
JoerJoers JoerJoers
1

Botman: Asking for both Images and Videos in Conversation

Instead of asking for Images or Videos one at a time, is there a way to ask for both? // ...inside the conversation object... public function askVideos() {...
bgaze bgaze
3

Introducing my Bootstrap 4 form builder for Laravel 5.8+

Dear fellow developers, I created an open source package which automates and simplifies Bootstrap forms management into Laravel 5.8+ applications Model bindin...
Colbydude Colbydude
1

Using CreateFreshApiToken Middleware from Passport on subdomain API with auth:api middleware.

Hey all, I'm running into a little bit of an issue setting up the frontend of my app to consume an API I have running on a subdomain. I'm using Laravel Passport's Cr...
Laravel
1
102
frsiswanto frsiswanto
5

How to exclude refresh_token from Laravel Passport?

I've tried to speed up this route "oauth/token" in any way, the result is still no good enough. It took response time 500ms to 800ms at localhost. Since I never u...
Nache Nache
2

Authentification with cookie and no database

Hello everyone. I have 2 authefication in one laravel project admin and user, they work with the same database and i want if the admin authentificate, his user account auth...
bigweld86 bigweld86
2

GET Axios request blocked by CORS (only failing for this specific request, others are working)

Hi. From my Vue frontend I'm executing a GET request using axios: axios.get(`http://127.0.0.1:8000/api/categories/list?page=1&items-per-page...
davy_yg davy_yg
4

Calling view

ProductInventoryController.php <?php namespace Modules\ProductInventory\Http\Controllers; use App\Exports\StockTemplateExport; use Carbon\Carbon; use Il...
dramosv90 dramosv90
2

Using Behat with Laravel Dusk

I have started using Laravel 5.5 and I love how Dusk performs the tests so cleanly, in my thesis project I am required to use behat. On other occasions I have used Behat, M...
Laravel
2
103
david19 david19
11

Allways DELETE last record

Hello Team. I dont know what is the mistake. I will delete a category by id, but it allways delete my last record in the database. Route::Delete('/admin/shop...
Laravel
11
42
Fajar Fajar
9

get data

hay how to retrieve data with relation like this type.php public function pengajuans() { return $this->hasMany(Pengajuan::class); }...
habib997 habib997
2

deployment of laravel wildcard subdomain app on shared hosting server causing error

I have searched all the questions related to my questions on StackOverflow but didn't find any solution. I have developed a laravel wildcard subdomain project and is workin...
cuartas15 cuartas15
1

Questions about mass Email with Scheduler

I have 2 specific questions about email in production: Since I'm a total novice on this, I finally got to configure a site on Laravel Forge properly, I can sen...
davy_yg davy_yg
1

SQL Syntax

Hello, I am trying to find the right syntax for SQL to query the db: How do you translate this laravel SQL query to database: ProductPriceList:...
Chinyoka Chinyoka
1

CreateFreshApiToken middleware doesn't exist

Do I have to install something special to get this middleware into my application? Or do I have to create it myself? If so, how do you do it?...
RomainB RomainB
1

Resource on freshly created model > related_id in pivot undefined

Hi. I have two models: Website(parent) and Keyword(child), with a ManyToMany relationship. In [email protected] and update call, I want to return the we...
Haz_ Haz_
10

Vue components are not working

Hello. I am unable to get any Vue components to work. Vue itself loads but no components render or show in the dev tools. No errors at all. Everything was working...
Vue
10
101
Create a New Discussion Button