| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Example of user management.
git clone https://github.com/nette-examples/user-authentication
cd user-authentication
composer installMake directories data/, temp/ and log/ writable.
By default, SQLite is used as the database which is located in the data/db.sqlite file. If you would like to switch to a different database, configure access in the config/local.neon file:
database:
dsn: 'mysql:host=127.0.0.1;dbname=***'
user: ***
password: ***And then create the users table using SQL statements in the data/mysql.sql file.
The simplest way to get started is to start the built-in PHP server in the root directory of your project:
php -S localhost:8000 www/index.phpThen visit http://localhost:8000 in your browser to see the welcome page.
It requires PHP version 8.1 or newer.
| Back | FazBrowse Home | New Git URL |