Weave 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

Laravel Package Laravel Package

edram/laravel-package

View on GitHub
Deep Wiki
Context7

Laravel Package

Latest Version on Packagist Tests Total Downloads

A reusable Laravel package foundation for building Edram Laravel extensions.

Installation

Install the package via Composer:

composer require edram/laravel-package

Publish the configuration file:

php artisan vendor:publish --tag="laravel-package-config"

Publish the migrations:

php artisan vendor:publish --tag="laravel-package-migrations"
php artisan migrate

Usage

Resolve the package from the container:

use Edram\LaravelPackage\LaravelPackage;

$laravelPackage = app(LaravelPackage::class);

echo $laravelPackage->echoPhrase('Hello, Laravel!');

Use the facade:

use Edram\LaravelPackage\Facades\LaravelPackage;

echo LaravelPackage::echoPhrase('Hello, Laravel!');

Run the package command:

php artisan laravel-package

Development

Run the test suite:

composer test

Run static analysis:

composer analyse

Format the code:

composer format

License

The MIT License (MIT). Please see License File for more information.

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource