daulat / taggy
There is no license information available for the latest version (1.0.1) of this package.
An Elequent tagging package for laravel
1.0.1
2018-04-04 07:03 UTC
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ^6.3
- illuminate/database: >=5.0
- illuminate/support: >=5.0
Requires (Dev)
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~5.0
This package is not auto-updated.
Last update: 2024-09-20 02:27:23 UTC
README
Daulat taggy with spam protection for laravel framework
Run the Composer command to install daulat/taggy:
composer require daulat/taggy
Register Service Provider config/app.php
Daulat\Taggy\Providers\TaggyServiceProvider::class,
Register Facade in config/app.php
'Spam' => Daulat\Taggy\Traits\Spam\Spam::class
Add API keys in .env file
AKISMET_WEBSITE=your-website AKISMET_SECRET=your-akismet-secret
Get API key from akismet site
Update config/services.php
'akismet' =>[ 'website'=>env('AKISMET_WEBSITE'), 'secret' =>env('AKISMET_SECRET'), ]
Create new file in config/spam.php
<?php return [ 'parameter_map'=>[ 'body' => 'comment_content', 'author' => 'comment_author', 'author_email' => 'comment_author_email', ] ];
Next, Run
php artisan make:auth php artisan migrate
And add some dummy tags in tags table.
Now you can see example in
Login or Register then
https://www.your-domain.com/topics