laravel/framework
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
brick/math | 0.11.0 | 36.4 kB | MIT | prod | |
doctrine/inflector | 2.0.8 | 33.23 kB | MIT | prod | |
dragonmantank/cron-expression | v3.3.3 | 22.83 kB | MIT | prod | |
egulias/email-validator | 4.0.2 | 55.6 kB | MIT | prod dev | |
fruitcake/php-cors | v1.3.0 | 6.44 kB | MIT | prod | |
guzzlehttp/uri-template | v1.0.2 | 6.04 kB | MIT | prod | |
laravel/prompts | v0.1.13 | - | MIT | prod | |
laravel/serializable-closure | v1.3.3 | - | MIT | prod | |
league/commonmark | 2.4.1 | 302.3 kB | BSD-3-Clause | prod | 2 |
league/flysystem | 3.21.0 | - | MIT | prod | |
monolog/monolog | 3.5.0 | 886.37 kB | MIT | prod | |
nesbot/carbon | 2.71.0 | 769.03 kB | MIT | prod dev | |
nunomaduro/termwind | v1.15.1 | 37.34 kB | MIT | prod | |
psr/container | 2.0.2 | 3.55 kB | MIT | prod dev | |
psr/log | 3.0.0 | 6.77 kB | MIT | prod dev | |
psr/simple-cache | 3.0.0 | 4.48 kB | MIT | prod | |
ramsey/uuid | 4.7.5 | 126.99 kB | MIT | prod | |
symfony/console | v6.4.1 | - | MIT | prod dev | |
symfony/error-handler | v6.4.0 | - | MIT | prod dev | |
symfony/finder | v6.4.0 | - | MIT | prod dev | |
symfony/http-foundation | v6.4.0 | - | MIT | prod dev | |
symfony/http-kernel | v6.4.1 | - | MIT | prod dev | |
symfony/mailer | v6.4.0 | 59.25 kB | MIT | prod dev | |
symfony/mime | v6.4.0 | - | MIT | prod dev | |
symfony/process | v6.4.0 | - | MIT | prod dev | |
symfony/routing | v6.4.1 | - | MIT | prod dev | |
symfony/uid | v6.4.0 | - | MIT | prod dev | |
symfony/var-dumper | v6.4.0 | - | MIT | prod dev | |
tijsverkoyen/css-to-inline-styles | 2.2.6 | 9.6 kB | BSD-3-Clause | prod | |
vlucas/phpdotenv | v5.6.0 | - | BSD-3-Clause | prod | |
voku/portable-ascii | 2.0.1 | 161.69 kB | MIT | prod |
The Laravel Framework is an open-source PHP web framework designed to expedite and simplify the process of web development with its expressive and elegant syntax. It seeks to make development more pleasurable and creative by easing routine tasks used in most web projects. Features include a simple, fast routing engine, a powerful dependency injection container, multiple back-ends for session and cache storage, database agnostic schema migrations, robust background job processing, and real-time event broadcasting. Laravel is both accessible and capable, providing all the tools needed to create robust applications of any scale.
To get started with Laravel, you'll need to install it first. If you already have Composer installed, it's as simple as running the command:
composer require laravel/framework
This command installs Laravel's core framework, after which you can begin building your Laravel application. Here's a simple example of how you might define a route that redirects users to a welcome view page in Laravel:
Route::get('/', function () {
return view('welcome');
});
And here's how you might create a controller that fetches user data from your database and passes it to a view:
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
class UserController extends Controller
{
public function index()
{
$users = User::all();
return view('user.index', ['users' => $users]);
}
}
In the example above, we are creating a new instance of UserController class, declaring an index() method, fetching all the users from User model, and passing this data to a view named 'user.index'.
The full documentation for the Laravel Framework is hosted on Laravel's official website, and can be found at the following URL: https://laravel.com/docs. The documentation is comprehensive and well-maintained, making it easy for both beginners and advanced users to learn Laravel's capabilities. For those who prefer more interactive learning, Laravel also offers Laravel Bootcamp and Laracasts, a library with over 1100 video tutorials covering topics related to Laravel, modern PHP, unit testing, JavaScript, and more.