Support the ongoing development of Laravel.io →
heihachi88

heihachi88

Joined 8 May 2014

Statistics

Threads 30
Replies 42
Solutions 3
Articles 0

How to drop table contents with artisan tinker?

I have tried in tinker cli: Schema::drop('pages') but it just drops the table 'pages', how can i dr...

0 Likes
2 Replies
Solved

Saving logic in a controller using repositories

I have created and included repositories using this tutorial: http://culttt.com/2013/07/08/creating-...

0 Likes
0 Replies
posted 11 years ago

Route::get parameters as variable

When i am using: Route::get('page/{id}-{slug}', 'PageController@show'); My url should look like &qu...

0 Likes
3 Replies
Solved

Saving logic in a controller

Hello! It is ok to store saving logic in a controller like this (PostController.php): public fun...

0 Likes
8 Replies
posted 11 years ago

Undefined namespace Eloquent Sluggable

I have followed the installation guide from here: https://github.com/cviebrock/eloquent-sluggable#el...

0 Likes
4 Replies
Solved
replied 11 years ago

Laravel 5 assets directory

Thanks, it's indeed for raw assets. Public folder is for css/js/images.

0 Likes
replied 11 years ago

Repository Pattern in Laravel 5

eriktisme said: If you want to use a repository pattern, then it's bad practice. But on topic, if y...

0 Likes
replied 11 years ago

Summernote editor image upload

I know that i can save images that way, but the question was about integrating image upload from sum...

0 Likes
replied 11 years ago

Category tree

Thanks, so in my Category model i should write something like this: public function subcats()...

0 Likes
replied 11 years ago

Repository pattern

Thanks, but this additional layer of abstraction consumes additional time when u're doing simple pro...

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.