dreyko / test
There is no license information available for the latest version (dev-master) of this package.
Test package
dev-master
2020-09-13 18:51 UTC
Requires
- php: >=7.3
- rcrowe/twigbridge: 0.9.*
This package is not auto-updated.
Last update: 2025-03-25 15:42:57 UTC
README
requires TwigBridge 0.9, laravelcollective/html 5.3 and Laravel 5.3.*
Installation
Require this package with Composer
composer require dreyko/test --dev
Configuration
1 ) Once Composer has installed or updated your packages you need to register package with Laravel itself. Open up config/app.php and find the providers key towards the bottom and add:
'providers' => [
...
Dreyko\Test\TestWorkProvider::class,
],
1.1) Make sure, that you have in your providers next lines
'providers' => [
...
TwigBridge\ServiceProvider::class,
Collective\Html\HtmlServiceProvider::class,
...
],
2 ) Call migration
php artisan migrate
3 ) After you need to add relation to your User model (app/User.php)
public function channels()
{
return $this->belongsToMany('Dreyko\Test\Model\Channel');
}
Usage
To view, edit and make new channels
channels/
To view users with channels
user_channels/