How to validate count of array objects in request class?

Hi, I have a request class that validate an array of categories that each one of them have an id Now I want...
02

controller is redirecting me to a post route and not the one I wrote

Hello :) not a professional here. I have issue with controller that is not redirecting me to a route I wrote to. ROUTES (with 'admin' prefix...
03

Forcing Lumen to use HTTPS

How can I tell Lumen to make all routes/requests etc via HTTPS? Say route('page') = /page It'll generate a link like:...
05

use same request in Web route and API route with different controllers but get same result in non validate requests

hi im using StoreImageRequest with below code: class StoreImageRequest extends FormRequest { /** * Determine if the user is...
03

Best way to process $request data from data submitted on form with foreach loop table

What's the best way to take a table of data, show it on a form to edit using a foreach loop to create a table of input data. Then process it in...
02

Destroy resource route: anchor + GET vs form + DELETE

Hey guys, I'm just having a hard time trying to decide which rule i'll follow for my delete requests. I think both methods would be ok....
02

Localization Series

There are lots of bits and pieces floating around the various forums, including this one and Stack Overflow, on handling URLs for multilingual site...
113

Is there any drag-and-drop studio/builder for Laravel?

Since the coding itself really sucks and complicated, is there any drag-and-drop studio for Laravel? (Just like MS Frontpage or whatever) Using Lar...
21

Modify request input value before validation

Hi, I have a form with a phone input. This input has an input mask like this 9999-999 9999 I'm using form request validation (...
06

Form patch submit only returning last record of @foreach in form

I've create a edit form that is posting with patch method. I have a @foreach that creates the items in a table. When t...
04

How to call a controller function that has the request class input?

Hi, I have a controller with two function that I need to call upload function from add function while upload...
02

how can i get machine ip

I want to store separate address if user is in same network...
06

Google: page isn't same. on SEO report

Cloaking is considered a violation of Google’s Webmaster Guidelines because it provides users with different results than they expected. I...
02

Guzzle + Twitter API (Upload Image)

I'm interacting with Twitter API endpoints via GuzzleHttp. No issues with first request (INIT) which returns media_credentials for subsequent file...
00

Only retrieve validated data from $request->validate()

So sometimes I call my validation after a few checks, so i have a FormRequest with the rules and made a static function in there that return the ru...
05

When is the next Laravel from Scratch due out?

I'm still using Laravel 5.1 quite happily, but I thought I better get up to date with the latest version. I see the Laravel From Scratch series is...
04

LARAVEL: AJAX request dont set session variable

Hello everyone! I am trying to set up session variable by AJAX request in the Laravel. It is simple but it seems I miss something. My page has in l...
14

Event To store user IP on pivot Table on login

im using laravel login event as mentioned in the documentation, i added it to EventServiceProvider like this protected $listen...
02

Uploading Larger files making issue

Hi all, I am trying to upload files on my Server but that work for only small files. I have change necessary settings i.e. Upload Max Size, Post ma...
02

API authentication by using "secure cookie attribute" instead of "Header's Authorisation".

By using Passport currently we authenticate the REST API from the "Authorisation attribute in the header which is in the incoming request"...
03