{"id":95334,"library":"nunomaduro-laravel-mojito","title":"Laravel Mojito","description":"A lightweight package for testing Laravel views with elegant assertions.","status":"active","version":"0.2.10","language":"php","source_language":null,"source_url":"https://github.com/nunomaduro/laravel-mojito","tags":["laravel","testing","views","assertions"],"install":[{"cmd":"composer require nunomaduro/laravel-mojito","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"InteractsWithViews","correct":"use NunoMaduro\\LaravelMojito\\InteractsWithViews;"}],"quickstart":{"code":"<?php\nnamespace Tests\\Feature;\nuse Tests\\TestCase;\nuse NunoMaduro\\LaravelMojito\\InteractsWithViews;\nclass ViewTest extends TestCase\n{\n    use InteractsWithViews;\n    public function test_view_contains_text()\n    {\n        $this->assertView('welcome')->contains('Laravel');\n    }\n}","lang":"php","description":"Assert that a view contains specific text."},"warnings":[{"fix":"Upgrade Laravel or PHP version.","message":"Only works with Laravel 5.5+ and PHP 7.1+.","severity":"breaking","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'assert':12,16 'eleg':11 'laravel':1,8,13 'lightweight':4 'mojito':2 'packag':5 'test':7,14 'view':9,15","created_at":"2026-06-19T10:27:35.391195+00:00","updated_at":"2026-06-19T10:27:35.391195+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/nunomaduro/laravel-mojito","github":"https://github.com/nunomaduro/laravel-mojito","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}