New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

yassine-khachlek/laravel-package-example

A Laravel package example.
358 9
Install
composer require yassine-khachlek/laravel-package-example
Latest Version:1.0.2
PHP:>=5.6.4
License:GPLv2
Last Updated:Sep 25, 2026
Links: GitHub  ·  Packagist
Maintainer: yassine-khachlek

Laravel Package Example

And example of a Laravel package.

  • Load controllers
  • Load routes
  • Load views
  • Register migrations
  • Register commands
  • Push middleware
  • Bind Facade
  • Publish configurations, resources, assets
  • Use another package

Installation

Install wia composer:

composer require yassine-khachlek/laravel-package-example

And add the service provider in config/app.php:

Yk\LaravelPackageExample\LaravelPackageExampleProvider::class,

Then register Facade class aliase:

'FacadeExample' => Yk\LaravelPackageExample\Facades\FacadeExample::class,

Publish assets:

php artisan vendor:publish

License

GPLv2

Copyright (c) 2016

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Related Packages

laragear/meta

A Laravel Package helper for Laravel Packages

1,316,350 7
cleaniquecoders/laravel-helper

Built with Laravel Standalone Package Creator

10,395 4
ipunkt/laravel-package-manager

Package Manager for laravel packages

1,744 2
wi-development/media

Admin's media

50 0
wi-development/locale

Admin's locale

49 0

Version History

Version Released PHP License
1.0.2 >=5.6.4 GPLv2
1.0.1 >=5.6.4 GPLv2
1.0.0 >=5.6.4 GPLv2