https://github.com/prod3v3loper/five
Symfony5
https://github.com/prod3v3loper/five
babel bootstrap composer framework jquery login-system npm php-framework symfony symfony5 typescript webpack
Last synced: 6 days ago
JSON representation
Symfony5
- Host: GitHub
- URL: https://github.com/prod3v3loper/five
- Owner: prod3v3loper
- License: gpl-3.0
- Created: 2021-06-21T14:19:39.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-18T23:19:30.000Z (over 4 years ago)
- Last Synced: 2025-05-15T00:23:46.487Z (11 months ago)
- Topics: babel, bootstrap, composer, framework, jquery, login-system, npm, php-framework, symfony, symfony5, typescript, webpack
- Language: PHP
- Homepage:
- Size: 84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# five
Symfony 5
- Login / Logout (Dashboard)
- Example hook
### Symfony / Composer / NPM
- Webpack, Babel, Typescript, Sass...
- Bootstrap
**Create a .env.local file like your local development**
- Database
- Mailer
...
Clone the project to download its contents in your project folder:
```
cd projects/
git clone https://github.com/prod3v3loper/five.git
```
Now make composer and npm install the project's dependencies into vendor/ and node_modules/
```
composer install
npm install
```
Create database and tables
```
php bin/console doctrine:database:create
php bin/console make:migration
php bin/console doctrine:migrations:migrate
```
Set a Admin in src/DataFixtures UserFixtures.php and fire this in console
```bash
php bin/console doctrine:fixtures:load
```
```php
public function load(ObjectManager $manager) {
$user = new User();
$user->setUsername('yourusername');
$user->setEmail('your@email');
$user->setPassword($this->encoder->encodePassword($user, 'yourpassword'));
$manager->persist($user);
$manager->flush();
}
```
Register function comes later...
To run build develop enter:
```
npm run dev
```
To run build production enter:
```
npm run build
```
To run symfony server:
```
symfony server:start
```