There is no license information available for the latest version (1.2.5.2) of this package.

CMS package

1.2.5.2 2019-11-11 06:53 UTC

README

Mari is a Laravel CMS package that aims to streamline Web Development process.

Dependencies

  1. Entrust
  2. Laravel Datatables
  3. Intervention
  4. Revisionable
  5. Datatables
  6. Revisionable
  7. Laraberg
  8. Laravel File Manager

Installation

  1. In order to install Mari, just add the following to your composer.json. Then run composer update:
"featherwebs/mari": "dev-master"
  1. Open your config/app.php and add the following to the providers array:
Featherwebs\Mari\FeatherwebsServiceProvider::class,
  1. Run the command below to publish the package templates:
php artisan vendor:publish --force

and select Featherwebs\Mari\FeatherwebsServiceProvider

  1. Open your app/User.php change it to:
use Featherwebs\Mari\Models\FeatherwebsUser;

class User extends FeatherwebsUser
{
...
}
  1. Run migrations
php artisan migrate --path="vendor/featherwebs/mari/src/database/migrations"
  1. Run seeds
php artisan db:seed --class="Featherwebs\Mari\Seeder\MariSeeder"
  1. You also need to add the following:
    'role' => \Zizaco\Entrust\Middleware\EntrustRole::class,
    'permission' => \Zizaco\Entrust\Middleware\EntrustPermission::class,
    'ability' => \Zizaco\Entrust\Middleware\EntrustAbility::class,

to routeMiddleware array in app/Http/Kernel.php.

  1. You also need to add the following:
    'uploads' => [
        'driver' => 'local',
        'root' => storage_path('app/public/files/uploads'),
        'url' => env('APP_URL').'/storage/files/uploads',
        'visibility' => 'public',
    ],

to disks array in config/filesystems.php. 9) You also need to add the following:

    ImageWasUploaded::class => [
        \Featherwebs\Mari\Listeners\ImageUploaded::class,
    ],
    ImageIsRenaming::class => [
        \Featherwebs\Mari\Listeners\ImageRenamed::class
    ],
    ImageWasDeleted::class => [
        \Featherwebs\Mari\Listeners\ImageDeleted::class
    ],

to listen array in App/Listeners/EventServiceProvider.

Contributing

Thank you for considering contributing to the Featherwebs Mari framework!

Security Vulnerabilities

If you discover a security vulnerability, please send an e-mail to Srawan Shrestha at srawan@featherwebs.com. All security vulnerabilities will be promptly addressed.

License

The Featherwebs Mari is open-sourced software licensed under the MIT license.