Support the ongoing development of Laravel.io →

2,389 Threads

Resources loading time us too slow

I'm trying to optimize the load time of a site but it seems that the: Illuminate\Routing\Router->...

0 Likes
0 Replies
posted 10 years ago

Add a domain name (parameter with periods) as a parameter in the URL

Hi, I want to reference domain names in URLs as a parameter in Laravel, like: /domain/mydomain.com /...

0 Likes
1 Replies

Style not loading after prefixing a route

Hello, I tried to use a prefixed route like Route::group(array('prefix' => 'admin'), function() {...

0 Likes
2 Replies
Solved

Controller lazy loading

Laravel (or, more precisely, Illuminate/Routing/ControllerInspector) attempts to analyze all routes...

0 Likes
2 Replies
posted 10 years ago

How to make custom urls in laravel?

Route::pattern('name', '[a-zA-Z0-9\+\-]+'); Route::pattern('id', '[0-9]+'); Route::get('goods-{name}...

0 Likes
2 Replies
Solved

How to redirect inside view

Hey, i have this code @extends('layout.main') @section('content') <head><title>[PCP] {{...

0 Likes
2 Replies
posted 10 years ago

Response::download says "file does not exist" (but it does)

Hi all - I've got this in my app: $download_path = URL::to( '/attachments/' ) . '/' . $item->atta...

0 Likes
1 Replies
Solved
posted 10 years ago

Reserved words for routes?

I've got the following route: Route::controller('packages', 'PackagesController'); Of course I've d...

0 Likes
1 Replies
Solved

How to get json using jquery Eloquent with relationships

Hello friends this is the situation: I am working with Eloquent and relationships and need to get a...

0 Likes
2 Replies
posted 10 years ago

HTML::image() second atrribute [array to string] error

when i do this {{ HTML::image('/pb-assets/img/warning4.png',array('width'=>'120px','height'=>'...

0 Likes
3 Replies
Solved
posted 10 years ago

App::before & App::after

I am trying to determine how long laravel takes to process each request. my idea is, i add a start t...

0 Likes
1 Replies
posted 10 years ago

Request::method() throws exception

Laravel documentation says I can use $method = Request::method(); to get request method (POST, GET,...

0 Likes
0 Replies
posted 10 years ago

Check if value is number?

Hey, i have this code $skin = Input::get('skin'); if(is_int($skin) && $skin<300) {...

0 Likes
2 Replies
Solved

Dynamic Pages and Routes

Hey everyone, first post. I'm quite the beginner with laravel so sorry if I'm asking anything basic...

0 Likes
4 Replies
Solved
posted 10 years ago

Email confirmation

Hey, i made an email change page, and made it send an email to the current address with a url, but t...

0 Likes
1 Replies
Solved

routes leading to 404

I have the following in a fresh install of lavarel routes.php Route::get('/', function() { return 'r...

0 Likes
4 Replies

Loop thru results special way

My query returns say 6 results from a find(). Now I need to display the first different from the res...

0 Likes
4 Replies
posted 10 years ago

Route::resource does not work!

Hi; I get Route [store] not defined. (View: /Applications/XAMPP/xamppfiles/htdocs/lp/app/views/User/...

0 Likes
2 Replies
Solved

Request a routes content

Hi guys, Is it possible to call a route(something like Route::call('some/route') and catch it's resp...

0 Likes
2 Replies

Building route urls with named routes and model bindings Laravel 4.1

Greetings, I've been having issues building URL::route urls for route groups with named routes and m...

0 Likes
0 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.