Support the ongoing development of Laravel.io →
Sharping

Sharping

Joined 28 Jun 2014

Statistics

Threads 24
Replies 36
Solutions 0
Articles 0

Using $rss = new DOMDocument(); in function of a Controller

Hi, i would like to include a small RSS reader into a function of a controller: class RSSController...

0 Likes
1 Replies
posted 10 years ago

Route::get('/', ['as' => 'home', function () { ... }]);

Hi, i'm using this route: Route::get('/', ['as' => 'home', function () {return view('home');}]);...

0 Likes
2 Replies
posted 11 years ago

Import .sql-file into database

Hi, is there an easy way to import a .sql-file into the database? It just should import the file, no...

0 Likes
7 Replies
posted 11 years ago

Where to file feature requests?

Hi, where can i file feature request for future Laravel versions? Github? Thanks Sharping

0 Likes
1 Replies
posted 11 years ago

Bilingual website (routing)

Hi, i would like to create a bilingual website, let's say english and french: http://www.domain.com/...

0 Likes
2 Replies
replied 11 years ago

Error: Using $this when not in object context

thepsion5 said: $table is an instance variable, not a static variable, so you can't use it in a sta...

0 Likes
replied 11 years ago

Error: Using $this when not in object context

DrPrez said: I believe you can only use $table without $this-> Then the debugger screams: Undef...

0 Likes
replied 11 years ago

Avoid re-submitting form data

Normal behavior? On my common forms i just unsetted $_POST and the problem was gone.

0 Likes
replied 11 years ago

Custom validation messages with data of the rules

Reached said: You are looking for: 'The field has to be :min chars long' Yep but this applies to a...

0 Likes
replied 11 years ago

Routing: Passing parameters to controller

Works, great! :) Is there a difference between Route::get('/test/{squirrel}', ['uses' =>'SomeCont...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.