Support the ongoing development of Laravel.io →
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
posted 10 years ago

Delete value from Session array

Hi. I'm using Session driver to push values into an array and Laravel allows it like this: Session::...

0 Likes
2 Replies
Solved
posted 10 years ago

php version is not being recognised on mediatemple

I'm trying to install my laravel project on mediatemple but composer is complaining: Your requiremen...

0 Likes
4 Replies
posted 10 years ago

laravel4 form post data

<form action="" id="pb-signup-form"> <div class="col-m...

0 Likes
2 Replies

cPanel Server Switch, Site not functional!

It's been about a year since I created my Laravel site, and my mind has clearly forgotten something....

0 Likes
3 Replies
Solved
posted 10 years ago

Schema migration error

If I create schema like this: Schema::create('clinic', function(Blueprint $table){ $table->increm...

0 Likes
0 Replies

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

Homestead - Gulp.js crashes, but works outside of homestead.

Anytime I run gulp in a homestead VM is crashes with error 72 and a heap of cryptostream errors. See...

0 Likes
0 Replies
posted 10 years ago

route on value

I have an object wich can contain the value $object->blue or $object->green. I want all the gr...

0 Likes
0 Replies

how to prevent user from inputting html tags

I wonder how can I validate forms to be html tags free.

0 Likes
3 Replies

Granting designers access to 'app/views' folder only (on Git)

I am working on an application for which a friend of mine is doing the frontend. I maintain git repo...

0 Likes
0 Replies
posted 10 years ago

Collection vs array

Hello, I'm using a table pivot. Then I use a loop like this: foreach($ans as $a){ echo $a['name'...

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

Some question and thoughts from Rails -> Laravel 4.x immigrant [Validation, Usability, Functionality, API]

Hi. I'm currently using Ruby on Rails stack and thinking to move to Laravel 4.2 because of extreme p...

0 Likes
0 Replies

Laravel : Call to undefined method Illuminate\Database\Query\Builder::detach()

I'm trying to delete an object model Studio which hasMany model Member and hasMany model Game and se...

0 Likes
0 Replies

Ban redirect?

Hey, i want to make a ban system, and i do not know how to redirect every route [except the one with...

0 Likes
1 Replies
Solved

Search data in JSON format from database with typeahead.js

How we can Search data in JSON format from database with typeahead.js??

0 Likes
1 Replies
posted 10 years ago

php artisan migrate error for mongodb collection

PHP version 5.4.30 MongoDB driver: 1.5.4 MongoDB Server: 2.0.4 I am using Jenssegers package for mon...

0 Likes
1 Replies

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

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.

© 2025 Laravel.io - All rights reserved.