Starting a new project with Laravel Framework?

--

Starting a project isn’t that easy and choosing the right framework to use is not that easy to decide. But you are here in the right place. I’ll tell you some secrets about why you should use the Laravel framework for your project.

Laravel is one of the famous PHP frameworks nowadays because it has all you need. It can handle small, medium, and large projects even some of the sites made by Laravel are earning tons of money with huge daily users and visitors.

Here are some examples of the websites that were built from Laravel

https://invoiceninja.com/
https://www.barchart.com/
https://laracasts.com/
https://worldwalking.org/
https://cachethq.io/

Awesome right?

Even in my client and personal projects, I used Laravel and I am very happy and convenient using it and the end result of it.

Laravel has a very large community that supports and maintains it and you can even ask them through Discord and Slack.

Anyway talking is enough, I should at least show you some code on how to quickly start the Laravel setup so that you can start working with your Laravel project.

Go to Laravel main website: https://laravel.com/ let us use the composer install

Your First Laravel Project

Before creating your first Laravel project, you should ensure that your local machine has PHP and Composer installed. If you are developing on macOS, PHP and Composer can be installed via Homebrew. In addition, it’s recommended to install Node and NPM.

After you have installed PHP and Composer, you may create a new Laravel project via the Composer create-project command:

composer create-project laravel/laravel example-app

Or, you may create new Laravel projects by globally installing the Laravel installer via Composer:

composer global require laravel/installer
laravel new example-app

After the project has been created, start Laravel’s local development server using the Laravel Artisan CLI serve command:

cd example-app
php artisan serve

Once you have started the Artisan development server, your application will be accessible in your web browser at http://localhost:8000.

for more info here https://laravel.com/docs/10.x#getting-started-on-windows

Now you should have your Laravel application setup, last thing you need to do now is to set up the database then you should be able to start working on your project just make sure to follow the documentation and check out the basic fundamentals of Laravel frameworks.

  1. Migrations
  2. Routing
  3. Controller
  4. Model
  5. Blade

That’s it for now, please follow me for more content like this.

MORE INFO:

Youtube link for the tutorial:
To be follow

Follow my youtube channel:
https://www.youtube.com/@jesuserwinsuarez65

For enquiries contact me @
mrjesuserwinsuarez@gmail.com

--

--

Jesus Erwin Suarez (Sr. PHP/Laravel Developer)
Jesus Erwin Suarez (Sr. PHP/Laravel Developer)

Written by Jesus Erwin Suarez (Sr. PHP/Laravel Developer)

I am passionate in web development specially in backend development with PHP and Laravel with my 12 years of experience. I am confident to help you.

No responses yet