creative-syntax/page-loader

A laravel package for auto page loading system

v2.0.0 2023-05-07 07:49 UTC

This package is auto-updated.

Last update: 2024-05-20 08:30:01 UTC


README

A package for customize page loading system in easiest way. Just install it

Installation

No dependency on PHP version and LARAVEL version

STEP 1: Run the composer command:

composer require creative-syntax/page-loader

STEP 2: Laravel without auto-discovery:

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

CreativeSyntax\PageLoader\CSPageLoader::class,

STEP 3: Publish the package config: (If you want to customize)

php artisan vendor:publish --provider="CreativeSyntax\PageLoader\CSPageLoader" --force

-OR-

php artisan vendor:publish --tag="page-loader:config"

customization like:

in config folder, you will get a file -page-loader.php

return [
    'is-active' => true, // if false then disable the loader
    'color' => '#0277BD' // you can change the color of the loader
];

license:

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

Post Issues: if found any

If have any issue please write me.