LaravelPackages.net
Acme Inc.
Toggle sidebar
nksoft/laravel-master

The Laravel Framework.

31
0
v1.0.0
About nksoft/laravel-master

nksoft/laravel-master is a Laravel package for the laravel framework.. It currently has 0 GitHub stars and 31 downloads on Packagist (latest version v1.0.0). Install it with composer require nksoft/laravel-master. Discover more Laravel packages by nksoft or browse all Laravel packages to compare alternatives.

Last updated

Installation

Run the command below to install via Composer

composer require nksoft/laravel-master

Getting Started

Add config file config/app.php

<?php
'providers' => [
    ...
    Nksoft\Master\NkSoftMasterServiceProvider::class,
    Intervention\Image\ImageServiceProvider::class,
]
'aliases' => [
    ...
    'Image' => Intervention\Image\Facades\Image::class,
]

Add kernel file app/Http/Middleware/Kernel.php

<?php
protected $routeMiddleware = [
    ...
    'nksoft' => \Nksoft\Master\Middleware\CheckAuthorMiddleware::class,
];

Migrate package

php artisan migrate

DB seeder package

php artisan db:seed --class="\Nksoft\Master\database\seeds\NksoftSeeder"

Publishes file

php artisan vendor:publish --tag=nksoft --force
php artisan storage:link

License

Released under the MIT License attached with this code.

Star History Chart