In Slim 4, you can download a file from the server by utilizing the Response object and setting the appropriate headers. Here’s an example of…
Leave a CommentCategory: Slim Framework
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.…
13 CommentsIn this post, I would like to show you deploying your slim framework project to CPanel (without SSH access). In general, for CPanel, the web…
Leave a CommentIn this post, I will show how you can secure your Slim3 Framework-based applications using JSON Web Token (JWT). To know more about JWT and…
91 CommentsIn 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…
2 CommentsSlim 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…
7 CommentsThe 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…
2 CommentsIn the earlier post, I wrote a tutorial on how to connect to the database in a slim framework. In this post, I would like…
3 CommentsSlim 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…
90 CommentsThe 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…
Leave a CommentSlim is a PHP micro framework that helps you write simple web applications and APIs quickly. It comes with a sophisticated URL dispatcher and middleware…
1 CommentSlim 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…
8 CommentsSlim lets you group related routes. Route groups allow you to share route attributes, such as middleware or URL segments across a large number of…
Leave a Comment