Laravel Text
Laravel Text
A
web framework provides a structure and starting point for creating your
application, allowing you to focus on creating something amazing while we
sweat the details.
Whether you are new to PHP web frameworks or have years of experience,
Laravel is a framework that can grow with you. We'll help you take your first
steps as a web developer or give you a boost as you take your expertise to
the next level. We can't wait to see what you build.
Or, you may create new Laravel projects by globally installing the Laravel
installer via Composer:
After the project has been created, start Laravel's local development server
using the Laravel's Artisan CLI serve command:
cd example-app
Once you have started the Artisan development server, your application will
be accessible in your web browser at http://localhost:8000. Next, you're
ready to start taking your next steps into the Laravel ecosystem. Of course,
you may also want to configure a database.
Laravel & Docker
We want it to be as easy as possible to get started with Laravel regardless of
your preferred operating system. So, there are a variety of options for
developing and running a Laravel project on your local machine. While you
may wish to explore these options at a later time, Laravel provides Sail, a
built-in solution for running your Laravel project using Docker.
Of course, you can change "example-app" in this URL to anything you like -
just make sure the application name only contains alpha-numeric characters,
dashes, and underscores. The Laravel application's directory will be created
within the directory you execute the command from.
Sail installation may take several minutes while Sail's application containers
are built on your local machine.
After the project has been created, you can navigate to the application
directory and start Laravel Sail. Laravel Sail provides a simple command-line
interface for interacting with Laravel's default Docker configuration:
cd example-app
./vendor/bin/sail up
Once the application's Docker containers have been started, you can access
the application in your web browser at: http://localhost.