0

I have a database we use on some of our existing websites, sites were built in Yii framework by another developer so no Laravel, I have set up a new project using laravel but am looking for the best way to link up to that database and return the information.

linking to the database is easy enough, just change the database.php file but I am getting really confused with migrations part and how to call it into a webpage.

So what's the simplest way to go about doing this?

1 Answer 1

1

Migrations are used to create or modify database structure. Since you already have a database set up, you don't need to use migrations.

To get accustomed with Laravel I strongly suggest watching:

Laracasts - Laravel 5 Fundamentals

I also suggest you go over the entire Laravel Documentation just to get acquainted with all the framework has to offer.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.