https://github.com/stanislawfortonski/Laravel-Blog
Laravel 8.x Multi-language Blog. Your well start with blogging.
https://github.com/stanislawfortonski/Laravel-Blog
application artisan blog blogging-application blogging-site blogging-system disqus language laravel laravel-8 laravel-blog laravel-roles php php7 posts
Last synced: 5 months ago
JSON representation
Laravel 8.x Multi-language Blog. Your well start with blogging.
- Host: GitHub
- URL: https://github.com/stanislawfortonski/Laravel-Blog
- Owner: stanislawfortonski
- License: mit
- Created: 2020-11-11T18:11:20.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-26T09:50:16.000Z (about 4 years ago)
- Last Synced: 2025-04-05T14:34:53.441Z (6 months ago)
- Topics: application, artisan, blog, blogging-application, blogging-site, blogging-system, disqus, language, laravel, laravel-8, laravel-blog, laravel-roles, php, php7, posts
- Language: PHP
- Homepage:
- Size: 5.95 MB
- Stars: 18
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel-Blog
Laravel Blog 8.x ## About
This is Laravel 8.x Multi-language Blog System. Your template for blogging.## Installation
1. Everyting like standard Laravel installation (more in https://laravel.com/docs/8.x#installation):
- download release or clone this repo
- setup your blog in .env file.
3. Run artisan `php artisan storage:link` (necessary for store images).
2. Fill correctly `APP_DISQUS` - your embed.js provided by Disqus and `SESSION_DOMAIN` - your domain.
3. Add some users in `/database/seeders/UserSeeder.php` for example:
```php
DB::table('users')->insert([
'name' => 'your_user_name',
'first_name' => 'your_first_name',
'last_name' => 'your_last_name',
'email' => 'your_email@domain.test',
'website' => 'your_website',
'description' => 'your_description',
'password' => Hash::make('your_password'),
'email_verified_at' => now(),
'remember_token' => ''
]);
```
4. Migrate database using artisan `php artisan migrate --seed`.Have fun :)
## Languages
- Two languages are available by default English and Polish.
- If you want to add new language you will make new folder for example de in resources/lang and copy everything from `resources/lang/en` to this folder and create de.json in `/resources/lang` folder. And then translate and add your lang to `available_locales` array in `/config/blog.php`.## Themes
You can use default theme or just add new themes to your blog. Default theme is located in `/resources/sass/default` and `/resources/views/default`. You can add your own theme by set `BLOG_THEME` in .env file and creating folder in sass and views with the same name with your custom data. In views one restriction is to have files with the same names as in "default" views folder.## Register
In config/fortify.php uncomment Features::registration() and then in config/blog.php set allow_register to true.## Libraries
- [Laravel 8.x](https://laravel.com/docs/8.x)
- [Laravel Fortify](https://github.com/laravel/fortify)
- [Laravel-Roles](https://github.com/stanfortonski/Laravel-Roles)
- [Laravel Filemanager](https://github.com/UniSharp/laravel-filemanager)
- [Laravel-Feed](https://github.com/spatie/laravel-feed)
- [CoreUI 3.x](https://coreui.io)
- [TinyMCE](https://tiny.cloud/)
- [Disqus](https://disqus.com)
- [Sass](https://sass-lang.com)
- [Laravel-Debugbar](https://github.com/barryvdh/laravel-debugbar)