Package Data | |
---|---|
Maintainer Username: | weotch |
Maintainer Contact: | info@bukwild.com (Robert Reinhard) |
Package Create Date: | 2017-01-03 |
Package Last Update: | 2023-09-05 |
Home Page: | http://docs.decoy.bukwild.com/ |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-29 03:05:23 |
Package Statistics | |
---|---|
Total Downloads: | 3,206 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 304 |
Total Watchers: | 25 |
Total Forks: | 44 |
Total Open Issues: | 22 |
Decoy is a PHP content management written for the Laravel framework that allows you to access your data using standard Laravel Eloquent models.
Since 2012 and Laravel 3, Bukwild has been maintaining our own content management system that we call Decoy. Decoy is meant to reduce the development effort for implementing content management while being highly flexible. And it helps you generate a great looking, easy to use admin interface; no manual required.
The driving philosophy behind Decoy is that a CMS should share models with your public facing app; your app interacts with data stored with Decoy only through standard Laravel models. This approach makes reading controller code simple (Article::ordered()->take(6)->get()
), gives you access to Laravel mutators so you views are human readable ($article->full_date
), and allows you to share business logic between admin and public sites. There is no additional templating or querying language to learn. After the CMS is setup, the developer interacts with the data using purely Laravel APIs.
Besides it’s model-centric paradigm, Decoy includes the following features:
Decoy installs into your app as a composer package and integrates with your project rather than being a standalone install. Decoy shares the Eloquent models of your public site and stores data in regular Laravel migrated tables. Your controllers and views do not need to touch Decoy at all and while your models need to use Decoy’s subclass of Eloquent\Model
, there is very little behavior added at model instantiation. In other words, Decoy adds almost no overhead to your public site.
Implementing Decoy to manage model is done through a common MVC pattern that allows for overriding of default behavior at every step:
Interested in giving Decoy a spin? Check out the quick start guide.