Getting Started in CakePHP | CakePHP blog

Christian Gonzalez | cakephp.blog
3 min readOct 13, 2020

While learning CakePHP you may find yourself stuck on some problem. Luckily there are plenty of free resources and friendly faces to help you. Below you will find links to all the best resources you can use to get help!

The Official Tutorial, Docs, and API

If you’ve done any work with CakePHP you have probably already encountered these havens of knowledge. There’s a good chance you even cut your teeth on the official tutorial! These free sites provide everything there is to know from CakePHP4 all the way back to version 1.0, and the tutorial provides a clear and comprehensive view of how best to use the framework. The API has all the nitty-gritty details including exact method parameters, return types, and other useful info. If you’re ever stuck on a CakePHP issue this is the first place you should visit.

Example Applications

If you’re ever in need of inspiration, or just curious about the potential power of CakePHP in a real-world application then have a look at some of the examples below.

Passbolt

Passbolt is an open-source web-based password manager built for teams. More importantly for our purposes, it’s built with CakePHP. In the application, you can find examples of:

This is a full application that has a paid version, so if you wanted to see what a full-scale business application written in CakePHP would look like this is it.

Croogo

Croogo is an open-source content management system (CMS) that had it’s most recent release 3 days before this blog was posted. If you want an example of a living open-source project in CakePHP here would be a great place to start.

CakePHP Real World Example

Although lacking in name creativity this Real-World App more than makes up for it in full-featured complexity. This project includes

  • Advanced Patterns
  • Database Seeding
  • API
  • Testing

And much more! You can pull this project directly from GitHub and start tinkering anytime.

Single Page with Vuejs

If you thought CakePHP and Vuejs wouldn’t ever be uttered in the same sentence think again! Although this app Is still in development it shows that Cake can be used with modern SPA frameworks to create modern applications with a solid base.

Direct Questions

Sometimes you may find yourself with a problem that can’t be solved with the handy code snippets on the official documentation. Have no fear, there’s an active community of developers willing to help you out! If you’re lucky you may even get an answer from one of the founders.

StackOverflow

Stack Overflow has been a bastion of programming knowledge for over a decade, so it’s no surprise that there’s an answer to almost any Cake question you could ask! There’s also an opportunity to show off just how much you know about CakePHP yourself by hopping on and tackling some of the unanswered questions.

CakePHP Forum

A lesser-known, CakePHP specific, alternative to StackOverflow is the official CakePHP forum. Here you can find the top talent CakePHP has to offer, and lucky for you they’re offering answers to your burning questions.

IRC Channel and Slack

Did you know that CakePHP has its own IRC channel that you can access from your browser? Get your answer in real-time without all the pesky regulations of StackOverflow! You can also sometimes find the lead CakePHP developers spending some downtime answering questions. CakePHP also has an official Slack channel. If you click on the link in the title you’ll be sent an invite.

What do you think of the resources list I put together? Comment down below if I missed something, or if you just want to say hey!

Don’t forget to subscribe for updates to the blog, thanks!

Originally published at https://cakephp.blog on October 13, 2020.

--

--