How to Connect to MySQL database in Slim framework 4

Defining MySQL database connection in the Slim 4 framework is pretty simple. In this slim framework 4 tutorial, we gonna create a project with Slim-Skeleton. If you are looking for Slim Framework 3, follow the link How […]

How to deploy slim framework on CPanel

In this post, I would like to show you deploying your slim framework project to CPanel (without SSH access). In general, for CPanel, the web root directory will be  public_html directory.  Slim3 Framework Authorization […]

How to enable CORS in Slim3 framework

In this post, you will learn about Cross-Origin Resource Sharing. Http requests are restricted by the same-origin policy, which means where scripts can be loaded from the same Origin. Specifically, the protocol, domain, […]

How to Use Eloquent in Slim Framework

The Eloquent ORM makes it incredibly easy to interact with a database. Today we’ll look at how we can use Eloquent to interact with our database inside your Slim Framework. The Eloquent ORM provides an ActiveRecord […]

Slim3 Routes

The router component allows you to define routes that are mapped to callback handlers that should receive the request. The Slim Framework’s router is built on top of the nikic/fastroute component, and it is remarkably […]

How to install Slim Framework 3

Slim is a PHP micro framework that helps you write simple web applications and APIs quickly. It comes with a sophisticated URL dispatcher and middleware architecture that makes it ideal for static websites or API prototyping. […] Protection Status