Time To Update

I hate doing this but this one is interesting. I am editing users in my database and trying to figure out how I can handle update methods in my base repository. Curr...

CommandBus and handler on a dynamic location

Hi, I am making a modules implementation to laravel and i would like to know how can i give a module the ability to have a command bus and handler. thanks,...

Create Method From Repository

Since I have the relatively easy delete function completed and working for my base repository I thought I'd start working on the create function. I have included the create...
General
12
14

Relationship Advice

I'm not sure how I should be accessing related data the Laravel way. I'm currently accessing the data more like an array, and I'm sure there is a better way to do this....

Storing "Select" and "From" in mysql

I have a content management system that can be used to put html on pages. It seems that somewhere along the way, my sql is being rejected. I am guessing this is some measur...

API Pagination

Hi all, I want to paginate my json output of an API I wrote. Therefore I use the pagination helpers of laravel. the index method looks like this:...

Database Issues

I'm pushing my app to production using digital ocean and forge. Everything is synced with github and now working but I'm not sure how to run a migration now that it's live...
Forge
15
44

Single Sign On - Laravel 5

Any thoughts on how I can go about implementing SSO?...

Groupby with eloquent

Hello I am working on one e-commerce portal in that i am stuck in CMS static pages module. Below are the tables structure which i am using CMS static pages use...

Issue with parallel requests

Hi all, I have set up Laravel5 with XAMPP on windows and I have an application that required multiple php ajax calls to be executed at a time. The application uses 2...

Caching Images

Hi everybody, I have a question about browser caching images. When I go on the network tab of the developper tools on Chrome, I can see that some (all) of my images...
General
7
201

Create Thumbnail Of Image

i Want to know that how we can create the thumbnail of the Image at uploading time And Save both the thumbnail and the image at same folder.. ?...
General
7
192

laravel/sentry sql server

can i use sentry/laravel on sql server?...

Is there a way to add phpspec to my path?

I want to be able to run: phpspec run and not: bin/phpspec run...
Testing
17
91

Arrows on series

Can you update the small arrows under the video? Often when I jump into a serie to watch a single video I (most of the time) want to check the previous one or the next. Eac...

Repository Feedback

I'm curious to know if I can get any feedback on how my base repository looks. All feedback will be accepted! <?php namespace App\Repositories; abstract...

Javascript MVC - which one?

Just built a little jquery app and it was awful. Thought I would use plain jquery although I have dabbled in Knockout.js and Angular.js I have not really committed....

Doing some searches in Collections with belongsToMany relations

Hi everyone! I am working on a small project that we can imagine as twitter. There are members, who can follow other members, articles and retweets. Each member can...

Keep pagination after action

Hello, I have a functionnal pagination. But i have a tab with lines and buttons and when i click on this button ( this button was link to other action in controller)...

Authentication from two tables

I am trying to figure out on how to add extra conditions to laravel authentication using a column from other database table. if ($this->auth->attempt([...
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels