Support the ongoing development of Laravel.io →

638 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 8 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

Issue with adding soft deletes in a later migration

Hello, the issue I'm having is that I created a user table as my first migration, then added a migra...

0 Likes
1 Replies
Solved

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

Java not supported in Chrome and Edge. How do we develop for the future?

I was busy doing code to populate a second drop down with java and i realized that i may just be was...

0 Likes
3 Replies
Solved
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

How to test file upload?

I have tried various combination to imitate a file upload without much luck.. My last attempt consis...

0 Likes
1 Replies
Solved

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

Laravel schema unit test doesn't work.

I try to mock this: \Schema::drop('tableName') in my unit test like this: \Schema::shouldReceive('dr...

0 Likes
2 Replies
Solved
posted 9 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

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.