Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Tesaja Laravel Package

alfreinsco/tesaja

Minimal Laravel starter package that demonstrates how to ship and publish Blade views. Install via Composer, optionally publish views with the hello-views tag, then render hello-starter::hello (or the published vendor view). MIT licensed.

View on GitHub
Deep Wiki
Context7

Contoh paket termudah untuk menerbitkan view.

Frequently asked questions about Tesaja
How do I install and use alfreinsco/tesaja in a Laravel project?
Run `composer require alfreinsco/hello-starter` to install. Use views directly via the namespace `hello-starter::hello` (e.g., `return view('hello-starter::hello')`) or publish them first with `php artisan vendor:publish --tag=hello-views` to customize.
What Laravel versions does this package support?
The package is designed for modern Laravel (likely 10.x+). Check the package’s `composer.json` for exact PHP and Laravel version requirements, as it may depend on Laravel’s service container and Blade templating.
Can I customize the published views after running vendor:publish?
Yes. After publishing with `--tag=hello-views`, the views are copied to your project’s `resources/views/vendor/hello-starter` folder. You can modify them freely without affecting the original package files.
Does this package work with Laravel’s service container?
Yes, the package includes a `HelloStarterServiceProvider` that registers the views and integrates with Laravel’s service container. This allows you to extend or bind additional services if needed.
How do I test views rendered from this package?
Test views by mocking the Blade rendering process in your PHPUnit or Pest tests. Use Laravel’s `View::assertSee()` or `View::assertMissing()` to verify content. For published views, test both the original namespace and the published path.
Is this package suitable for production use?
This is a minimal starter package, not a production-ready solution. It demonstrates view publishing but lacks features like caching, error handling, or API integrations. Use it as a learning tool or extend it for production.
What if I need to add more views or Blade components?
Extend the package by adding new Blade files to the `resources/views/` directory in your project. If using the published views, place them in `resources/views/vendor/hello-starter/` and update your namespace references accordingly.
Are there alternatives to this package for Laravel view publishing?
For simple view publishing, Laravel’s built-in `vendor:publish` is sufficient. For more complex packages, consider `laravel-package-boilerplate` or `orchestra/testbench` for advanced testing and scaffolding. This package is lightweight and ideal for learning.
How do I handle namespace conflicts if I publish multiple packages with similar view structures?
Use unique namespace prefixes (e.g., `package-name::view`) and ensure your published views are placed in distinct folders (e.g., `vendor/package-name/`). Avoid overlapping view names to prevent conflicts during rendering.
Does this package support Laravel’s queue system or async operations?
No, this package is purely for view publishing and does not include queue or async functionality. For async operations, integrate Laravel’s queue system separately or extend the package with job classes.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
testo/facade
headercat/phpstan-extension-ide-helper
yosymfony/parser-utils
innmind/black-box
babenkoivan/elastic-migrations
babenkoivan/elastic-adapter
sandermuller/package-boost-php
sandermuller/boost-core
depa/sulu-google-reviews-bundle
croct/plug-symfony
develia/commons
dmstr/symfony-system-resources-bundle
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
renatomarinho/laravel-page-speed
develia/geo-bundle
austinheap/laravel-database-encryption
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle