MyGit

symfony/demo

Fork: 1611 Star: 2489 (更新于 2024-12-10 13:50:59)

license: MIT

Language: PHP .

Symfony Demo Application

最后发布版本: v2.6.0 ( 2024-06-14 18:08:13)

官方网址 GitHub网址

Symfony Demo Application

The "Symfony Demo Application" is a reference application created to show how to develop applications following the Symfony Best Practices.

You can also learn about these practices in the official Symfony Book.

Requirements

Installation

There are 3 different ways of installing this project depending on your needs:

Option 1. Download Symfony CLI and use the symfony binary installed on your computer to run this command:

symfony new --demo my_project

Option 2. Download Composer and use the composer binary installed on your computer to run these commands:

# you can create a new project based on the Symfony Demo project...
composer create-project symfony/symfony-demo my_project

# ...or you can clone the code repository and install its dependencies
git clone https://github.com/symfony/demo.git my_project
cd my_project/
composer install

Option 3. Click the following button to deploy this project on Platform.sh, the official Symfony PaaS, so you can try it without installing anything locally:

Deploy on Platform.sh

Usage

There's no need to configure anything before running the application. There are 2 different ways of running this application depending on your needs:

Option 1. Download Symfony CLI and run this command:

cd my_project/
symfony serve

Then access the application in your browser at the given URL (https://localhost:8000 by default).

Option 2. Use a web server like Nginx or Apache to run the application (read the documentation about configuring a web server for Symfony).

On your local machine, you can run this command to use the built-in PHP web server:

cd my_project/
php -S localhost:8000 -t public/

Tests

Execute this command to run tests:

cd my_project/
./bin/phpunit

最近版本更新:(数据更新于 2024-10-08 09:02:08)

2024-06-14 18:08:13 v2.6.0

2024-02-16 18:57:48 v2.5.1

2023-12-20 19:47:46 v2.5.0

2023-11-30 20:43:01 v2.4.0

2023-07-21 21:42:57 v2.3.0

2023-03-08 19:03:34 v2.2.3

2023-02-14 16:50:30 v2.2.2

2022-12-22 16:31:13 v2.2.1

2022-12-02 17:16:49 v2.2.0

2022-10-28 16:23:49 v2.1.2

主题(topics):

demo, php, symfony, symfony-application

symfony/demo同语言 PHP最近更新仓库

2024-12-13 19:38:03 coollabsio/coolify

2024-12-13 09:22:46 w7corp/easywechat

2024-12-11 20:15:22 symfony/symfony

2024-11-29 16:49:37 symfony/var-dumper

2024-11-20 23:58:25 laravel/framework

2024-11-20 18:39:23 danielmiessler/SecLists