• Stars
    star
    374
  • Rank 114,014 (Top 3 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 11 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Production-grade rapid controller development with built in love for API and Search

Build Status Coverage Status Total Downloads Latest Stable Version

Installation

For CakePHP 4.x compatible version:

composer require friendsofcake/crud

For CakePHP 3.x compatible version:

composer require friendsofcake/crud:^5.0

For CakePHP 2.x compatible version:

composer require friendsofcake/crud:~3.0

Introduction

Crud was built to be scaffolding on steroids, and allow developers to have enough flexibility to use it for both rapid prototyping and production applications, even on the same code base -- saving you time.

  • Crud is very fast to install, a few minutes tops.

  • Crud is very flexible and has tons of configuration options.

  • Crud aims to stay out of your way, and if it happens to get in your way, you can change the undesired behavior very easily.

  • Crud relies heavily on CakePHP events and is possible to override, extend, or disable almost all of Crud's functionality either globally or for one specific action.

  • Usually, the basic code for controller CRUD actions are very simple and always looks the same. Crud will add the actions to your controller so you don't have to reimplement them over and over again.

  • Crud does not have the same limitations as CakePHP's own scaffolding, which is "my way or the highway." Crud allows you to hook into all stages of a request, only building the controller code needed specifically for your business logic, outsourcing all the heavy boilerplating to Crud.

  • Less boilerplate code means less code to maintain, and less code to spend time unit testing.

  • Crud allows you to use your own views, baked or hand-crafted, in addition to adding the code needed to fulfill your application logic, using events. It is by default compatible with CakePHP's baked views.

  • Crud also provides built in features for JSON and XML API for any action you have enabled through Crud, which eliminates maintaining both a HTML frontend and a JSON and/or XML interface for your applications -- saving you tons of time and having a leaner code base.

Bugs

If you happen to stumble upon a bug, please feel free to create a pull request with a fix (optionally with a test), and a description of the bug and how it was resolved.

You can also create an issue with a description to raise awareness of the bug.

Features

If you have a good idea for a Crud feature, please join us on IRC/Slack in the #friendsofcake channel and let's discuss it (this is not a support channel). Pull requests are always more than welcome.

Support / Questions

You can use any of CakePHP's support forums/channels for any support or questions.

More Repositories

1

awesome-cakephp

A curated list of amazingly awesome CakePHP plugins, resources and shiny things.
908
star
2

cakephp-upload

CakePHP: Handle file uploading sans ridiculous automagic
PHP
551
star
3

CakePdf

CakePHP plugin for creating and/or rendering PDFs, supporting several popular PDF engines.
PHP
375
star
4

bootstrap-ui

CakePHP: Transparently use Bootstrap
PHP
338
star
5

cakephp-csvview

CakePHP: A view class for generating CSV
PHP
175
star
6

search

CakePHP: Easy model searching
PHP
170
star
7

vagrant-chef

a vagrant installation with all the necessary chef cookbooks to run a basic cakephp application
HTML
119
star
8

Authenticate

Deprecated CakePHP3: plugin with authentication classes for AuthComponent
PHP
81
star
9

app-template

CakePHP2: An empty application template, for use with composer
PHP
71
star
10

crud-json-api

Build advanced JSON API Servers with almost no code.
PHP
55
star
11

crud-view

CakePHP: Automated admin backend based on your CRUD configuration
PHP
49
star
12

travis

Easy travis setup for CakePHP plugins
Shell
39
star
13

vagrant-ansible

a vagrant installation with all the necessary ansible roles to run a basic cakephp application
39
star
14

Authorize

CakePHP2: Authorize classes for AuthComponent
PHP
23
star
15

fixturize

CakePHP: Improve performance of your fixture based tests on MySQL.
PHP
23
star
16

crud-users

CakePHP: Users plugin based on the CRUD action classes
PHP
17
star
17

cakephp-test-utilities

CakePHP: Plugin with support classes for easing unit testing
PHP
12
star
18

crud-demo-app

Demo app for CRUD, CRUD-View and Search
PHP
9
star
19

FriendsOfCake.github.io

FriendsOfCake.com website
JavaScript
4
star
20

process-mq

CakePHP3: A RabbitMQ connection class and worker shell
PHP
3
star
21

process-manager

CakePHP3: A shell task class to help handling external signals gracefully
PHP
1
star
22

blog

The Awesome FriendsOfCake blog
Python
1
star