Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

ElpsySec's avatar

I Can't Find Vue.js Input in Test.

I Have a test where "search" is the name of an input in a Vue.js component. The test attempts to type into the search input and filter out all the data entries (so none of them are visible). However, I am getting the following error: TicketTest::a_user_goes_to_ticket_and_filters_out_all_tickets_with_search InvalidArgumentException: Nothing matched the filter [#ticket

ElpsySec's avatar
ElpsySec's avatar bobbybouwm...10yrs agoTesting
3
1
Last reply by bobbybouwmann 10yrs ago
meto1080's avatar

Laravel Testing not pickup new test cases.

Hi Guys, I am pretty new to Laravel testing. I am going to use Laravel testing for both TDD and BDD. I just found a very strange issue that Laravel testing not picking up new test cases. I tried both just run "phpunit" or command "vendor/bin/phpunit" Please see my source code below:

meto1080's avatar
meto1080's avatar akLearn4yrs agoTesting
5
1
Last reply by akLearn 4yrs ago
aaronhuisinga's avatar

Send Test Emails Using Mailgun Driver?

Due to the recent news about Mandrill's changing to a paid service for Mailchimp users, I'm currently in the process of switching the mailing functions of our app over to Mailgun. Everything is going well so far, except for the ability to send test messages via Mailgun. For Mandrill, we simply had to use a test API key on our local machines, and the emails would be sent to Mand

aaronhuisinga's avatar
aaronhuisinga's avatar aaronhuisi...10yrs agoLaravel
0
1
leomarquine's avatar

How can I test a custom package that use Facades?

If I have this example class in my package: <?php namespace Foo\Bar; use Illuminate\Support\Facades\DB; class Example { protected $model; public function __construct($model) { $this->model = $model; } public function execute() { $dummyData = collect([ ['foo' => 'bar'], ['foo' => 'baz'], ]);

leomarquine's avatar
leomarquine's avatar phpguru8yrs agoTesting
14
1
Last reply by phpguru 8yrs ago
lampyon's avatar

Simple PHPUnit test for a small class

Hello! I want test a simple class, but I don't know how... I get error always... http://laravel.io/bin/eDPek I want a simple unit test and not application test. :( The answer is: RuntimeException: Session store not set on request. Or if don't mock session: ReflectionException: Class config does not exist Or I try another way, but... PHP Fatal error: Cannot redeclare Mockery_2_

lampyon's avatar
lampyon's avatar zachleigh10yrs agoTesting
1
1
Last reply by zachleigh 10yrs ago
makeweb's avatar

Test containing $this->expectsEvents() always passes

The following test always passes in my Laravel 5.2 app upgraded from 5.1: <?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; class EventTest extends TestCase { public function tearDown() { Mockery::close(); } public function testExa

makeweb's avatar
makeweb's avatar makeweb10yrs agoTesting
0
1
KaiSassnowski's avatar

Model Relationship not getting updated in Behat test

I'm using Laravel 5.2 together with Behat. In several projects I was faced with the problem, that when I was trying to update a model or a resource within the test and then try to check to view to see if the changes actually took place, they seemingly never did. Note that all of this works as intended in the browser. It's just Behat that's acting up. Let me give you an example.

KaiSassnowski's avatar
KaiSassnowski's avatar fatihict10yrs agoTesting
3
1
Last reply by fatihict 10yrs ago
philbates's avatar

How can I acceptance test when the service provider bindings are dynamic?

I have a multi-tenant app used by many clients. Lets say the app has an optional "blog" module that can either be enabled or disabled. For some clients it's enabled, for some its disabled. If it's enabled, there is another posts_per_page setting in the same config file. I see two different ways of handling this: A settings table that would somehow contain the fact th

philbates's avatar
philbates's avatar philbates3...10yrs agoLaravel
4
1
Last reply by philbates35 10yrs ago
abodnar's avatar

How to unit test a POST request that has an uploaded file

I'm setting up a route that will take a file upload, do some processing and then return json. However, when I try to unit test, I'm running into some issues with building the testing to see if my code worked. Unit test: class uploadTest extends \TestCase { private $uploadedFile = __DIR__ . '/test.png'; private $user; public function setUp() { $_FILES =

abodnar's avatar
abodnar's avatar abodnar10yrs agoTesting
2
1
Last reply by abodnar 10yrs ago
EliasSoares's avatar

How to test a Laravel Package correctly?

Hi, I'm starting to develop my applications using a modular approach, so I have some packages that contains specific Models, Controllers, Policies and Middlewares. How should I test this since I have not a Laravel installation to test it? How should I test a Model for example? How can I test if my controller is running fine?

EliasSoares's avatar
EliasSoares's avatar MartinFolk...10yrs agoTesting
1
1
Last reply by MartinFolkerts 10yrs ago
Okipa's avatar

Laravel 5.2 Codeception functional test issue with PUT / PATCH requests

Hi there, I have a problem on the update treatment processed into my functional tests on Codeception : I systematically have a 404 error. Here are the details. Everything is going well for every other simulated http requests but when codeception tries to execute the update method on a put HTTP request (POST request with a "_method" param having the value "PUT&quo

Okipa's avatar
Okipa's avatar Okipa10yrs agoTesting
2
1
Last reply by Okipa 10yrs ago
Jmrtech's avatar

Css error during test

Getting this error when I run my test: InvalidArgumentException: Nothing matched the filter [medication] CSS query provided for [http://ptr.dev/hospital/33/settings/messages]. Normally its because the element doesn't exist but I've double and triple checked and the elements are there. Here is the source for the div: <div id='medication_div' class="col-sm-4">

Jmrtech's avatar
Jmrtech's avatar ifpingram10yrs agoTesting
1
1
Last reply by ifpingram 10yrs ago
jrdavidson's avatar

Test Not Passing From Redirection

I'm wanting to test to see if a user is NOT authenticated and the user tries to access the dashboard then they are are taken to the login page to submit the form. <?php use Illuminate\Foundation\Testing\DatabaseTransactions; class AuthTest extends TestCase { use DatabaseTransactions; protected $user; protected $password = 'testpass123'; /** @before */

jrdavidson's avatar
jrdavidson's avatar jrdavidson10yrs agoTesting
0
1
ChrisF79's avatar

Using VMWare to test Linux/Homestead and having problems.

I currently have a rMBP that I develop on at home using Homestead. I'm thinking about buying a little $300 laptop to (believe it or not) go fishing and code at the same time but I wanted to test it out first. I used VMWare Fusion to install Ubuntu and then installed composer, virtualbox, vagrant, etc. but when I do Homestead up, it just sits there. I go into the GUI and watch

ChrisF79's avatar
ChrisF79's avatar getvma10yrs agoGeneral
6
1
Last reply by getvma 10yrs ago
Dmitriy_ru's avatar

How can I test time based components? (mock time)

How can I test time based components. For example I debug component that will trigger some event only if the time is "right". I would like to: set time manually call component assert that action was called or not set another time and so on. But internally component is based on time() or Carbon component. What is the best way to change time during the tests?

Dmitriy_ru's avatar
Dmitriy_ru's avatar martinbean10yrs agoTesting
1
1
Last reply by martinbean 10yrs ago
zachleigh's avatar

Using vendor class in test

I need to use a package installed through composer in my test suit, but can't figure out how to get Laravel to instantiate it. Here's my test class: <?php use Limelight\Limelight; class AnalyzerTest extends TestCase { public function setUp() { $limelight = new Limelight(); } } And I get this error: PHP Fatal error: Call to a member function make() on

zachleigh's avatar
zachleigh's avatar ifpingram10yrs agoTesting
10
9
Last reply by ifpingram 10yrs ago
NathanIsaac's avatar

PHPUnit Test Setting Cookies

// Routes Route::get('set-cookie', function() { return redirect('view-cookie')->withCookie(cookie('test', 'hello')); }); Route::get('view-cookie', function(Request $request) { return $request->cookie('test'); }); /** @test */ public function it_saves_a_cookie() { $this->visit('/set-cookie') ->seePageIs('/view-cookie') ->seeCookie('te

NathanIsaac's avatar
NathanIsaac's avatar hemant196yrs agoTesting
15
1
Last reply by hemant19 6yrs ago
PudGalvin's avatar

What is the proper way to test form validation?

I'm running into a bit of a bump trying to test form validation via PHPunit, using some of the built in Laravel testing methods. In my use case, I want to make sure that the proper error is showing if two dates on the form are the same. The test is pretty simple. $now = Carbon\Carbon::now()->format('Y-m-d'); $this->visit('/path/to/form') ->type($now, '

PudGalvin's avatar
PudGalvin's avatar PudGalvin10yrs agoRequests
1
1
Last reply by PudGalvin 10yrs ago
jrdavidson's avatar

Trying Out Some Refactoring For My Login Test

I figure I'm pretty much done with my login testing and wanting to see if anyone felt like I was missing something or should redo how I"m assigning properties from the setUp function. Please look carefully as I might have made some mistakes. <?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\F

jrdavidson's avatar
jrdavidson's avatar xtremer36010yrs agoCode Review
13
1
Last reply by xtremer360 10yrs ago
Okay's avatar

One connection for the test database and one for the production database?

Hello, Where can I set in Laravel the connection for the test database and one for the production database? In the .env file there is only one option. And how can I code that Laravel know which one is set? Thank you for help!

Okay's avatar
Okay's avatar supertrall9yrs agoLaravel
3
1
Last reply by supertrall 9yrs ago
mazedlx's avatar

How do I test a multiple file upload field in Laravel/PHPUnit

Hi everyone! I have the following view <form method="POST" action="http://lego.localhost/minifigs" accept-charset="UTF-8" class="form form-horizontal" enctype="multipart/form-data"><input name="_token" type="hidden" value="Yq5jwYS7Cj9XLDoTinjgH7CSlMtgXBfKzjlgwksI"> <div class=

mazedlx's avatar
mazedlx's avatar mazedlx10yrs agoTesting
5
1
Last reply by mazedlx 10yrs ago
PalTamasWBA's avatar

How to test complex functions in model?

Hi everyone I watched the Unit testing series and started this project to practice what I learned. The problem is that things get complicated very fast. I have this simple relationship between Users, Posts and Upvotes. I wrote tests like user_can_upvote_post() and user_can_have_many_posts() etc. Suppose a user can only upvote if he's been a member for 2 years. If I write a test

PalTamasWBA's avatar
PalTamasWBA's avatar ifpingram10yrs agoTesting
3
1
Last reply by ifpingram 10yrs ago
Henri85's avatar

Trying to Test my Eloquent User Repository Fails

In Laravel 5.2, I want to unit test my Eloquent User Repository. class EloquentUserRepository implements UserRepositoryInterface { private $user; public function __construct(User $user) { $this->user = $user; } public function oneUser($id) { return $this->user->oneUser($id); } } My test looks like below, with mocking the i

Henri85's avatar
Henri85's avatar ifpingram10yrs agoTesting
1
1
Last reply by ifpingram 10yrs ago
InaniELHoussain's avatar

What is the difference between Integration Test & Acceptance Test

I'm confused about those type of tests, it seems for me that are identicall or that I have to chose one of them to test what I want to do, for example I want to test Registration: I have to pickup one of the two types of tests, since both of them will give me the same thing. if anyone can explaine to me with (Simple example) he would be of great help of me.

InaniELHoussain's avatar
InaniELHoussain's avatar nmeri174yrs agoTesting
8
1
Last reply by nmeri17 4yrs ago
alexrfan03's avatar

PHPUnit mysql test database Laravel 5.2

I'm trying to setup a testing environment with the latest Laravel. Is there a way to create a .env.test file and have phpunit use that file? All the examples I have seen, is to use sqlite for your test database. That doesn't feel like a best practice to me, and wanted to know why this was standard.

alexrfan03's avatar
alexrfan03's avatar ifpingram10yrs agoTesting
15
1
Last reply by ifpingram 10yrs ago
InaniELHoussain's avatar

is there a way to test Ajax?

Actually I'm using many pages where I have hidden modal ... and filling it using vueJS and sending data using ajax ... Actually I want to test it ... I wonder if there a specific way to do it? to check if there is an ajax call ...

InaniELHoussain's avatar
InaniELHoussain's avatar AkiyamaSma...10yrs agoTesting
8
1
Last reply by AkiyamaSmart 10yrs ago
InaniELHoussain's avatar

What is the difference between Integration Test & BDD

Actually I've watched videos about BDD, and it seems for me its like integration test .... I'm confused now about the difference between both of them. I'm new to that domain

InaniELHoussain's avatar
InaniELHoussain's avatar bobbybouwm...10yrs agoTesting
6
1
Last reply by bobbybouwmann 10yrs ago
zoransa's avatar

Is this right way to test request and guard

Hi guys! Let's say everything is implemented like in Taylor's tutorial https://laravel.com/docs/5.2/quickstart-intermediate#deleting-tasks If I would like to test lets say $user1 makes a $task, $user2 try to submit delete request and my test shows green but I wonder did I do it right? /** @test */ public function user_cannot_delete_somebody_else_task() { $user1

zoransa's avatar
zoransa's avatar zoransa10yrs agoTesting
2
1
Last reply by zoransa 10yrs ago
InaniELHoussain's avatar

How to Test Controller with FormRequest

As the Title says I'm trying to look for a way to test a method on controller as simple as that public function (MyCustomRequest $request) { $this->postRepository->create($request->all()); } I'v looked every where but I've not found any way .

InaniELHoussain's avatar
InaniELHoussain's avatar AkiyamaSma...10yrs agoTesting
6
1
Last reply by AkiyamaSmart 10yrs ago
InaniELHoussain's avatar

Mockery TEST : Expected status code 200, got 500.

As the Title says I try to Test a Department's Controller and Actually I hade an issue : DepartmentTest::it_shows_all_the_departments Expected status code 200, got 500. Failed asserting that false is true. C:\wamp\www\minisiga\vendor\laravel\framework\src\Illuminate\Foundation\Testing\AssertionsTrait.php:19 C:\wamp\www\minisiga\tests\unit\DepartmentTest.php:50 Here is my Test

InaniELHoussain's avatar
InaniELHoussain's avatar AkiyamaSma...10yrs agoTesting
1
1
Last reply by AkiyamaSmart 10yrs ago
steve3d's avatar

Interesting test with cache options: redis/memcached/file

I just want to know the performance difference with redis/memcahced/file cache, So I've wrote a very simple console command to test the performance. All tests are made from L5.1/PHP7 with opcache, and here are the results: Begin test with: redis (with compression and checksum) Simple String set/unset: : 35.73846578598 Simple integer set/unset: : 35.826465845108 Simple integer

steve3d's avatar
steve3d's avatar steve3d10yrs agoGeneral
0
1
Ricardo's avatar

My first test

Hi there, This is my first test, so be easy on me. Please give me your thoughts. class SearchEmployeeByIdTest extends TestCase { use DatabaseTransactions; /** * Search an employee by the given id * @test * @return void */ public function it_finds_an_employee_by_id() { $employee_id = '00007F65E9'; $employeeName = 'John';

Ricardo's avatar
Ricardo's avatar MikeHopley10yrs agoTesting
1
1
Last reply by MikeHopley 10yrs ago
llhilton's avatar

Migration for every test?

I've currently got 44 tests (mostly acceptance-test types), and each test is taking several minutes to run. If what I think I'm seeing is what's really going on, phpunit is migrating, seeding, and then deleting the db for each test. Is this what should be happening? My tests are painfully slow (several minutes each at least), but if it's running the migration, that would be why

llhilton's avatar
llhilton's avatar skelikem@g...4yrs agoTesting
4
7
Last reply by [email protected] 4yrs ago
aedart's avatar

[L5.1][php7] Segmentation fault during API integration test: how to debug?

I have just switched to the latest version of homestead (0.3.3), running PHP7, but unfortunately I am getting a "Segmentation fault" when executing my integration tests. The tests are doing nothing more than testing CRUD for a custom Json API. However, after spending some time searching on the web for "how to debug segmentation fault" (any many other variati

aedart's avatar
aedart's avatar aedart10yrs agoTesting
0
1
uxweb's avatar

How to test social login in laravel?

Hi :) I was able to build an app that uses Laravel/Socialite to integrate Twitter authentication. The only thing is that i want to have at least one test for the twitter auth, Is there a way to build a test for this? My test looks like this right now: public function testUserCanRegisterUsingTwitter() { $this->visit('/auth/login') ->seePageIs('/auth/logi

uxweb's avatar
uxweb's avatar connecteev6yrs agoTesting
8
1
Last reply by connecteev 6yrs ago
dertechniker's avatar

What/How to test

Hi, So, i'm starting a project and i would like/think i need to test it. Never doing tests before, i'm majorily confused. WHAT should I test? HOW should I test? WHAT tools do I use? I know of the integrated PHPUnit tests from Laravel. Do i write tests to see if every page returns the wanted content? (Like show the login form when visiting /auth/login) Do I write tests to see if

dertechniker's avatar
dertechniker's avatar ifpingram10yrs agoTesting
8
1
Last reply by ifpingram 10yrs ago
Jmrtech's avatar

Integration test for twilio autoresponder

I have an application that uses twilio for a sms autoresponder. I'm running into trouble with setting the test up. Here is part of incomingsms.php: public function smsResponse($response, Request $request, $client) { switch ($response) { case '1': $message = "Text the word refill to start a prescription request.";

Jmrtech's avatar
Jmrtech's avatar ctorresr10yrs agoTesting
4
1
Last reply by ctorresr 10yrs ago
Jmrtech's avatar

Test not reaching controller method

I am writing a test for an update method on the controller. When I run phpunit the test never reaches the controller, it just redirects it. When I add ->dump() this is what I get: <!DOCTYPE html>\n <html>\n <head>\n <meta charset="UTF-8" />\n <meta http-equiv="refresh" content="1;url=http://ptr.dev"

Jmrtech's avatar
Jmrtech's avatar Bloomanity10yrs agoTesting
1
1
Last reply by Bloomanity 10yrs ago
kfirba's avatar

Test event listener class

Hello. In my application I've created a MailListener which simply is the class which is responsible to send any kind of email based on which event has been triggered. Currently there are 2 methods in that class which responds to different events: confirmationEmail - responds to UserRegistered businessRegistered - responds to BusinessHasRegistered Now in my test I verify t

kfirba's avatar
kfirba's avatar kfirba10yrs agoLaravel
2
1
Last reply by kfirba 10yrs ago
talentia's avatar

How to test file uploads to an API using Mockery

I'm using PHPUnit to unit test my API but I'm unsure as to how to test file uploads. I watched this Laracast lesson which has given me a good insight into how to use Mockery to test file uploading, but my use case is slightly different and I can't get my test to Green. Here is my current code And this is the error that I get back: Mockery\Exception\InvalidCountException: Method

talentia's avatar
talentia's avatar ifpingram10yrs agoTesting
4
1
Last reply by ifpingram 10yrs ago
adammench's avatar

SSL test: No secure protocols supported

Hello, After buying a '123-SSL' SSL certificate from 123-reg (their basic certificate), I followed the steps to install it onto a site using Forge. Generating the CSR, downloading the Key etc, all seemed to go well with no errors reported by Forge. However, now the site is not reachable, so I want to ask for help in diagnosing the problem. Running a Qualys SSL test results in t

adammench's avatar
adammench's avatar adammench10yrs agoForge
25
1
Last reply by adammench 10yrs ago
bkuhl's avatar

How do I mock app() in a framework unit test

I'm working on a pull request for attribute casting in eloquent and am running into a scenario where a unit test can't resolve a class out of app() and I'm unsure how to mock it. How can I mock app()? Fatal error: Call to a member function getBindings() on null in /Users/bkuhl/Personal/framework/src/Illuminate/Database/Eloquent/Model.php on line 2825 protected function ca

bkuhl's avatar
bkuhl's avatar wired007yrs agoLaravel
3
1
Last reply by wired00 7yrs ago
pdellepiane's avatar

How to stress test my Laravel App?

Hello, I would like to know if there is any way to stress test my Laravel App. Thanks in advance!

pdellepiane's avatar
pdellepiane's avatar TKay6yrs agoLaravel
2
1
Last reply by TKay 6yrs ago
alexmansour's avatar

Allowed memory size exhausted when I run my test suites

Today I just started to get Fatal error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 65488 bytes) when I run my test suites, after the fifth test I'm getting this fatal error. I have tried to increase the memory_limit with no luck. Fatal error: Uncaught exception 'Illuminate\Contracts\Container\BindingResolutionException' with message 'Target [Illumina

alexmansour's avatar
alexmansour's avatar alexmansou...10yrs agoTesting
2
1
Last reply by alexmansour 10yrs ago
ricky2210's avatar

How to unit test a .vue component

I am in a process to unit test a vue component using Jasmine. The component is in a .vue file containing <script> and <template> tag. The following codes caused an error (it doesn’t like the script or template tags). Vue.component(‘test’, require(‘./path/to/.vue’)); Any idea how to fix this error? (function (exports, require, module, __filename, __dirname) { `<t

ricky2210's avatar
ricky2210's avatar ricky221010yrs agoVue
0
1
Jmrtech's avatar

Test Twiml response

I am trying to write test for some of my routes which have twilio actions attached to them. When a POST request is made it then echoes a twiml(xml) response. If I visit the site then all works as expected. Twiml document is rendered properly. I am new to testing and hope that someone will be able to shed some light. $response = $this->call('POST', '/incomingsms', $params);

Jmrtech's avatar
Jmrtech's avatar Jmrtech10yrs agoTesting
0
1
devninja's avatar

I need a simple free hosting service to test my laravel app

i had issues with composer and cache and database setup before when tried to deploy when i began with my project and now i'm in final stage and i need to test cache and configure my app, i can't use homestead because i had issues with making the folders sync, any thoughts from people with experience in deploying and running composer successfully in any host? thank you in advanc

devninja's avatar
devninja's avatar webfuelcod...5yrs agoLaravel
11
1
Last reply by webfuelcode 5yrs ago
andyw4's avatar

Setting environment variable inside test?

Can anyone give me a pointer on how I go about setting an environment variable inside a test function? I have a middleware in my app that checks for an environment variable - if this variable is true, it redirects to a 'closed' page. How can I set this variable for a single test so I can check that the middleware works?

andyw4's avatar
andyw4's avatar ingrammonk10yrs agoTesting
6
3
Last reply by ingrammonk 10yrs ago
bbparis's avatar

Simple communication test with database

Hello all, You are really very helpful here, so, thank you in advance for your help. I'm learning by doing some test on the following link : http://demo.beginfromhere.com/laravel/public/users Based on the following lesson : https://laracasts.com/series/laravel-5-fundamentals/episodes/10?autoplay=true Why when I send username, notes and email, the result as you will see at the e

bbparis's avatar
bbparis's avatar bbparis10yrs agoLaravel
5
1
Last reply by bbparis 10yrs ago
lee__mason's avatar

How to test a package that uses another packages db tables and classes

Im working on a package that enhances the https://github.com/lucadegasperi/oauth2-server-laravel package with a few models for clients, scopes and add a few traits. The package will allow the oauth scopes to be used and managed within the app and not just over oauth. so things like this can be done: $user = User::find(1); $scope = Scope::firstOrCreate([ 'id' => 'read_use

lee__mason's avatar
lee__mason's avatar RomainLanz10yrs agoTesting
1
1
Last reply by RomainLanz 10yrs ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.