Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/esnanta/yii2-news

This is an open-source project aimed at providing a simple, flexible platform for managing news articles and content. The application includes features for managing articles, authors, staff, assets, and layout customization.
https://github.com/esnanta/yii2-news

blog news yii yii2

Last synced: 2 months ago
JSON representation

This is an open-source project aimed at providing a simple, flexible platform for managing news articles and content. The application includes features for managing articles, authors, staff, assets, and layout customization.

Awesome Lists containing this project

README

        


This is an open-source project aimed at providing a simple, flexible platform for managing news articles and content. The application includes features for managing articles, authors, staff, assets, and layout customization.



Features





  • Articles:

    Create, edit, and manage news articles.



  • Authors:

    Assign authors to articles and manage author information



  • Assets:

    Upload and manage documents or images, with the option to set them as public or private.



  • Layout :

    Customize the appearance of the site by uploading logos and banners.



The application provides two layouts:





  • Frontend:

    A public-facing interface for readers to view news articles and other content.



  • Backend:

    A secure admin panel for managing articles, assets, staff, and more.



Getting Started



To get started with the project, please follow the installation instructions below. Contributions, suggestions, and feedback are all welcome. We’re excited to see how the community uses and improves this project!

REQUIREMENT
-------------------
PHP 8.x

Composer 2.x

INSTALLATION
-------------------
composer create-project esnanta/yii2-news

environment:

in command do "php init" and choose development or production.

1. if you choose development, update composer package:

composer update



or 2. production:

composer update --no-dev

DIRECTORY STRUCTURE
-------------------

```
assets
sql/ sql for database
backend
assets/ contains application assets such as JavaScript and CSS
config/ contains backend configurations
controllers/ contains Web controller classes
models/ contains backend-specific model classes
runtime/ contains files generated during runtime
views/ contains view files for the Web application
web/ contains the entry script and Web resources
common
config/ contains shared configurations
config/main.php app and database configuration
mail/ contains view files for e-mails
models/ contains model classes used in both backend and frontend
widgets/ contains app widgets
frontend
assets/ contains application assets such as JavaScript and CSS
config/ contains frontend configurations
controllers/ contains Web controller classes
models/ contains frontend-specific model classes
runtime/ contains files generated during runtime
views/ contains view files for the Web application
web/ contains the entry script and Web resources
vendor/ contains dependent 3rd-party packages
environments/ contains environment-based overrides
```