Download the PHP package jobapis/jobs-to-mail without Composer

On this page you can find all versions of the php package jobapis/jobs-to-mail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package jobs-to-mail

JobApis.com JobsToMail

Your personal job-search assistant

Latest Version Build Status Coverage Status Quality Score Total Downloads

About

JobsToMail is an open source web application that allows users to sign up to receive emails with jobs from one of several job boards supported by the JobApis project. Users can sign up to receive jobs for free at jobs-to-mail.herokuapp.com or use the setup instructions below to run the application on their own server.

This application is built on Laravel 5.5 using the Jobs Multi and Jobs Common packages. The frontend uses Bootstrap v4 and Gulp.

Mission

JobApis makes job board and company data more accessible through open source software. To learn more, visit JobApis.com, or contact us at [email protected].

Setup

Requirements

This application is only designed to work with PHP 7.0+ and Postgres 9.5+. Some backwards compatibility may be possible, but is not officially supported at this time.

Installation requires the following:

Local installation

The recommended installation method is Composer.

  1. Use composer to create a new project:

  2. Copy .env.example to .env and customize it with your environmental variables.

  3. Run npm install && gulp to build the frontend.

  4. Run the built-in web server to serve the application: php artisan serve.

  5. Visit the local application at localhost:8000.

  6. Once at least one user has signed up, you can run the job collection and email command: php artisan jobs:email.

Docker installation

After you've got Docker installed and running:

  1. Install composer dependencies: docker run --rm -v $(pwd):/app composer:latest install

  2. Copy .env.example to .env and customize it with your environmental variables.

  3. Run docker-compose build and then docker-compose up -d to get the services running.

  4. Run npm install && node node_modules/.bin/gulp to build the frontend.

  5. Run migrations: docker exec jobstomail_web_1 php artisan migrate.

  6. Run the collect and email command: docker exec jobstomail_web_1 php artisan jobs:email.

You can run tests with docker exec jobstomail_web_1 vendor/bin/phpunit.

Heroku installation

  1. Use the one-click Deploy to Heroku button: Deploy

  2. After it's deployed, you should be able to visit your app and see the home page.

  3. Set an application key by running heroku run "php artisan key:generate --show" --app=j2m and adding the key that is displayed to your app's config variables.

  4. Add a job in Heroku Scheduler to run php artisan jobs:email every night. This will ensure that users receive their emails.

Server installation

Additional Requirements

  1. Use composer to create a new project:

  2. Copy .env.example to .env and customize it with your environmental variables.

  3. Run npm install && gulp to build the frontend.

  4. Point NGINX to serve to the /public directory. Your NGINX config block should look something like this:

  5. Ensure that PHP-FPM is running, and ensure that your site is running at your domain.

  6. Create a cron job to run the job collection and notification process nightly: php artisan jobs:email.

Command Line

After users sign up for a job search, the only thing needed to collect jobs and send them emails is the following command:

This command will loop through each user, collect jobs based on their search criteria, and then email them when their list has been compiled.

Because this job search can take a long time, it is best to use a worker and run the job in the background (via cron job). Instructions for setting this up in Heroku are above, but if you have trouble, you can post a question to the Issues tab in the Github repository.

You can also run this job for only one email address in your system when testing or debugging:

Testing

Tests are run using PHPUnit. We also employ Faker to help with producing fake data and Mockery to mock dependencies in unit tests.

Code coverage reports are automatically generated, and can be found in the /build directory after running the test suite.

Seeding data

If you're doing local development, you may find it handy to seed the database with some test data. Using Laravel's seed commands you can do just that:

Note: Truncation is permanent, so be careful running this in your production environment.

Contributing

Contributions are welcomed and encouraged! Please see JobApis' contribution guidelines for details, or create an issue in Github if you have any questions.

Legal

Disclaimer

This package is not affiliated with or supported by any job boards and we are not responsible for any use or misuse of this software.

License

This package uses the Apache 2.0 license. Please see the License File for more information.

Copyright

Copyright 2016, Karl L. Hughes.


All versions of jobs-to-mail with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
jobapis/jobs-multi Version ^1.1.1
laravel/framework Version 5.5.*
league/csv Version ^9.0
s-ichikawa/laravel-sendgrid-driver Version ~2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jobapis/jobs-to-mail contains the following files

Loading the files please wait ....