Support the ongoing development of Laravel.io →

536 Threads

Laravel Developer Payment

Hello, We have some troubles with our developer... Can you please give us some info about the salari...

0 Likes
3 Replies

Exception being thrown whenever an exception is thrown during unit testing with PHPUnit

New-ish to Laravel so pardon me if I'm getting something completely wrong. I'm wanting to start unit...

0 Likes
2 Replies
posted 7 years ago

Trying to get property of a non object

My search controller is as follows `<?php class SearchController extends \BaseController { /** *...

0 Likes
0 Replies

Error when running phpunit: ErrorException: file_put_contents(/meta/services.json): failed to open stream: No such file or directory

I'm a novice developer trying to get phpunit set up in an already developed app(Laravel 4.2) but I g...

0 Likes
3 Replies
posted 8 years ago

How could I fix [route with suffix ]

I try Route::get('article/edit/{alias?}'.$suffix, ['uses' => 'ArticleController@getEdit', 'as' =&...

0 Likes
0 Replies

Laravel Database Testing PHPUnit

Hey everyone. Is there a way to "seed" a test database using some obscure function in Lar...

0 Likes
0 Replies
posted 9 years ago

How do you test your events are firing with L5?

My Middleware \Event::fire(new RouteRequested($request->route()->getName())); My test $r...

0 Likes
4 Replies

best shared hosting for laravel 5.1

what is the best and cheep shared hosting I can deploy laravel 5.x and use artisan and composer. I h...

0 Likes
0 Replies

laravel 5.2 - non laravel package - dvdoug/BoxPacker - PSR-4

Hello, I would like to use this package with Laravel . https://github.com/dvdoug/BoxPacker I followe...

0 Likes
3 Replies

Emulate Right Click In phpunit selenium

We are using Laravel 5.1 with integrated package in order to use selenium webdriver to create accept...

0 Likes
1 Replies
posted 8 years ago

test variable declared in view

if I had variable declared in view like this //in index.blade.php <?php $var = Model::find(1)...

0 Likes
1 Replies

[Unit Test] Progressive unit test for uploaded files with validation

how is exactly build a unit test for uploaded files ? i have use a $this->call(<method>,<...

0 Likes
9 Replies

is that possible users can select task assign to work from user panel ?

Hi am building task management system. am completed almost work, am searching for one option how to...

0 Likes
0 Replies

Error in exception handler:

need help on this this error: The stream or file "/volume1/web/dar/app/storage/logs/laravel.log...

0 Likes
0 Replies
posted 8 years ago

phpunit/laravel 5 events not firing?

Hi I created one event which fires upon user registration. This works when i test it out & also...

0 Likes
3 Replies
posted 8 years ago

laravel 5.2: Error: Call to undefined method ::seeJsonStructure()

I am trying to construct some unit test for a json returning api. I found https://laravel.com/docs/5...

0 Likes
0 Replies

Trying to mock a model in Laravel 5

I'm trying to create a mock model for my controllers to use, but doesn't seem to be working <?php...

0 Likes
2 Replies

Lumen: Problem with migrations in unit tests (Class config does not exist)

Hello there! I'm trying to setup unit tests for my Lumen application. Sadly, that only works well fo...

0 Likes
10 Replies

Controllers Testing with View Composers

I have a View Composer binded to a class that get data for one repository class and add this data in...

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