:star2: PJ Blog is an open source blog built with Laravel and Vue.js.

Overview

Powered By Jiajian Chan

🎈 PJ Blog is an open source blog built with Laravel and Vue.js. https://pigjian.com

Special thanks to the generous sponsorship by:

PJ Blog

This is a powerful blog, I try to build the blog more beautiful, more convenient.

Laravel 5.* and Vuejs 2.* combined with the establishment of a good response and quickly dashboard, the dashboard made through the Vuejs component development.

I believe it will be better and better. If you are interested in this, you can join and enjoy it.

Here is documents

Example

Basic Features

  • Manage users, articles, discussions and media
  • Statistical tables
  • Categorize articles
  • Label classification
  • Content moderation
  • Own comments system
  • Multi-language switching
  • Markdown Editor
  • Roles & Permissions
  • and more...

PJ Blog Laravel 7.*

Server Requirements

  • PHP >= 7.2.5
  • Node >= 6.x
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

Preview

New Blog

New Blog

Install

1. Clone the source code or create new project.

git clone https://github.com/jcc/blog.git

OR

composer create-project jcc/blog

2. Set the basic config

cp .env.example .env

Edit the .env file and set the database and other config for the system after you copy the .env.example file.

2. Install the extended package dependency.

Install the Laravel extended repositories:

composer install -vvv

Install the Vuejs extended repositories:

npm install

Compile the js code:

npm run dev

// OR

npm run watch

// OR

npm run production

3. Run the blog install command, the command will run the migrate command and generate test data.

php artisan blog:install

Contributors

Thanks

Donate

Support all ERC20 tokens. My Address: 0x600dfF1311E5DA3a8697fD86d4Fd9bed257395eb

License

The project is open-sourced software licensed under the MIT license.

QQ Group: 272734386

