Skip to content

code16/sharp

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
February 1, 2023 08:38
August 16, 2022 12:05
March 20, 2023 11:06
March 15, 2023 09:19
src
March 15, 2023 09:20
March 14, 2023 18:39
September 26, 2022 15:59
March 22, 2022 12:37
March 22, 2022 13:45
Doc
November 5, 2021 13:58
August 23, 2017 11:20
July 28, 2022 15:53
November 9, 2021 08:50
March 7, 2023 15:09
September 15, 2020 17:39

Sharp

Sharp is a content management framework, a toolset which provides help to build a CMS section in a website, with some rules in mind:

  • the public website should not have any knowledge of the CMS โ€” the CMS is a part of the system, not the center of it. In fact, removing the CMS should not have any effect on the project.
  • Content administrators should work with their data and terminology, not CMS terms. I mean, if the project is about spaceships, space travels and pilots, why would the CMS talk about articles, categories and tags?
  • Developers should not have to work on the front-end development for the CMS. Because life is complicated enough, Sharp takes care of all the responsive / CSS / JS stuff.
  • The CMS should not have any expectations from the persistence layer: MySQL is cool โ€” but it's not the perfect tool for every problem. And more important, the DB structure has nothing to do with the CMS.

Sharp intends to provide a clean solution to the following needs:

  • create, update or delete any structured data of the project, handling validation and errors;
  • display, search, sort or filter data;
  • execute custom commands on one instance, a selection or all instances;
  • handle authorizations and validation;
  • all without write a line of front code, and using a clean API in the PHP app.

Sharp needs Laravel 8+ and PHP 8.0+.

Documentation ๐Ÿ“–

The full documentation is available here: sharp.code16.fr/docs.

Online example ๐Ÿ–ฅ๏ธ

A Sharp instance for a demo project is online here: sharp.code16.fr/sharp/.

Data of this demo is reset each hour.

Additional resources ๐Ÿ–Š๏ธ

See Code 16's blog, and start with this introduction post: Leveraging Sharp, an open source content management framework, in a Laravel project.