Looking to hire Laravel developers? Try LaraJobs

laravel-multilang-posts maintained by benahmetcelik

Description
Laravel SEO Tools
Author
Last update
2022/09/24 14:57 (dev-main)
License
Downloads
4

Comments
comments powered by Disqus

Laravel Multilang Posts

See Demo

Installation

Add composer.json file :

   "benahmetcelik/laravel-multilang-posts": "dev-main",

Run The Your Terminal :

  php artisan vendor:publish

And 0 press

Easy to use

Only Install and usage :)

Change Colors

Config/multilang_post.php

   'models'=>[
       
    
        'App\Models\News' => [
            'title_column' => 'title',
            // Column to be keywords (data in this column will be spaced and combined with (,))
            'keywords_column' => 'title',
            'desc_column' => 'content',
            'image' => true,
            'image_column' => 'image',
            'desc_lenght' => 10,
            'slug_column' => 'slug',
            'route' => 'news'
        ]
    
    ]

Simple Usage in blade file :

 {!!  $your_model->getLangPost('en','column') !!}

This is simple. Isn't it?