edram/laravel-package

Laravel package template

Maintainers

Package info

github.com/edram/laravel-package

pkg:composer/edram/laravel-package

Transparency log

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.2 2026-07-10 08:37 UTC

This package is auto-updated.

Last update: 2026-07-10 08:39:08 UTC


README

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.