myciplnew / olapicmedia
Olapicmedia for download and upload contents
dev-master
2018-07-12 13:20 UTC
Requires
- php: >=7.1
This package is not auto-updated.
Last update: 2024-09-27 17:39:16 UTC
README
- Add provider Myciplnew\Olapicmedia\OlapicmediaServiceProvider::class, in config/app.php.
- Run php artisan vendor:publish --provider="Myciplnew\Olapicmedia\OlapicmediaServiceProvider"
- Run php artisan make:auth (Skip if user tables already exists)
- Execute migrate command for update database tables (Skip if already tables are available). php artisan migrate
- Copy env.exmaple data to project .env file with valid details
Required composer installs
- composer require intervention/image
- composer remove league/flysystem-aws-s3-v2 (#2 and #3 not need if already filesystem running with S3-V3)
- composer require league/flysystem-aws-s3-v3:~1.0
Commands to execute package
- Register user if already not exists. http://localhost:8000/register
- Skip #3 and #4 points if already we have data in media tables.
- For upload sample files run the following url. Before that change config/olapicmedia.php file olapic_bulk_up_dir path
- Parameters (#1 parameter no of images, #2 user id) : http://localhost:8000/blukUpload/2/1
- For upload cron files run php artisan execute:CronMedia
- For download files run php artisan execute:StreamMedia
- For Validate youtube and instagram files php artisan execute:ValidateMedia