Support the ongoing development of Laravel.io →

638 Threads

How to mock eloquent models

Hi, I have service classes that retrieves Eloquent models using a repository and performs some opera...

0 Likes
0 Replies

Homestead in an Ubuntu Hyper-V Environment

Hello all. First time post. First off, a brief description of my setup: Proliant DL360 G5 running Wi...

0 Likes
1 Replies

How can I test a class that uses the Storage Facade?

In a Laravel 5 package I am making there is a class FileSelector that uses the Storage-facade in a c...

0 Likes
1 Replies
posted 9 years ago

Disable Middleware for Testing in Laravel 5.0

Hello, Is there any way to disable Middleware to test a page in Laravel 5.0? I know 5.1 has "wi...

0 Likes
0 Replies

Command Method Testing

I find it pretty straight forward testing commands I have created using the CommandTester. However,...

0 Likes
0 Replies

Jenkins CI - Abysmal Code Coverage

Hi everyone, Just getting through setting up Jenkins to successfully run the PHP QA Toolchain (http:...

0 Likes
3 Replies
Solved

Gulp error when trying to compile all stylesheets

If I use this code in the gulpfile.js: var elixir = require('laravel-elixir'); /* |-----------------...

0 Likes
3 Replies

Problems running php artisan migrate

Hey everyone we are running our php artisan migrate we get a console spam [ERROR] Use of undefined c...

0 Likes
4 Replies
posted 9 years ago

How to set different binding in a testing environment

Hi, I am trying to see how to best approach to bind a mock dependency when testing. Assume I have a...

0 Likes
1 Replies

Laravel 4 DI Issue

Trying to get some dependency injection going here but I keep getting the following error: ErrorExce...

0 Likes
0 Replies

Subdomain configuration on windows using xamp

Hi guys, Been working on a project where i need to do a subdomain. i have hosted the project on virt...

0 Likes
0 Replies

How to Use Request Parameters in Laravel4 Unit Test?

I am trying to pass request variables to unit test my api calls to the controller, which i do as fol...

0 Likes
3 Replies

Migrate only once before testing?

Hello, Is there any way to migrate the testing database only once before all the tests? The Database...

0 Likes
0 Replies
posted 9 years ago

Testing with subdomain which define locale

Hello, In our site we set the app locale in a ServiceProvider and it depends of the subdomain, per e...

0 Likes
2 Replies
posted 9 years ago

mocking an IoC Container binding in codeception+mockery functional test

So I need to mock some Stripe API calls for a bunch of functional tests. I'm binding the mocks via...

0 Likes
1 Replies

An additional homestead feature.

Hey all, Quite a while ago I forked the homestead repository and made a change, I created a PR and t...

0 Likes
1 Replies

Foreach click tab active

Hello My dear laravel buddies, i have my e-shop, so here i have an issues for click tab with active...

0 Likes
0 Replies

db to seed files dump tool

Is there any tool or library that generate laraval seed files from db.?

0 Likes
1 Replies

Deploying Laravel

To deploy Laravel to production, what files do I keep? I'm assuming I can get rid of some of the fol...

0 Likes
1 Replies

(Still need help) Need your help L 4.2 After migrating error

Hi, recently I migrated this Laravel 4.2 website to a new host with centos 7, PHP 5.5.30. Unfortunat...

0 Likes
8 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.