Overview
Sharp is a content management framework that aims to provide a clean and efficient solution for building a CMS section within a website. It is designed with the following principles in mind: the CMS should be seamlessly integrated into the system without affecting the public website, content administrators should work with their own data and terminology instead of CMS terms, developers should not have to deal with front-end development for the CMS, and the CMS should be independent of the persistence layer.
Features
- Seamless Integration: Sharp ensures that the CMS is a part of the system and does not impact the public website.
- Custom Terminology: Content administrators can work with their own data and terminology relevant to the project.
- Front-end Development Automation: Sharp handles all responsive/CSS/JS aspects of front-end development for the CMS.
- Database Agnostic: The CMS does not rely on a specific database structure and can work with various persistence layers.
- Data Management: Sharp allows for creating, updating, and deleting structured data with built-in validation and error handling.
- Data Presentation: It enables the display, search, sorting, and filtering of data from the CMS.
- Custom Commands: Sharp supports the execution of custom commands on individual instances or selections of data.
- Authorization and Validation: It provides functionality for handling authorizations and validation.
Installation
To install Sharp, follow these steps:
Ensure you have Laravel version 8 or higher and PHP version 8.0 or higher installed.
Run the following command to install Sharp:
composer require code16/sharp
Publish the Sharp assets:
php artisan sharp:install
Customize the configuration file located at
config/sharp.php
according to your requirements.
For more detailed installation instructions and examples, refer to the full documentation.
Summary
Sharp is a content management framework that provides developers with a clean and efficient solution for integrating a CMS section into a website. With its focus on seamless integration, custom terminology, front-end automation, and database independence, Sharp offers a robust set of features for managing and presenting structured data. By leveraging Laravel and PHP, Sharp allows developers to build powerful CMS functionalities without the need to write extensive front-end code. For more information and examples, consult the official documentation.