Hivex33 open jobs

PHP (Laravel) developer

BackendPosted 5 weeks agovia Himalayas, a remote job board

Work type
RemoteOpen worldwide
Experience
5+ years
Pay
Not listed
Posted
5 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on PHP, MySQL, PostgreSQL and 1 more

About the job

Hivex is a dynamic and innovative IT company dedicated to delivering cutting-edge solutions and exceptional service to our clients. We are passionate about technology and are looking for experienced and skilled PHP (Laravel) Developer to join our development team.

Requirements:

  1. 5+ years of professional experience in PHP development with a strong focus on the Laravel framework.
  2. Experience with modern PHP development tools (Composer, PHPUnit, Laravel Mix).
  3. Strong knowledge of relational databases (MySQL, PostgreSQL) and database design.
  4. Experience with RESTful APIs and integration with third-party services.
  5. Knowledge of version control systems (Git, GitHub, GitLab, Bitbucket)
  6. English level - Upper-intermediate+
  7. Excellent problem-solving skills and attention to detail.
  8. Strong communication skills and the ability to work collaboratively in a team environment

What We Offer:

  • Remote PART-TIME job with the freedom to work from anywhere in the world.
  • Flexible work schedule tailored to your life and work needs.
  • Competitive and timely salary.
  • Opportunities for professional growth and development.
  • The chance to gain experience in various fields and participate in exciting projects.
  • Your ideas and initiatives are always welcome and valued.

Originally posted on Himalayas

Interested?PHP (Laravel) developer at Hivex

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on PHP, MySQL, PostgreSQL and 1 more

Interview questions for this job

For the skills the ad mentions: PHP, MySQL, PostgreSQL and REST APIs.

173 questions
  • How can I calculate the difference between two dates using PHP?PHP

    Use this for legacy code (PHP < 5.3; Jun 2009). For up-to-date solution see jurka's answer.

    You can use strtotime() to convert two dates to Unix time and then calculate the number of seconds between them. From this, it's rather easy to calculate different time periods.

    $date1 = "2007-03-24";
    $date2 = "2009-06-26";
    $diff = abs(strtotime($date2) - strtotime($date1));
    $years = floor($diff / (365*60*60*24));
    $months = floor(($diff - $years * 365*60*60*24) / (30*60*60*24));
    $days = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24)/ (60*60*24));
    printf("%d years, %d months, %d days\n", $years, $months, $days);
    

    Obviously, the preferred way of doing this is like described by jurka. My code is generally only recommended if you don't have PHP 5.3 or better.

    Several people in the comments have pointed out that the code above is only an approximation. I still believe that for most purposes that's fine, since the usage of a range is more to provide a sense of how much time has passed or remains rather than to provide precision. If you want to do that, just output the date.

    Despite all that, I've decided to address the complaints. If you truly need an exact range, but haven't got access to PHP 5.3, use the code below (it should work in PHP 4 as well). This is a direct port of the code that PHP uses internally to calculate ranges, with the exception that it doesn't take daylight savings time into account. That means that it's off by an hour at most, but except for that, it should be correct.

    Read the rest at the sourceFrom Stack Overflow: asked by gnanesh, answered by Emil H (CC BY-SA 4.0)

  • How can I output MySQL query results in CSV format?MySQL

    From Save MySQL query results into a text or CSV file:

    SELECT order_id,product_name,qty
    FROM orders
    WHERE foo = 'bar'
    INTO OUTFILE '/var/lib/mysql-files/orders.csv'
    FIELDS TERMINATED BY ','
    ENCLOSED BY '"'
    LINES TERMINATED BY '\n';
    

    Note: That syntax may need to be reordered to

    SELECT order_id,product_name,qty
    INTO OUTFILE '/var/lib/mysql-files/orders.csv'
    FIELDS TERMINATED BY ','
    ENCLOSED BY '"'
    LINES TERMINATED BY '\n'
    FROM orders
    WHERE foo = 'bar';
    

    in more recent versions of MySQL.

    Using this command, columns names will not be exported.

    Also note that /var/lib/mysql-files/orders.csv will be on the server that is running MySQL. The user that the MySQL process is running under must have permissions to write to the directory chosen, or the command will fail.

    If you want to write output to your local machine from a remote server (especially a hosted or virtualize machine such as Heroku or Amazon RDS), this solution is not suitable.

    From Stack Overflow: asked by MCS, answered by Paul Tomblin (CC BY-SA 4.0)

  • What are the drawbacks with using UUID or GUID as a primary key?PostgreSQL

    It depends on your generation function and size of the final tables

    GUIDs are intended to be globally unique identifiers. As discussed in the Postgres 8.3 documentation there are no methodologies that are universally appropriate to generate these identifiers, but postgreSQL does ship with a few more useful candidates.

    From the scope of your problem, and the need for offline writes, you've quite neatly boxed out the use of anything but a GUID, and therefore there are no compensatory advantages of other schemes.

    From a functional standpoint, the key length is usually not an issue on any kind of modern system, depending on the number of reads and size of the table. As an alternative methodology, offline clients could batch new records without a primary key and simply insert them when reconnecting. As postgreSQL offers the "Serial" datatype, clients will never need to determine the ID if they can perform a simple write to the database.

    From Database Administrators Stack Exchange: asked by Jonas, answered by Brian Ballsun-Stanton (CC BY-SA 2.5)

  • Should a RESTful 'PUT' operation return something....REST APIs

    The HTTP specification (RFC 2616) has a number of recommendations that are applicable. Here is my interpretation:

    • HTTP status code 200 OK for a successful PUT of an update to an existing resource. No response body needed. (Per Section 9.6, 204 No Content is even more appropriate.)
    • HTTP status code 201 Created for a successful PUT of a new resource, with the most specific URI for the new resource returned in the Location header field and any other relevant URIs and metadata of the resource echoed in the response body. (RFC 2616 Section 10.2.2)
    • HTTP status code 409 Conflict for a PUT that is unsuccessful due to a 3rd-party modification, with a list of differences between the attempted update and the current resource in the response body. (RFC 2616 Section 10.4.10)
    • HTTP status code 400 Bad Request for an unsuccessful PUT, with natural-language text (such as English) in the response body that explains why the PUT failed. (RFC 2616 Section 10.4)

    Note: RFC 2616 was the latest specification when this answer was written, but the RFC has since been superseded. When referring to any standard, it can be useful to verify that you are using the latest one.

    From Stack Overflow: asked by AwkwardCoder, answered by system PAUSE (CC BY-SA 4.0)

  • What is the difference between public, private, and protected?PHP

    You use:

    • public scope to make that property/method available from anywhere, other classes and instances of the object.

    • private scope when you want your property/method to be visible in its own class only.

    • protected scope when you want to make your property/method visible in all classes that extend current class including the parent class.

    If you don't use any visibility modifier, the property / method will be public.

    More: (For comprehensive information)

    From Stack Overflow: asked by Adam Halasz, answered by Sarfraz (CC BY-SA 4.0)

  • When have you faced a challenging situation?Behavioural

    Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:

    • when have you faced a challenging situation?
    • can you tell us about a personal achievement at work?
    • have you ever taken the initiative?
    • have you ever failed at a task?

    Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.

    If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.

    Use the  STAR method  to help structure your answers.

    From National Careers Service: interview advice (Open Government Licence v3.0)

More jobs like this

Remote Backend developer jobs (34)