Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Luka Perić
    @lperic42
    hi everyone :)
    anyone live?
    Lix
    @Oranzh
    Hi, dude
    Luka Perić
    @lperic42
    Hey Lix, thanks for the reply
    I'm working on an app and I need an advice but I literally don't have any developers friends so I thought I'd try my luck here
    Lix
    @Oranzh
    I'm working on an app and I need an advice but I literally don't have any developers friends so I thought I'd try my luck here
    Advice which aspect?
    Luka Perić
    @lperic42
    Okay, so there are two apps of the same company. There's employee profile on both of those apps, they have different databases and different domains. So now the customer wants to update employee info on one app and automatically sync the changes on the other app.
    Basically if I edit the first name of an employee on app number 1, he wants that change to be synced on app number 2 as well as saved in that app's database
    I'm using Laravel
    But really not sure what would be the best approach
    Lix
    @Oranzh
    Why does Employee Service use 2 database? It's a database design problem.
    If App1 change the employee 1 while App2 changes the employee 1
    Luka Perić
    @lperic42
    Imagine that there's a website for a company and on that website there's 'Our Team' section with all people and there's another, internal web app in which the company can put all sorts of information that's important for the company such as plans, projects, employee contacts etc etc. they basically want the website to sync with the other, internal app
    so if I change the first name of an employee on the internal app, the website's 'Our Team' will change also because it fetched the data on their employees from the website's database
    Lix
    @Oranzh
    Cannot change the employee data from outside , i mean out of internal app
    U have to consider change data concurrentlly
    change one same data
    Maybe u need distributed locks to solve data concurrency
    Luka Perić
    @lperic42
    I thought that maybe I could make the website get it's employee data from the internal app's API and then maybe do something about saving the data in its database
    Lix
    @Oranzh
    How to transfer data to internal database when u update the employee on outside website?
    Through internal app's API?
    hassihsseine
    @hassihsseine
    hello evryone, i add {{ $users->links() }} but not showing number
    1 reply
    tech-divya
    @tech-divya
    hello evryone, i add {{ $users->links() }} but not showing number
    Hey!
    You have to create function in User model ad get the count of links!
    superherip
    @superherip
    It is possible to post your packages directly in the project. For downloading and installation, a special php file is used called Manage.php
    Jeff Sharn
    @jeff_sharn_gitlab
    @jeff_sharn_gitlab
    hey Laravel fam, what should we use to build automated end-to-end cross-browser tests?
    we want the tests to run on all major browsers (including Safari) and we have scenarios that involve multiple browser tabs
    we're looking at endtest.io right now, but I want to have a few other options
    codemonkeynorth
    @codemonkeynorth
    Hi, what are people using to minify/clean SVG please? I'm using @chiiya/laravel-mix-image-minimizer with Laravel Mix because i heard imagemin was no longer being maintained? but i don't think it has svg support? would i just add something like SVGO?
    anushka-23g
    @anushka-23g
    Sharing 5 Developer Productivity Websites Frontend Devs Need to Know- https://javascript.plainenglish.io/5-developer-productivity-websites-frontend-devs-need-to-know-7e1455f0ef0f
    Martin Gray
    @martingray202

    @laradude Laravel hosting on a Windows server takes too many extra resources due to the operating system. I personally recommend Linux hosting because its takes less than 100MB RAM to run an operating system, on the other hand, Windows takes 3 GB RAM approx.

    I am personally using Devrims Managed Laravel Hosting and my hosting provider is taking care of all the hosting-related issues. The good thing is every feature is available in a few clicks and you do not need to know the Linux or cloud.

    Rasika Khire
    @Khirerak_twitter
    Urgently Needed laravel developer having knowledge about blockchain. Ready to work on small fees in usdt and tokens. https://wa.me/+918698355396
    Klim
    @paparrot
    Hey there! I want to integrate Medium to my CMS, for several users. Medium has integrate keys for apps. When I had one user, I store this key in ENV variable, but now I want to create text input for type this key for every users. So my question is where I should store this keys? I don’t think is DB a safe place. Please, suggest me a right way
    Pedro Martins
    @pxpm
    @paparrot it's safe as it's safe to store a password. As long as you don't store it in plain-text. I suggest you encrypt and decrypt that key before/after storing/retrieving like you do for your users password.
    Luka Perić
    @lperic42
    anybody used Laravel Forge?
    Marko Antolović
    @bronhy

    hey devs I need your feedback I am runing macOS mojave 10.14.6
    running the terminal command
    HOMEBREW_NO_AUTO_UPDATE=1 brew install php@7.4 I hit at this error.

    curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60

    curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
    Error: php@7.4: Failed to download resource "webp"
    Download failed: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.2.tar.gz

    I tried opening the page in the browser with no success no response headers or content. Same with curl.
    Can someone try opening the page as well?

    same error happens with HOMEBREW_NO_AUTO_UPDATE=1 brew install php
    Marko Antolović
    @bronhy
    nvm seams to be only me. Some networking issue.
    Arif Iqbal
    @arifktk32
    Hey! Is anyone interested in building Laravel hobby projects together with me? If yes, please drop a line for me at arifktk32@gmail.com
    Salah Eddine Mebkhouti
    @SwapCode08
    Hello everyone
    Lix
    @Oranzh
    Hello
    Salah Eddine Mebkhouti
    @SwapCode08
    I want to create a projects with laravel
    if you have any suggestion?
    Lix
    @Oranzh
    Laravel officiall document
    I think it's the best parctise.
    Salah Eddine Mebkhouti
    @SwapCode08
    Yeah I check it I'm learn from it but any idea of a project I can build if you have one ?
    Lix
    @Oranzh
    U could google laravel daily
    I learnt lots from him.
    Salah Eddine Mebkhouti
    @SwapCode08
    Okay I will check it
    for you waht's the roadmap to be a laravel developer ?
    Salah Eddine Mebkhouti
    @SwapCode08
    Thank you @Oranzh
    unnamed75
    @unnamed75

    Hi, please help

    There is a controller using Request:

    use App\Http\Requests\TestRequest;

    class A extends Controller {
    public function test(TestRequest $request)
    {
    return 'Yes';
    }
    }

    and controller B which tries to call the test() function from controller A;
    class B extends Controller {
    public function beta(Request $request, A $a)
    {
    dd($a->test($request->all()));
    }
    }

    When trying to access the test() method from controller A, an error is returned:

    Argument #1 ($request) must be of type App\Http\Requests\TestRequest, array given, called in C:\Users\User\Desktop\Project\app\Http\Controllers\BController.php on line 25

    In the Request itself, I did not describe any validation rules, laravel 9 is used, why is this error returned?