Skip to content

Adnan0703/Xeta

 
 

Repository files navigation

Cake3 Blog Resource

Build Status Coverage Status Scrutinizer Latest Stable Version Total Downloads License

Cake3 Blog Resource, is a resource to help people starting with Cake3.

Actually, I have developed this blog to try Cake3 and for my needs (personal blog), and I have decided to release it to help people with Cake3, so there is probably some custom configurations/functions that only fit my needs.

It is not recommended to do a website with Cake3 until the first stable Cake3 version will be released.

Demo

http://xeta.io

Screenshots of the Administration Panel

Dashboard

Dashboard Dashboard

Articles Management

Articles Management Articles Management

Categories Management

Categories Management

Install

If you need to install to try a function or any other things, just follow the steps bellow.

Requirements

  • 📦 Composer
  • 📦 All requirements for CakePHP : list here
  • 📦 PHP cURL extension (Needed only if you want to use the Google Analytics system in Dashboard)
  • 📦 Supported DBMS : MySQL & SQLite

Steps to install :

  • Setup a new database on your server
  • Run :
composer create-project --dev xety/xeta <application_name>
  • Import the file config/Schema/xeta.sql in your database.
  • Congratulations ! The application is ready to use. 👍
Install Google Analytics system in Dashboard

If you want to install the Google Analytics (not required), please follow the tutorial in the wiki : https://github.com/Xety/Xeta/wiki

Pre-installed Accounts

  • Admin account
    • User : Admin | Pass : administrator
  • Member account
    • User : Test | Pass : testaccount

Features

Since I have decided to release it, I'm trying to use the maximum of Cake3's features :

Behaviors

  • Timestamp
    • Used to allow Cake to modify the fields created and modified automatically
  • CounterCache
    • To build counter automatically
      • Comments count
      • Likes count
  • Custom Behavior :
    • UploadBehavior (Migrated into a plugin : Cake3-Upload)
      • To upload safely an avatar for user
    • Sluggable Behavior (Migrated into a plugin : Cake3-Sluggable)
      • Used to build slug when creating an user and creating an article

Components

  • Pagination
    • To build custom pagination request for the list of articles, users etc
  • Sessions
    • To store user's information
  • Authentication
    • For login/logout an user
    • To authorize an user to access in the Administration Panel
  • Flash
    • With custom message : Error, Success, Info, Primary
  • Cross Site Request Forgery (CSRF)
    • To provide the max security
  • Request Handling
    • To render json views (Used with AJAX request/response)

Helpers

  • Url
    • To build URLs for AJAX request. (Like system)
  • Form
  • Html
  • Number
    • To build beautiful number for comments/likes count.
  • Paginator
    • To build beautiful pagination
  • Session
    • To access to the user Session information
  • Flash
    • To render some flash message
  • Text
    • To truncate some text
  • Time
  • To build a new date time when an user try to login

Utilities

  • Email
    • In the Contact page
  • Folder & File
    • With the UploadBehavior
  • Inflector
    • With the SluggableBehavior
  • Internationalization & Localization
  • Router
    • To build custom routes names
    • Prefix (admin)
  • Cache
    • To cache all Google Analytics requests in the Administration Panel

General

  • Validation & Validator
    • Custom Validator
      • UploadValidator
      • PurifierValidator
      • Validator for the Contact Page (With an ArrayContext)
  • View Cell
    • Blog sidebar
  • Events System
    • Badge system
      • Badge on comment
      • Badge for register date
  • Authenticate

Information

If you want to contribute to the project by adding new features or just fix a bug, feel free to do a PR.

Contribute

Follow this guide to contribute

Special Thanks

About

A resource to help people starting with Cake3.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 50.6%
  • JavaScript 26.9%
  • HTML 20.7%
  • CSS 1.5%
  • Shell 0.2%
  • Batchfile 0.1%