Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

amita's avatar
Level 1

Porting a non-framework PHP project to Laravel 5.5

As Laravel has many features and Laravel presents a strong set of tools and an application architecture, we wish to upgrade our existing project into Laravel. What would be the best approach and steps to achieve.

0 likes
2 replies
Sergiu17's avatar

Usually you write down the architecture of the website, let's say its a blog website, the most important thing for the blog is to add/create/view posts, so first steps

  1. Create migration for posts table
  2. Create Model, Controller, Views
  3. Create Routes
  4. Show all posts, create, edit and so on.

Next, let's create tags

  1. Create migration for tags table
  2. Create Model, Controller, View
  3. Add relationships to Post and Tag Model 4 Create Routes
  4. Implement functionality to add, remove, create tags.

and so on, depends on the project you have

jlrdw's avatar

All you need is the code (to start with) that retrieves the db results in the controller, and display results in view, every bit of 5 minutes.

Meanwhile have another controller, model, where you work on new code.

Of course have login, validation, or at least strip tags while you gear up new project.

Please or to participate in this conversation.