Support the ongoing development of Laravel.io →

How to mock facade from package?

Package Thujohn\Twitter; Twitter::shouldReceive() gives me error: Parse error: syntax error, unexpec...

0 Likes
4 Replies
Solved
posted 9 years ago

Gallery Creator

Hi guys, I create a Gallery creator that I'm using on most of my recent projects. It allows you to n...

0 Likes
2 Replies
posted 9 years ago

Invoker JMXInvokerServlet

Hey, i got a Exception Mail from my project. Someone tries to access the following url: http://myhos...

0 Likes
0 Replies

Passing data to a view in the right way

Hi everybody. I'm new to Laravel and this is the first framework I use, I'm loving it so far. I have...

0 Likes
3 Replies
Solved

Help with getting Tinker working in MAMP

Hey, So I use OSX 10.9, MAMP 3, and php 5.4.4. I was looking at artisan tinker and when I ran the...

0 Likes
1 Replies
posted 9 years ago

Using Codesleeve/Asset-Pipeline; How can I include a reset css file BEFORE everything else?

Well, if the title wasn't descriptive enough, I am using Codesleeve/asset-pipeline to achieve an ass...

0 Likes
0 Replies
posted 10 years ago

[Chrome Extension] Laravel API - source links

Good morning, I have no idea if someone is interested, but personally, I found it extremely annyoyin...

0 Likes
3 Replies

One sample application for IoC, Facades and Services Provider

Please, anybody could explain the IoC, Facade and Services Provider with a short example? I have see...

0 Likes
4 Replies
Solved
posted 9 years ago

Lang::choice('setting', $count) problem when $count > 19

Hi everybody, I've been trying to localize my application and so I've been using the Lang helper fun...

0 Likes
3 Replies
Solved

What to test in a database interaction and how to test an interaction with an existing database?

Hello! I'm starting a new application to interact with an existing database. I'm building a new back...

0 Likes
3 Replies

[Package] Laravel Modularizer

#Laravel 4 Modularizer https://github.com/sendyHalim/laravel-modularizer Note: sorry if my english i...

0 Likes
0 Replies

On securing sensitive info file: .env.php

Hello In the manual of Laravel there is a paragraph with, (to me) incomplete information and I cant...

0 Likes
2 Replies
Solved

Force logout for a specific user

My app allows users to log in and manage their data. But if a user is logged in and an admin removes...

0 Likes
3 Replies

What is the difference between these methods of returning a json response

Hi I've just solved an issue in my app concerning ajax reposnses and session persistance. return $re...

0 Likes
1 Replies

An error occurred after the installation is complete laravel

An error occurred after the installation is complete laravel Class 'Illuminate\Foundation\Providers\...

0 Likes
1 Replies
posted 9 years ago

Changing mysql tables

Hey, i am making a website that i want to sell, and it's a website for a game, and the buyers might...

0 Likes
3 Replies

Out of date model in controller.

I have a problem with models that get out of sync with the DB. In routes.php I have: Route::model('p...

0 Likes
0 Replies
posted 9 years ago

Empty db table gives error - trying to get property of non-object

When my database table is empty, and i get the error trying to get property of non-object. Now i get...

0 Likes
9 Replies
Solved

Access user object in a function called from a route with filter

Hi laravel.io :-) I'd just like to know if it's possible to automagically get the Auth::user() objec...

0 Likes
0 Replies

Global variable/singleton available to all models/repositorys?

Hi, I need to be able to access the $site_id in most parts of my application as content will differ...

0 Likes
1 Replies

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.