Support the ongoing development of Laravel.io →

256 Threads

Related models that don't have a database representation

So I'm developing a REST API, with the following schema members id other field other field member_...

0 Likes
1 Replies
Solved
posted 9 years ago

Call method on all pages

How can I call a method on all pages? I want to be able to make redirects with messages and attribut...

0 Likes
4 Replies
Solved

(Laravel 5) Avoid Repetition in Controllers

Hi, I have 3 controllers that basically List/Create/Edit/Remove things in database (Products, Carts,...

0 Likes
2 Replies
Solved

Custom ServiceProvider not loading via web, but loads via phpunit? (L4.2)

I'm using Laravel 4.2. I have a custom ServiceProvider that is registered in app.php. My code wasn't...

0 Likes
2 Replies
Solved
posted 9 years ago

Switch no-framework project to Laravel 4.x

I have a big PHP project, in which I didn't use any framework. I'd like to switch gradually this onl...

0 Likes
10 Replies
Solved

Creating table relationship between two tables using pivot

Hi guys, I'm working on creating my own Project Manager, I currently have a projects, users and a pr...

0 Likes
2 Replies
Solved

Artisan Command with Cron Jobs

Help Paste: http://help.laravel.io/3db0611b1ee9ef70d9e12480f6b3f9b41f8cdd11 My Problem: Hello, I cre...

0 Likes
2 Replies
Solved

Can I have multiple actions directed from the same route?

Simple question.. can I have multiple posts to the same route? This is in my routes file: Route::pos...

0 Likes
1 Replies
Solved

how to work with MVC (which Controllers to make, ...)

Hi, I am starting with Laravel at the moment. I am new to frameworks and MVC, thus I have some pract...

0 Likes
10 Replies
Solved

Multiple tables in model

My Index page uses 3 tables in the database: index_slider index_feature footer_boxes I use one con...

0 Likes
9 Replies
Solved

Laravel and angular

Hi guys! I'm creating my first bigger laravel project. In this project I want to include Angular for...

0 Likes
3 Replies
Solved
posted 9 years ago

ReflectionException (-1) Class does not exist

I am completely lost in this. I've done this a billion times and I yet this particular one is not w...

0 Likes
3 Replies
Solved

Laravel 5 assets directory

I just noticed new directory /resources/assets That's where all of my css/js/images should go for n...

0 Likes
2 Replies
Solved

how to implements repository for polymorphic relations

hello, This is my first thread. I m very newbie to Laravel. I have vehicle class morphTo(Bus) and Mo...

0 Likes
1 Replies
Solved

New to Laravel, mysterious error, how to find offending code?

I'm getting an error which I understand but can't find the offending code. What is the proper proce...

0 Likes
7 Replies
Solved
posted 9 years ago

How to structure a website built upon own API in laravel

I'm building a small TV Show library in laravel. I want to include an API as well for possible futur...

0 Likes
6 Replies
Solved

Preventing Click fraud

Hello, My app has a bunch of links to external websites, and those links go through a click-counting...

0 Likes
1 Replies
Solved

Stateless API

Hi all, I'm just wondering how you like to tackle deploying a proper REST API? Specifically I'm wond...

0 Likes
3 Replies
Solved

Laravel 5: How to inject a model that has been bound to route into the authorized method of FormRequest

I've bound a model to a route parameter: $this->model('employee', 'App\Employee'); This is worki...

0 Likes
3 Replies
Solved

Queueing Tasks

I am building an app which is a graphical interface to git repositories and indeed Composer dependen...

0 Likes
2 Replies
Solved

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.