Support the ongoing development of Laravel.io →

637 Threads

how to create PUT and DELETE CSRF poc.

how to create PUT and DELETE method CSRF POC. of simple html post method

0 Likes
1 Replies

Session not functionning

this is my loginAction that built session <?php namespace App\Http\Controllers; use Illuminate\H...

0 Likes
4 Replies
Solved

Cachier + Stripe: create unbilled subscription

I have built an application based on Laravel and Stripe. To access its services, the user needs a su...

0 Likes
0 Replies

Bypass iCloud Lock: Remove/Unlock iCloud Account Activation for iPhone

Now the latest question of iPhone, iPad and iPod users how to unlock iCloud activation lock for stol...

0 Likes
0 Replies

Possible Issue With JSON Request In Testing

I've written the following test to try and create an access token for my API: public function testAc...

0 Likes
1 Replies
posted 8 years ago

Unit testing

He Guys, I have a question with unit testing. I'm a bit stuck here. // SomeController public functio...

0 Likes
0 Replies

testing.. setting up db etc

so what do you guys do when creating tests? I have a setup method on the testcase (parent class) tha...

0 Likes
0 Replies

Laravel password hashes through native php

My code is like this : <?php echo Hash::make('12345'); ?> error : Fatal error: Class 'Hash' no...

0 Likes
5 Replies
Solved

Symfony 2 or Laravel?

I would like to learn new php framework. but i have doubt which should i learn? Symfony 2 or Laravel...

0 Likes
8 Replies
Solved

Unit testing - mock eloquent's query scope method

I would like to mock model's scope method, is it possible? Here is the scenario: Order model: public...

0 Likes
3 Replies

PHPUnit_Framework_TestCase Found but undefined method ::call()

Hi i am working with Laravel 4.2.17 , PHPUnit 5.1.1 and PHP 5.6.16 . I am using PHPStorm as My Edito...

0 Likes
0 Replies

saveMany using factories and an arbitrary count

I have written a helper method for some tests that contains the following line of code: $user->or...

0 Likes
0 Replies

Class Model Not Found

Error: FatalErrorException in RegisterController.php line 22: Class 'App\Paises' not found in Regist...

0 Likes
5 Replies
posted 8 years ago

unit testing and confirm dialog

Hi all, my 5.1 application has a form that allows for deleting an employee. When the user clicks on...

0 Likes
0 Replies

How to edit KML file in Laravel

I made a map using google maps application and load kml file for color shading in the area. To load...

0 Likes
0 Replies

Dependency Injection w/Argument

We have this method in one of our command files: public function setGateway(Church $church) { $this...

0 Likes
0 Replies

Laravel installation

Hi I have laravel installed in /home/clashdata/public_html and accessible at: http://clashdata.tk I...

0 Likes
1 Replies

Configure Laravel project on a DSO handler server

Hi everyone, I have a Laravel 5.0 project that I want to test on servers that supports different php...

0 Likes
1 Replies
Solved

Cannot route post request

Hello everyone! I am getting an error when I use post request. Here is the code: http://laravel.io/b...

0 Likes
1 Replies

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

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.