Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    rafstercoder
    @rafstercoder
    Yeah... Thats the case for the 'docker composer' ... I really don't know if people use it a lot.
    Michael Mayer
    @lastzero
    @rafstercoder You mean docker-compose is too complicated? Thought this is standard today and much easier than telling developers how to properly configure PHP, nginx and MySQL so that everything works together.
    Michael Mayer
    @lastzero
    I've just added more info how to set up a runtime environment without Docker.
    rafstercoder
    @rafstercoder
    @lastzero no no... maybe you missed the "R" in 'docker composer' ... I was referring to the bash function to use composer in docker (which require that flag)
    docker-compose is great!
    Michael Mayer
    @lastzero
    Ok, perfect :)
    Hope you'll find my/our work useful!
    rafstercoder
    @rafstercoder
    Just one more info about the permissions on folders. It seems that symfony 3.x had permissions problems with /var folder. It was changed in version 4 using umask. When creating a project, /var folder is set automatically to 0777, but I'm not sure how it's done.
    Michael Mayer
    @lastzero
    Interesting! Maybe you can add that as comment to the issue I created on GitHub yesterday?
    We're not checking permissions or existance of the cache folder to improve performance. But it could be done when composer runs.
    Michael Mayer
    @lastzero
    Released new versions of Symlex and Symlex Core today... Symlex Core is upgraded to PHPUnit 8.0 while Symlex itself has to stay with 7.x as Codeception does not support 8.x yet... lots of API changes. Functionality didn't change, just a small issue in the REST router fixed: HEAD is automatically redirected to cgetAction() if cheadAction() does not exist (previously redirected to getAction(), which was a bug).
    Also thanks to @tuzimoe our Chinese docs are online: https://docs.symlex.org/zh/latest/ :rocket:
    If you like Symlex, please spread the word / share the link... this is just a side project for me, not a business. So I need your help to promote it. In return, I keep it updated and give it away for free in the hope that developers find it useful :)
    phpbenchmarks
    @phpbenchmarks
    hi :)
    Michael Mayer
    @lastzero
    Moin Moin 🚀
    Michael Mayer
    @lastzero
    I've just published Symlex 4.3.0. It includes RoadRunner, a high-performance PHP application server written in Go.
    Difficult to find a faster combination of framework and server for building PHP apps ⚡️
    UI colors and look were also improved... see https://demo.symlex.org/
    Demo is already based on RoadRunner and at least 50% faster.
    Note that we use a small & cheap DigitalOcean server for the demo, big servers should deliver even better performance.
    Also I've created a Twitter account for project updates: https://twitter.com/symlexphp
    Michael Mayer
    @lastzero
    New release: Symlex 4.4.1 is upgraded to RoadRunner 1.5.2, Symfony 4.4.1 and PHP 7.4. Docs were also improved to simplify installation. Hope you like it. No major changes needed to the (intentionally lean) base architecture, it's really just maintaining dependencies from time to time.
    Michael Mayer
    @lastzero

    We know our stack is really helpful to developers, especially when starting new PHP projects today.

    However, we don't have much time (or financial benefit) promoting our framework next to 10 million others. So please spread the word.

    Michael Mayer
    @lastzero
    HAPPY NEW YEAR 🥂
    rofeex
    @rofeex
    Hi Devs I was wondering how we can connect to a Mysql database ?
    Michael Mayer
    @lastzero
    Hey @rofeex, was on vacation and just came back :)
    You can set the connection parameters in the config files... our example app uses a MySQL database.
    rofeex
    @rofeex
    @lastzero thanks man I looked so hard for it since it doesn't exist in my files !
    you saved my life thank you
    Michael Mayer
    @lastzero
    That is pretty basic without database layer, mainly for benchmarking REST performance
    rofeex
    @rofeex
    sorry this is the first time to use symplex i'm using it to create an REST api and still got a lot to learn thanks again for the help
    Michael Mayer
    @lastzero
    You're welcome :)
    rofeex
    @rofeex
    Well now i've config the db , set up a Model and Dao still confused on how to retrieve all the data from db ?
    newbie Q sorry
    I'm following the structure on the github project
    Michael Mayer
    @lastzero
    rofeex
    @rofeex
    it seems very complex to me sorry as i said i'm quite a newbie
    Michael Mayer
    @lastzero
    It's easier to start with the boilerplate in our main repo and delete what you don't need than creating everything yourself starting from our REST exmample
    rofeex
    @rofeex
    i'll try that thanks
    my main goal for today is to be able to fetch all the data from my table that's all
    Michael Mayer
    @lastzero
    Of course you can use any database library you like, the only concept really is that you use the service container (yml files) for dependency injection
    Our main repo has a users rest controller that returns all users
    rofeex
    @rofeex
    which fun is that?
    sorry to wast your time on this basic Qs
    Andrei Dascalu
    @andrei-dascalu
    Hello!
    Michael Mayer
    @lastzero
    Moin moin 🥳
    Replied to your questions on GitHub
    Andrei Dascalu
    @andrei-dascalu
    @lastzero oh, thank you very much! awesome!