Download the PHP package oburatongoi/productivity without Composer
On this page you can find all versions of the php package oburatongoi/productivity. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oburatongoi/productivity
More information about oburatongoi/productivity
Files in oburatongoi/productivity
Package productivity
Short Description Productivity - A productivity API by Artisan Pixelworks
License MIT
Informations about the package productivity
Productivity
Installation
Compatible with Laravel 5. To install, run:
$ composer install oburatongoi/productivity
.
Next, add the service provider to the provider array in the app/config.app
file:
Oburatongoi\Productivity\Providers\ProductivityServiceProvider::class,
In your .env file, add the following variables:
SESSION_DOMAIN=.your-domain.com
Note the '.'
before the domain name.
PRODUCTIVITY_LOGO=logo-text
defaults to 'Productivity'
PRODUCTIVITY_DOMAIN=your-domain.com
PRODUCTIVITY_SUBDOMAIN=productivity
If using Scout with Algolia, set the following environment variables
FOLDER_INDEX_NAME=the-name-of-your-folder-index
defaults to prod_FOLDERS
CHECKLIST_INDEX_NAME=the-name-of-your-folder-index
defaults to prod_CHECKLISTS
Be sure to update your DNS 'A' or 'CNAME' settings to include the new name and add SSL encryption for your desired subdomain if you do not have wildcard subdomain encryption.
Next, publish the package's views, migrations and routes:
$ php artisan vendor:publish
You will need to force publish the productivity config. Note that this will add or overwrite the following files in the config folder: productivity.php, fakeid.php and javascript.php:
php artisan vendor:publish --tag=productivity --force
Next, add the Productive trait to your app's User model:
To properly address certain exceptions, add the following to your app\Exceptions\Handler.php
file:
Finally, run the migration to add productivity's folders to the database. Note that productivity's tables all have the productivity_ prefix, so make sure you don't have any naming conflicts in your database:
$ php artisan migrate
Getting Started
When adding Productivity to a fresh Laravel installation, consider doing the following:
- Change app name in config/app
- Install Bugsnag
- Install and Configure Algolia
- Install and Configure Redis
- Install and Configure JosephSilber/bouncer package
All versions of productivity with dependencies
propaganistas/laravel-fakeid Version ^2.0
laracasts/utilities Version ~2.0
kalnoy/nestedset Version ^4.2
doctrine/dbal Version ^2.5
laravel/scout Version ^3.0
algolia/algoliasearch-client-php Version ^1.15
chocoholics/exceptional Version ^0.0.4
genealabs/laravel-caffeine Version ^0.4.2
silber/bouncer Version v1.0.0-beta.4