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 […]

How to configure/load database in Slim Framework 3

Slim is a full-featured, open-source PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. It comes with a sophisticated URL dispatcher and middleware architecture that makes it […]

Slim framework 3 – Route Groups

Slim lets you group related routes. Route groups allow you to share route attributes, such as middleware or URL segments across a large number of routes without needing to define those attributes on each individual route. […] Protection Status