Defining relationships with translations

Hello, Is it possible to define one to many relationship with hasOne() method? I have two tables, subject and...
02

Laravel DB raw query not work

I am trying to concatenate my query but its not work $getchat_details= DB::table('preferences')->where('UserId', $UserId)->fir...
00

Card Declined

Have been trying to subscribe to laracast but my cards keeps getting declined. I have tried both visa debit card and debit mastercard. How do I go...
03

Laravel 5 and angularjs authentication

I have an existing system that build in codeigniter & backendpro and i want to upgrade them using laravel 5 and angularjs. The first question...
00

Which host is easier to use?

I'm about to finish my website which mostly allows users to upload how many images they want. I have zero knowledge in Linux so I'm not sure which...
02

Advanced where queries using whereRaw() to count relations

I'm trying to build a query to grab items from the database which have a certain number of related items from a different table. The database struc...
04

Throwing 404

I have this function in my StaticPages controller $site_id = 1; $staticpage = 'about'; $static_page = StaticPag...
07

How kernel.php work in laravel 5.0

there i see a protected function (Schedule $schedule){ $schedule->command('inspire')->hourly(); } the question is to know who does la...
00

php artisan route:list PDOException

When I run php artisan route:list from my host machine on one of my projects I get the following error...
13

Install vue.js via npm and use it

Hey guys, can you give me a quick hint how I can use vue, added by the npm install command? Do I need elixir for this? Or do I only nee to r...
03

Multiple Files for one Attachment w/ Stapler?

Hey all, I've got a L4 app that utilizes Stapler (via Laravel-stapler) and everything so...
03

How to retrieve value in store method passed by my angular object

code for angular method my method that is in my service is like this tutorial.createtutorial = function(tutorial){ var defer = $q.def...
03

Booting up some settings from the DB

Hi, I need to develop an multilingual app. The user has the possibility to choose a language. This preference is saved in a simple table. In...
01

Not change updatable system files

Hi, I'm on a point where I need to do some changes on laravels system files like AuthController.php or AuthenticatesAndRe...
00

Add static methods to Controller.php (Good practice?)

Hello there! I just wanted to know if it is a good practice to add a static method in the http/controllers/controllers.php file. I ne...
06

my way to add translations for models

i am new in laravel , and i don't like to use packages, and i was thinking how to make a site with multi languages, without change any view or temp...
05

laravel ajax

I want to reset all my form fields after successfully submited it, when i am using JQuery ajax call. How do it? Where My code is given bellow here....
03

Sass not mixing

Hi, I´m trying to use this awesome boostrap checkbox, ht...
01

queue worker not working

Have successfully set everything up in forge and envoyer. I can manually fire off my queues by running artisan queue:listen or :work so I know it's...
01

Entrust class Role not found!

I followed the documentation to the letter on the Entrust for L5 GitHub link and I get class Role not found. So then I went through the issu...
10