No Digital Ocean 2.0 option, just Custom VPS

I've deleted my previous server and set up a new droplet through DO so that I can provision a new server with PHP7. I don't have any servers set up through Forge now, yet I...
Forge
5
23

Auto run node.js file on forge

How to auto run node.js file using forge ?...
Forge
1
25

when used ssl my site doesn't show up at all

after wach this episode https://laracasts.com/series/server-management-with-...
Forge
1
18

Simply chech is column admin at user table - 1

I try to make an simple query to see is auth user have admin privilegies so I write: public function index() { $articles = Auth::user()->where('adm...

Which is the best way to render a view after an ajax request?

Hello. I have the following code. From a js script i send specific data from /accessions Route, to the server with ajax request : Route : Rout...

Caching database

Hello, For the webshop I'm developing I need to calculate the price. The price is based on the user and the user_group. For each product I first need to lookup it th...

Paginate return json in view

I want to display the json output of Model::paginate() in my html for my javascript framework to handle but it keeps automatically call the render() function when I try to...

Get all suppliers but return only one if there are more then one

I have a table which stores some suppliers with its id. Now i want to get all suppliers of this table but if there are more then one of the same suppliers i only want to re...

Dynamic select dropdown

I'm trying to implement a dynamic select dropdown on multiple select dropdowns added through javascript. It's working with the first dropdown but not the rest...

That was almost a bad night..

So, I'm on about a 36 hour coding spree... wth right? so anyways, I'm working on my app that I have to have done by the first of january.. And I'm going through everything...

How to add topic views?

I have a simple forum with users, topics and posts. I'm trying to add a views table so that logged in users can see what topics they have already read. I have added...

L5.1 protected $dates works on input not on update

I have make a form. If I do a insert query it works fine. But if i try to update the form he will set the dates in my database on 0000-00-00 00:00:00. my model:...

error when loading a view

When trying to run the 'dashboard' view - it returns an error in return: ReflectionException in Container.php line 737: Class App\Http\Controllers\dashboard does not...

Calculating v-model name in a v-for

I have a form that's generated through a v-for My vue isstance has: data: { form: { inputs: [{icon: "", name="", placeholde...
Vue
3
294

Route pattern check

I am performing route pattern check like this if(Route::is('admin/*')) { // model binds here } But it is not working with the tests....

create "credit/prepaid" system

Dear community, I would like to add a credit system into my app. For this I would need a user to have a balance into his account. The idea was to add a field to the...

Unable to login using a custom login and email confirmation

I'm confused on what could be the problem with this code. It has worked in a test environent but refused to work now. My implementation is for user reation which goes thus:...

Relationship question

I've been trying to figure this relationship out for quite some time now. I have users, vouchers, and voucher logs. When a user redee...

Indivisible space

I have this ajax output (czech format): 10,00 CZK I use vue.js and when I bind this output, vue.js put into page 10,...
Vue
6
46

Could we get codeception tutorials ?

Hi jeff, I really like the laracats and the knowledge i'm getting from it. So thank you for that. Is it possible to make a series on codeception ? Thanks...
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