Jump to content
hettiger

larawire: Merge Laravel and ProcessWire

Recommended Posts

Hello there,

ProcessWire has been the perfect CMS for me so far but I always missed the Laravel way of doing things when working with PW.

Therefore I've built a package that will integrate Laravel into ProcessWire.

It's already working out really well and I can imagine a lot of stuff to come in future.

Anyways I'm hoping for some peoples support / pull requests / ideas / opinions ...

Here's the link: https://github.com/hettiger/larawire

Enjoy! :-)

  • Like 19

Share this post


Link to post
Share on other sites

https://processwire.com/talk/topic/2393-processwire-framework/#entry22685

https://processwire.com/talk/topic/2393-processwire-framework/

Laravel isn't the only PHP framework. Instead of writing the framework, time is better spent actually writing code

with your own pre-written modular code that's going to speed up your development.

Never said Laravel would be the only PHP framework.

You can do all that stuff in other Frameworks or ProcessWire itself too.

This is for people that enjoy working with Laravel and want to use it together with ProcessWire.

  • Like 4

Share this post


Link to post
Share on other sites

@pwired, I don't get your post. ???

@hettiger, thanks for the module, looks interesting, have to look into it at a later point in time though.

  • Like 5

Share this post


Link to post
Share on other sites

Ah.. This is interesting.

Though, if possible, it will be better if there is an example, showcasing the possibilities with this together. Since I'm still very much a processwire newbie.

Share this post


Link to post
Share on other sites

Ah.. This is interesting.

Though, if possible, it will be better if there is an example, showcasing the possibilities with this together. Since I'm still very much a processwire newbie.

Thanks for the feedback. I'll make sure to improve the documentation with some examples.

Share this post


Link to post
Share on other sites

What are the benefits of merging the two?

What does laravel do that pw can't?

Share this post


Link to post
Share on other sites
16 hours ago, fbg13 said:

What are the benefits of merging the two?

What does laravel do that pw can't?

It's about convenience. I guess there won't be any other benefits. Maybe drawbacks. (Performance, ...)

Share this post


Link to post
Share on other sites

Awesome!

Personally, I prefer to keep my code as basic as possible and avoid frameworks, but this is the kind of thing that helps the developer base grow and we all win.

Great work.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By abdulqayyum
      Hy Processwire community,
      There are some problem in fileCompiler cache.
      when i change under the directory \site\templates\ it must change under the directory /site/assets/cache/FileCompiler/site/templates/
      but it does not update and functionality working with /site/assets/cache/FileCompiler/site/templates/ directory.
       
      In this case please suggest me how i clear fileCompiler cache?
      what i have to clear it manually?
      Thanks AbdulQayyum.
    • By abdulqayyum
      Hy everyone,
      i am using loginRegister module for front-end user login.
      In this module user can login with Email/username, i am showing with Email. done
      but not showing Email in Forgotton Password section. there still showing with username.

      i want to show Forgotton Password with Email instead username. and should reset with email.

      please help me in this section, how i can set it with Email.

      Thanks AbdulQayyum.
    • By abdulqayyum
      Markup-Google-Recaptcha is not working with LoginRegister module in Forgotton Password Form.
      Here is my code
      wire-> modules -> process -> ProcessForgotPassword.php
      protected function step1_renderForm() {
              $form = $this->modules->get("InputfieldForm");
              $form->attr('action', './?forgot=1');
              $form->attr('method', 'post');
          
              $field = $this->modules->get("InputfieldText");     
              $field->attr('id+name', 'username');
              $field->attr('class', 'redesign-field forgotPassFeild');
              $field->setAttribute('placeholder', 'Username');
              $field->required = true;
              $field->label = $this->_("Forgotton Password");
              $field->description = $this->_("If you cannot remember your password to access the affiliates portal. simply provide your username in the box below and we'll send you a reset link via email.");
              $form->add($field);
               
             // Calling MarkupGoogleRecaptcha Module.
              $captcha = $modules->get("MarkupGoogleRecaptcha");
             //  rendering form with recaptcha
              $captcha->render($form);
         
              $submit = $this->modules->get("InputfieldSubmit");
              $submit->attr('id+name', 'submit_forgot');
              $form->add($submit);
              $this->session->userResetStep = 1;
               
              // rendering form
               $out .= $form->render();
          
              // getting captcha script
              $out .= $captcha->getScript();
              return $out;
          }

      I am following this one example.

      please suggest me how i can show MarkupGoogleRecaptcha in forgotton password.
      Getting log error


      Thanks,
      Abdul Qayyum
    • By Mithlesh
      Hi there,
      My form is not getting submitted, it is showing:
      Unable to verify successful email delivery of this form submission.
      Attaching for your reference as well: 

      In the Backend, it is showing Connection timed out with smtp.gmail.com
      Pl guide me how to resolve that
    • By Sephiroth
      Hi guys, so since I moved to Processwire, it has been my default go-to CMF/CMS for my website and client applications, apparently my previous job took a toll on me, and made me have less time, but now finally had the chance to change my website to something I always had in mind.
      I decided to go with something minimal, as I tend to enjoy writing, so wanted a website to have more text than graphics and I think I whipped up something clean. Currently I still have more to do, but this is my current website, the main purpose to have a content driven website where I will be writing tutorials , articles more and hopefully  technical  notes.
      Please let me know your honest opinion.
      PS: I am more of a coder than a designer but i think this old dog still pulled it off
       
      https://okeowoaderemi.com/
       
       




×
×
  • Create New...