Support the ongoing development of Laravel.io →

2,392 Threads

Why use Models????

If I use an MVC why can't I put all calls to the database inside my model? I'm watching Laracasts an...

0 Likes
5 Replies
posted 9 years ago

Ajax function prevents redirection?

I 'm deleting records with ajax code (in a javascript function): $.ajax({ typ...

0 Likes
3 Replies
Solved

Laravel 5 routing to a deferred service provider in a package issue

I'm creating a route for a deferred service provider that's in a package and the following route wor...

0 Likes
1 Replies
posted 9 years ago

Error when I use the '/' at the end of the address

When I enter an address like 'localhost/classifieds/public/admin/categories' it works fine. But, if...

0 Likes
15 Replies

Deploy Laravel on 1&1 Servers

I have recently completed my first laravel site, but now I am stuck with deployment. This is an enti...

0 Likes
1 Replies

Validation depending of two variables of the db.

Hello, my table is: users { -bank -movement ... } Validator to the form fields: $validator = Valid...

0 Likes
1 Replies

Creating routes with parameters for multi-language views

Hello to everyone, I am starting now with Laravel and was playing with routes to create a multi-lang...

0 Likes
0 Replies
posted 10 years ago

Load filtered data with Ajax, without reloading the whole page

Hey guys!! I guess this problem is kind of old. I looked up for it a lot but i am just not a program...

0 Likes
2 Replies

[Laravel 5] Passing parameters to middleware handlers

I would like to pass arbitrary data to the middleware annotation like /** * @Middleware("permi...

0 Likes
8 Replies

Subscription not working in laravel cashier

Subscription not working at the time user registration. I echoed stripe token which is perfect. but...

0 Likes
0 Replies

How do I implement a form with Empty, Update, and Submit buttons?

Hi, I have a page that displays the contents of a shopping cart in a table. The Quantity field is a...

0 Likes
0 Replies

How to secure sections of my site

Hi using laravel 4.2 on an apache server I'm trying to secure sections of my site with SSL - I'd li...

0 Likes
4 Replies

Accessing the website 1 folder from the website 2

Hi everyone, I have two website: website1 and website2. I have a folder call "uploads" int...

0 Likes
3 Replies
posted 9 years ago

How to call a destroy controller method (with method=DELETE) in Javascript?

I want to call my controller's method destroy in javascript: window.location.href = " {{URL::a...

0 Likes
3 Replies
Solved
posted 9 years ago

Previous route

Could you be so kind to tell me, how can I get previous route? URL::previous() gave me URL but I nee...

0 Likes
1 Replies
Solved

Send form data to controller method in a POST request

Hi everyone, I set a nested resource like this in my routes.php file : Route::resource('channels','C...

0 Likes
1 Replies

Form submission to the same page

I'd like to know what would be the best way to post a form to the same page? I have a standard page...

0 Likes
4 Replies
Solved

Route::post in home path

hi, im newbie, i'm using laravel 4.2 When i send a post request to home path route::post('/',functio...

0 Likes
2 Replies

Redirect to slug url

i have a route for a hotel view with a slug hotel name. Route::get('/hotel/{slug}', function($slug){...

0 Likes
1 Replies
Solved

Routing to a controller method with a parameter

Have I missed an obvious way to do this? I'm checking to see if the request URI matches a list of kn...

0 Likes
4 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.