bigbeartech/attachments

This package is abandoned and no longer maintained. No replacement package was suggested.

A simple package for uploading media to Laravel

0.0.5 2016-07-18 23:36 UTC

This package is not auto-updated.

Last update: 2022-03-25 10:07:51 UTC


README

GitHub license

Installation

Install via composer - In the terminal:

composer require bigbeartech/attachments

Now add the following to the providers array in your config/app.php

BigBearTech\Attachments\AttachmentsServiceProvider::class,

and this to the aliases array in config/app.php

"Attachment" => "BigBearTech\Attachments\Facades\Attachment",

Then you will need to run these commands in the terminal in order to copy the config and migration files

php artisan vendor:publish --provider="BigBearTech\Attachments\AttachmentsServiceProvider"

Before you run the migration you may want to take a look at config/attachments.php and change the table property to a table name that you would like to use. After that run the migration

php artisan migrate