freziertz/postpackage

A post package

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/freziertz/postpackage

dev-main 2023-03-09 07:38 UTC

This package is not auto-updated.

Last update: 2025-12-26 19:53:16 UTC


README

The config file can now be exported using the command listed below, creating a postpackage.php file in the config directory of the Laravel project in which the package was required.

php artisan vendor:publish --provider="Freziertz\PostPackage\PostServiceProvider" --tag="config"

The migrations of this package are now publishable under the "migrations" tag via:

php artisan vendor:publish --provider="Freziertz\PostPackage\PostServiceProvider" --tag="migrations"

The view can be exported by user of our package as follows.

php artisan vendor:publish --provider="Freziertz\PostPackage\PostServiceProvider" --tag="views"

The assets can then be exported by users of our package using:

php artisan vendor:publish --provider="Freziertz\PostPackage\PostServiceProvider" --tag="assets"

We can reference the stylesheet and javascript file in our views as follows:

<script src="{{ asset('blogpackage/js/app.js') }}"></script>
<link href="{{ asset('blogpackage/css/app.css') }}" rel="stylesheet" />