Looking to hire Laravel developers? Try LaraJobs

laravel-package maintained by edram

Description
Laravel package template
Author
Last update
2026/07/11 15:37 (1.x-dev)
License
Downloads
5

Comments
comments powered by Disqus

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.