Comments
  • Upload Avatar Fail (Image source not readable)

    Upload Avatar Fail (Image source not readable)

    When I try to upload my avatar(.jpg), I get Failed to load resource: the server responded with a status of 404 (Not Found)

    After Click "确 定" button, I check the F12 on chrome, 500 error,
    Uncaught (in promise) Error: Request failed with status code 500 (Image source not readable) avatar1 avatar2

    opened by shern91 23
  • Vote system needs a helper HasVotedType

    Vote system needs a helper HasVotedType

    Right now, you can only know if user has voted by is_voted, in the comment.vue

    Need also something like is_voted_type to know what kind of vote was that, Down or Up.

    enhancement 
    opened by Habilya 12
  • Question about cleaning inputs

    Question about cleaning inputs

    HI, firstly I want to congrat for great work.

    About cleaning input (on markdown editor), wath your have implemented on this blog?.

    Thanks for your answer.

    bug 
    opened by j574144 10
  • creating article issue

    creating article issue

    I have an issue with creating an article update, every time I try to create an article it doesn't get created or posted and i get this using the latest code updates.

    article

    opened by m2ura 9
  • Adding new article not working?

    Adding new article not working?

    I try to add a new article but nothing happen the database is empty and the list of article also showing nothing.. U guess something related to the post method in the Form Article

    ` onSubmit() { if (!this.tags || !this.selected) { toastr.error('Category and Tag must select one or more.') return; }

            let tagIDs = []
            let url = 'article/' + (this.article.id || '')
            let method = (this.mode == 'update') ? 'patch' : 'post'
    
            for(var i = 0 ; i < this.tags.length ; i++) {
                tagIDs[i] = this.tags[i].id
            }
    
            this.article.published_at = this.startTime.time
            this.article.content = this.simplemde.value()
            this.article.category_id = this.selected.id
            this.article.tags = JSON.stringify(tagIDs)
    
            this.$http[method](url, this.article)
                    .then((response) => {
                        toastr.success('You ' + this.mode + 'd the article success!')
    
                        this.$router.push('/dashboard/articles')
                    }).catch(({response}) => {
                        stack_error(response.data)
                    })
        },
    

    `

    thanks

    I use windows 10 + local Xampp server.

    bug 
    opened by ziymed 9
  • Image

    Image

    Need your help... am I missing something on AvatarUpload.js? because when I click on okay button nothing really happens. When i set crop = false then try to upload avatar it just send the avatar into the storage and not the database. I used your latest release v1.1.6

    screenshot from 2017-03-03 00-19-30 screenshot from 2017-03-03 01-02-22

    opened by m2ura 9
  • editing the discussion item return an error

    editing the discussion item return an error

    hi hope you doing well,

    I try to edit a discussion and I get this error :

    Argument 1 passed to App\Repositories\DiscussionRepository::update() must be an instance of App\Repositories\int, string given, called in C:\xampp\htdocs\blog\app\Http\Controllers\DiscussionController.php on line 121 and defined

    both side from dashboard and also from the homepage...

    the discussionRepository code :

        /**
         * Update a record by id.
         * 
         * @param  int $id
         * @param  array $data
         * @return boolean
         */
        public function update($id, $data)
        {
            $this->model = $this->checkAuthScope();
    
            $discussion = $this->model->findOrFail($id);
    
            if (is_array($data['tags'])) {
                $this->syncTag($discussion, $data['tags']);
            } else {
                $this->syncTag($discussion, json_decode($data['tags']));
            }
    
            return $discussion->update($data);
        }
    
    opened by ziymed 8
  • Cant find where to create posts

    Cant find where to create posts

    I made an admin account but in my dashboard, I cant click Users, Articles, Views, Comments... they are all unclickable. If i try to go to /dashboard/articles while logged in as an admin, I get a notification saying I dont have the right permissions.. Where do I go to create posts? I attached a screenshot of what I see when I open dashboard error

    opened by jackpeters667 6
  • Discussion form doesn't sent recaptcha response

    Discussion form doesn't sent recaptcha response

    The response coming in doesn't contain the recaptcha response. Are the values (i.e. title, tags, content) register some where? How do I add more like the recaptcha response?

    opened by ABilenduke 6
  • php artisan route:list gives error

    php artisan route:list gives error

    First of all congratulations on making such an amazing blog.

    i am trying to locate the link to create new article by using the php artisan route:list command. but i get the error below: [ErrorException] You must set the encryption key going forward to improve the security of this library - see this page for more information https://oauth2.thephpleague.com/v5-security-improvements/

    so please what's the link to create articles in localhost. I am signed in as admin

    opened by UmarAbdullahi 6
  • webpack.mix.js问题

    webpack.mix.js问题

    在线等,望指教

    在 根目录的webpack.mix.js文件中 mix.js('resources/assets/js/app.js', 'public/js') .sass('resources/assets/sass/app.scss', 'public/css') .js('resources/assets/js/home.js', 'public/js') .sass('resources/assets/sass/home.scss', 'public/css') .version();

    • 其中的 .version() 能不能删除?
    • 若可以删除,对项目有何影响?若不能删除,但我偏要删除,会不会有影响? (我要删除的原因:npm run watch不能热加载,每次写完组件只能run dev 或run prod,很慢很麻烦,已尝试过各种办法,只有删除 .version() 可用)
    opened by luoxulx 5
  • Bump json5 from 1.0.1 to 1.0.2

    Bump json5 from 1.0.1 to 1.0.2

    Bumps json5 from 1.0.1 to 1.0.2.

    Release notes

    Sourced from json5's releases.

    v1.0.2

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295). This has been backported to v1. (#298)
    Changelog

    Sourced from json5's changelog.

    Unreleased [code, diff]

    v2.2.3 [code, diff]

    v2.2.2 [code, diff]

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295).

    v2.2.1 [code, diff]

    • Fix: Removed dependence on minimist to patch CVE-2021-44906. (#266)

    v2.2.0 [code, diff]

    • New: Accurate and documented TypeScript declarations are now included. There is no need to install @types/json5. (#236, #244)

    v2.1.3 [code, diff]

    • Fix: An out of memory bug when parsing numbers has been fixed. (#228, #229)

    v2.1.2 [code, diff]

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 0
  • Bump express from 4.17.1 to 4.18.2

    Bump express from 4.17.1 to 4.18.2

    Bumps express from 4.17.1 to 4.18.2.

    Release notes

    Sourced from express's releases.

    4.18.2

    4.18.1

    • Fix hanging on large stack of sync routes

    4.18.0

    ... (truncated)

    Changelog

    Sourced from express's changelog.

    4.18.2 / 2022-10-08

    4.18.1 / 2022-04-29

    • Fix hanging on large stack of sync routes

    4.18.0 / 2022-04-25

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 0
  • Bump decode-uri-component from 0.2.0 to 0.2.2

    Bump decode-uri-component from 0.2.0 to 0.2.2

    Bumps decode-uri-component from 0.2.0 to 0.2.2.

    Release notes

    Sourced from decode-uri-component's releases.

    v0.2.2

    • Prevent overwriting previously decoded tokens 980e0bf

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2

    v0.2.1

    • Switch to GitHub workflows 76abc93
    • Fix issue where decode throws - fixes #6 746ca5d
    • Update license (#1) 486d7e2
    • Tidelift tasks a650457
    • Meta tweaks 66e1c28

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 0
  • Bump laminas/laminas-diactoros from 2.3.0 to 2.13.0

    Bump laminas/laminas-diactoros from 2.3.0 to 2.13.0

    Bumps laminas/laminas-diactoros from 2.3.0 to 2.13.0.

    Release notes

    Sourced from laminas/laminas-diactoros's releases.

    2.13.0

    Release Notes for 2.13.0

    Feature release (minor)

    2.13.0

    • Total issues resolved: 0
    • Total pull requests resolved: 4
    • Total contributors: 3

    Enhancement

    renovate

    2.12.0

    Release Notes for 2.12.0

    Feature release (minor)

    2.12.0

    • Total issues resolved: 0
    • Total pull requests resolved: 5
    • Total contributors: 4

    Bug

    Enhancement

    Documentation,Enhancement

    2.11.3

    Release Notes for 2.11.3

    2.11.x bugfix release (patch)

    ... (truncated)

    Commits
    • 34ba650 Merge pull request #106 from Ocramius/feature/laminas-coding-standard-2.3.x-t...
    • 7880719 Improved type signature for parse_cookie_header() return type
    • 2539f32 Refined types as per laminas/laminas-coding-standard:2.3.x upgrades
    • 739ad4d Merge pull request #103 from gsteel/update-laminas-coding-standard
    • 98f1d99 Change set/restore error handler to a try/catch block
    • 091cd93 Bump PHPUnit to ^9.5
    • 4f7b49b Removes the GMP case from the data provider
    • defeaf5 Bump interop integration tests to fix test failures on lowest
    • 1341d78 Baseline newly discovered psalm issues in src/
    • cd02372 qa: apply CS fixes
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies php 
    opened by dependabot[bot] 0
  • Admin dashboard not working

    Admin dashboard not working

    app.js:399 GET http://localhost:8005/api/article?keyword=&page=1 401 (Unauthorized)

    i have tried php artisan passport:instal and more guides online but no luck please help

    opened by bwanakweli4ever 2
Releases(v1.5.3)
Owner
Jiajian Chan
⛵️ Nothing is impossible.
Jiajian Chan
A simple SPA blog applications built with Laravel 8, Vue 3 and Inertia JS.

TechPost - SPA Blog A single page blog application, built with Laravel 8, Vue 3 and Inertia JS TechPost is a minimalistic single page blog application

FariazKhan 5 Jul 23, 2022
Scriptlog is a free and an open source PHP blog software.

Scriptlog is a free and an open source PHP blog software. We're refactoring our legacy weblog code. Making it more simple, secure, modular, fast and robust personal blogging system. Scriptlog runs on PHP 5.6 or higher and uses MySQL.

M.Noermoehammad 7 Sep 12, 2022
HTMLy is an open source Databaseless Blogging Platform or Flat-File Blog prioritizes simplicity and speed written in PHP

HTMLy is an open source Databaseless Blogging Platform or Flat-File Blog prioritizes simplicity and speed written in PHP. HTMLy can be referred to as Flat-File CMS either since it will also manage your content.

Dan 858 Jan 6, 2023
Gitamin is an open source git repository management software built with the Laravel PHP Framework.

Gitamin(pronounced /ˈgɪtəmɪn/, inspired by Vitamin) is an open source git repository management software built with the Laravel PHP Framework.

Gitamin 347 Sep 20, 2022
Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. /// Chat with us and others on Spectrum: https://spectrum.chat/twill

About Twill Twill is an open source Laravel package that helps developers rapidly create a custom CMS that is beautiful, powerful, and flexible. By st

AREA 17 3k Jan 6, 2023
Manage your photos with Piwigo, a full featured open source photo gallery application for the web. Star us on Github! More than 200 plugins and themes available. Join us and contribute!

Manage your photo library. Piwigo is open source photo gallery software for the web. Designed for organisations, teams and individuals. The piwigo.org

Piwigo 2.3k Jan 1, 2023
Amila Laravel CMS - Free, open-source Simple Bootstrap Laravel CMS

Simple Bootstrap Laravel CMS. Support Laravel 8.x Can integrate into any existing Laravel project. Only add few database tables with prefixes, not affect your existing database tables. Support Laravel 7.x & Laravel 6.x & Laravel 5.x & MySql & PostgreSql - Amila Laravel CMS

Alex Zeng 96 Sep 6, 2022
Question2Answer is a free and open source platform for Q&A sites, running on PHP/MySQL.

Question2Answer (Q2A) is a popular free open source Q&A platform for PHP/MySQL, used by over 22,000 sites in 40 languages.

Question2Answer 1.6k Jan 5, 2023
Bolt CMS is an open source, adaptable platform for building and running modern websites.

Bolt CMS is an open source, adaptable platform for building and running modern websites. Built on PHP, Symfony and more. Read the site for more info.

Bolt 437 Jan 4, 2023
Flextype is an open-source Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS

Flextype is an open-source Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS. Building this Content Management System, we focused on simplicity. To achieve this, we implemented a simple but powerful API's.

Flextype 524 Dec 30, 2022
NukeViet 132 Nov 27, 2022
ExpressionEngine is a flexible, feature-rich, free open-source content management platform that empowers hundreds of thousands of individuals and organizations around the world to easily manage their web site.

ExpressionEngine CMS ExpressionEngine is a mature, flexible, secure, free open-source content management system. It is beloved by designers for giving

ExpressionEngine 412 Dec 27, 2022
BaiCloud-cms is a powerful open source CMS that allows you to create professional websites and scalable web applications. Visit the project website for more information.

BaiCloud-cms About BaiCloud-cms is a powerful open source CMS that allows you to create professional websites and scalable web applications. Visit the

null 5 Aug 15, 2022
🚀Bolt CMS is an open source, adaptable platform for building and running modern websites

??Bolt CMS is an open source, adaptable platform for building and running modern websites

Bolt 32 Dec 3, 2022
ProcessWire 3.x is a friendly and powerful open source CMS with a strong API.

Welcome to ProcessWire 3.x This document is in Markdown. An HTML formatted version of this document can be read at: https://github.com/processwire/pro

ProcessWire 804 Jan 3, 2023
Borgert is a CMS Open Source created with Laravel Framework 5.6

A simple CMS to start projects in Laravel containing some modules. Blog, Pages, Products, Mailbox, Image Gallery, Log Viewer and Users. Frontend: Blog

Borgert Inc. 300 Dec 30, 2022
The modular open source laravel administration panel

Laralum What is Laralum? Laralum is an idea that came to our mind when we found no CMS that had the right balance between power and flexibility. This

Laralum 297 Nov 10, 2022
Free, open-source, self-hosted CMS platform based on the Laravel PHP Framework.

Winter is a Content Management System (CMS) and web platform whose sole purpose is to make your development workflow simple again. It was born out of

Winter CMS 1.1k Jan 3, 2023
BlizzCMS an Open-Source CMS

BlizzCMS Plus BlizzCMS Plus is a restructured and improved version of BlizzCMS v1. The development of this version is made constantly by the developer

WoW-CMS 58 Dec 31, 2022