Downloads
Stars
Version
Mikdoc is a package based on Laravel authentification system. Typically, that's means you have to run the command below:
php artisan make:auth
Now depending on your Lavarel's version, this may change. Check the documentation for more details.
If everything looks fine, follow the steps below and install the package.
To get started with Mikdoc, use composer to add the package to your project's dependencies.
composer require mikofb/mikdoc
This step will create a documents
table in your database, so ensure that there's none for now.
php artisan migrate
Here you have publish the mikdoc.php
config file and all the differents assets.
php artisan vendor:publish --provider="Mikofb\Mikdoc\MikdocServiceProvider"
Finally, visit your domain url by adding /documents
as prefix.
note: This prefix can be change to whatever you want, just see config/mikdoc.php for more details!
The Mikdoc package as been set for auto-discover but if you get some unknown routes errors you can fix them this way.
You just have to register service provider and aliase in your config/app.php
'providers' => [
Mikofb\Mikdoc\MikdocServiceProvider::class,
],
/*
|--------------------------------------------------------------------------
| Class Aliases
|--------------------------------------------------------------------------
|
| This array of class aliases will be registered when this application
| is started. However, feel free to register as many as you wish as
| the aliases are "lazy" loaded so they don't hinder performance.
|
*/
'aliases' => [
'Mikdoc' => Mikofb\Mikdoc\Facades\Mikdoc::class,
],
Only two languages are provided for now:
All the views in this package are provided by Creative Tim free templates.
Mikdoc is open-sourced software licensed under the MIT License (MIT). Please see License File for more information.
Made with :heart: