Support the ongoing development of Laravel.io →

638 Threads

posted 7 years ago

Is anyone using Behat 3, Laravel 5 and zombie.js 4?

I'm trying to get a Behat environment setup within Laravel which is able to test a Laravel applicati...

0 Likes
0 Replies
posted 9 years ago

UnitTesting and the CSRF Token Mismatch Problem

Hey peoples, Just today I started looking at how to UnitTest some of my code in Laravel. In general,...

0 Likes
4 Replies
posted 7 years ago

Auto add tags in thread

Hi Friends, I don't know this is the right place to add this kind of question/suggestion about larav...

0 Likes
0 Replies

disable default security features

Hi I want use laravel for creating a vulnerable web application portal to teach web attack to our st...

0 Likes
1 Replies

Continuous Integration Vendor Problems

Hello, So I have a Laravel project hosted in source control. Continuous integration is running for P...

0 Likes
2 Replies

Problem rollover on iphone with IOS 8.0

Hello, kindly I can help to understand why the rollover of the mobile is fine with all devices excep...

0 Likes
1 Replies

How to define factories outside ModelFactory.php?

Hi, I'm currently splitting a larger app into smaller modules and would like to split the defined fa...

0 Likes
2 Replies
posted 7 years ago

Faker NOT NULL constraint failed: types.name

I have the following class: class Type extends BaseModel { use Translatable; public $translated...

0 Likes
1 Replies
Solved

Unit testing : Phpunit command doesn't exists

Hi, I'm trying to launch my unit tests but when i write phpunit in my terminal i get "phpunit:...

0 Likes
7 Replies

Dependency injection + ServiceProvider with custom class?

I'm having trouble understanding best practices for using dependency injection with my custom classe...

0 Likes
6 Replies
Solved

How to select table data in orderby id desc then groupby name in laravel 5.3?

I do this but can not work.. DB::table("office_costing_zone") ->orderBy("id",...

0 Likes
2 Replies

Testing middleware with cookies

I made some middleware which checks if a user has registered its device. Therefore it checks if the...

0 Likes
1 Replies
Solved
posted 7 years ago

Class 'session' not found

FatalErrorException in fa17d9d6b5a07c22ff5e6c69223c8360c8d5d8ae.php line 23: Class 'session' not fou...

0 Likes
1 Replies

Unit Tests fails with unexpected response code

I'm quite new to laravel development. I'm trying to create a unit test, which should fail (response...

0 Likes
3 Replies
Solved

laravel passport components are not loading on AMPPS (AMP stack)

When I try to check my project which is running on AMPPS (AMPPS is a cross platform AMP stack) on ub...

0 Likes
1 Replies
Solved

i can not execute Laravel's PHPUnit

hi i am using this : Laragon PHP 7.0 Laravel 5.3 i can not execute phpunit command or ./vendor/bin/p...

0 Likes
0 Replies

How To Test Authorization, or, assertResponseStatus(403)

I'm using a policy on Orders such that a User can only access their own orders. Having trouble getti...

0 Likes
3 Replies
posted 7 years ago

L5.3 Unit Testing with FindOrFail ModelNotFoundException

I am writing a unit test for a route passing a $id and have a ModelNotFoundException being thrown. I...

0 Likes
0 Replies

Functional test artisan comand, that migrates multiple dynamic tenant database

So here is the picture: I have an app that creates tenant_db for each user registered. For doing tha...

0 Likes
0 Replies

Performance of Laravel on production

We are newbie start-up using Laravel for our application running in AWS Beanstalk. I just want to as...

0 Likes
2 Replies
Solved

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.