Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement "Symfony stuff" #139

Open
roberto-butti opened this issue May 20, 2022 · 4 comments
Open

Implement "Symfony stuff" #139

roberto-butti opened this issue May 20, 2022 · 4 comments
Labels
Feature Request This is a feature request, probably we need to re-elaborate it and then create more specific issue

Comments

@roberto-butti
Copy link
Contributor

As discussed briefly with my friend @AlessandroMinoccheri at PHPDay2022 event, it would be nice to add "Symfony staff". Something like "Laravel Stuff".
This is just a placeholder as a reminder.
For now, I'm going to start investigate which steps are needed and are specific for a Symfony application.

@roberto-butti roberto-butti added the Feature Request This is a feature request, probably we need to re-elaborate it and then create more specific issue label May 20, 2022
@AlessandroMinoccheri
Copy link
Contributor

AlessandroMinoccheri commented May 22, 2022

@roberto-butti we can try to collect some Symfony examples in this issue.
What do you think about starting with a simple Laravel example and after we try to start from there converting it to a similar Symfony action?

@AlessandroMinoccheri
Copy link
Contributor

@roberto-butti can you post here a little example of Laravel action so we can understand in Symfony how can we rewrite that action?

@roberto-butti
Copy link
Contributor Author

@roberto-butti can you post here a little example of Laravel action so we can understand in Symfony how can we rewrite that action?

Sure , take a look here : https://ghygen.hi-folks.dev/?template=laravelapp&code=6c74432cc8da98631b40ddfb4a5f21d3

As you can see, after running composer there are some specific steps for Laravel (copy and paste):

    - name: Generate key
      run: php artisan key:generate
    - name: Directory Permissions
      run: chmod -R 777 storage bootstrap/cache
    - name: Run Migrations
# Set environment
      env:
        DB_CONNECTION: mysql
        DB_DATABASE: db_test_laravel
        DB_PORT: 33306
        DB_USER: root

      run: php artisan migrate

@AlessandroMinoccheri
Copy link
Contributor

AlessandroMinoccheri commented Jun 1, 2022

Well in Symfony usually there is a basic step after composer install.

symfony server:start

If the goal is to launch migrations in symfony there are specific libraries like doctrine/migrations and others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request This is a feature request, probably we need to re-elaborate it and then create more specific issue
Projects
None yet
Development

No branches or pull requests

2 participants