Support the ongoing development of Laravel.io →

637 Threads

Web tool to monitor which PHP scripts are being run

Is there a decent user friendly web tool I can use to monitor which PHP scripts are run and how much...

0 Likes
0 Replies

Active Record, Packages and Integration Testing?

I have been struggling with the issue of Integration Testing within packages for some time. Basicall...

0 Likes
0 Replies

laravel user messaging package

sorry but I'm very proud and had to share my package: https://github.com/tzookb/tbmsg it is for crea...

0 Likes
0 Replies

Unit Testing

Can anyone help me with this? public function showList() { $userid = Auth::user()->id;...

0 Likes
0 Replies

homestead 404 not found error

Hi guys , I setup homestead and get this error : 404 Not Found nginx/1.6.2 This is my conf on mac...

0 Likes
2 Replies

Laravel Unit Testing

#How to mock this one? return Redirect::back()->withErrors($validator); it always says: BadMethod...

0 Likes
0 Replies

Can't upload same photo twice - Laravel 4 Image Intervention

How do I make sure each indivually image gets uploaded? Here's my issue, if I upload an image called...

0 Likes
1 Replies
Solved

Can't migrate for Unit Test... Alternatives to migration?

When the unit tests run migration on the sqlite array driver, I get the following exception: Doctrin...

0 Likes
0 Replies

Why when I run a query laravel return something that I can't understand?

When I run this I get a very long text as result: ....Route::get('/', function() ....{ ....$posts=DB...

0 Likes
2 Replies
Solved

How to find different field by laravel find method?

I know there are a method what called find in laravel, I have a table with this structure (articles...

0 Likes
1 Replies
Solved

Upload image but being saved as a folder?

Hi Everyone, I'm attempting to make a new folder within my website and store user images in that spe...

0 Likes
0 Replies

Laravel 5, PHPUnit, app var is null

I'm trying to recreate this line from a controller in a PHPunit test in laravel 5. $routes = $this-...

0 Likes
1 Replies
Solved

How to create slugs automatically with Eloquent in Laravel

Hello everyone, This article uses the test driven development to illustrate how to create slugs for...

0 Likes
0 Replies

How do I echo session array in laravel? getting Array to string conversion error message

Hi Everyone How would I echo a session array in laravel? AccountController.php $name = makeRandom...

0 Likes
11 Replies
Solved

Travis-CI: Running `php artisan migrate --no-interaction -vvv` displays no output, no log files created.

Hello! I'm running across an issue where none of the php artisan migrate commands give any output wh...

0 Likes
1 Replies

ERROR 500 - INTERNAL SERVER ERROR (host gator)

Laravel site was working correctly but after uploading on GIT I got an error which is error 500- int...

0 Likes
2 Replies
posted 9 years ago

Mocking object and stubbing out some methods

I am trying to stub out some methods of a mocked object, but it doesn't appear to be working. I have...

0 Likes
1 Replies
posted 9 years ago

test problem (phpunit, cannot find start.php)

Hello, I installed phpunit and made a directory app/test/unit with in it a test named TestProduct. B...

0 Likes
0 Replies
posted 9 years ago

why is the test not executed ?

Hello, I have installed codeception as the manual says so I have a directory test/unit In that I mad...

0 Likes
1 Replies
posted 9 years ago

Which testing tool to use ?

Hello, Im coming from the rails world and used to write tests like this one in rspec : require 'spe...

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