Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
- Project page: https://www.drupal.org/sandbox/karbunkul/2789769
- Drupal core compatibility 8.x
- Git clone:
git clone --branch 8.x-1.x https://git.drupal.org/sandbox/karbunkul/2789769.git ra_client
- Install dependency.
- On page /ra/client you should be see example request.
Ra Framework client API for Drupal 8
Synopsis
Provides Ra Framework client API. More information about Ra Framework is here
Implementation emerap/ra_client library for Drupal 8.
ra.client.yml file
Create file [MODULE_NAME].ra.client.yml inside module directory.
YAML example.
source_id:
path: 'http://emerap.com/ra/method'
Php example
use Drupal\ra_client\RaClient;
...
// \Drupal\ra_client\RaClient instance
$client = new RaClient('emerap');
// Get all available methods.
$methods = $client->query('ra.methods')->getRaw();
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2016-08-25 at 15.00.18.png | 42.06 KB | karbunkul |
Comments
Comment #2
PA robot CreditAttribution: PA robot commentedProject 1: https://www.drupal.org/node/2789885
Project 2: https://www.drupal.org/node/2788817
As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).
If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #4
bubuHi,
1. I added correct project page link to the summary.
2. I corrected git clone command. It was missing the folder name at the end:
ra_client
.3. There are some issues with coding standards. Please see this: http://pareview.sh/pareview/httpsgitdrupalorgsandboxkarbunkul2789769git
Comment #5
karbunkul CreditAttribution: karbunkul commentedThanks. I fixed issue.
Comment #6
vlad.dancerAutomated Review
Review of the 8.x-1.x branch (commit 8ab8b18):
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
See https://pareview.sh/node/1154
Manual Review
- remove composer.lock
- remove .gitignore
common way to load php packages in drupal via global drupal composer file
(eg. DRUPAL_ROOT/composer.json or like drupal-projects locates it https://github.com/drupal-composer/drupal-project)
if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
instead of
if (!class_exists('Emerap\RaClient\Client')) {
array()
or[]
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Personal opinion
All of the author's modules designed for developers (ra, ra_client, telegram_bot, etc..),
but great api/services stars with excellent documentation. Please add more examples,
fix readme files. Also make RA documentation more rich on the githab and describe
more clearly RA purpose, examples: (http://www.fluxkraft.com/, https://www.drupal.org/node/2057959)
Comment #7
PA robot CreditAttribution: PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.