{"id":15481613,"url":"https://github.com/agoalofalife/postman","last_synced_at":"2026-04-29T16:38:16.733Z","repository":{"id":56942094,"uuid":"103396095","full_name":"agoalofalife/postman","owner":"agoalofalife","description":"Schedule your sending mail on Laravel","archived":false,"fork":false,"pushed_at":"2018-01-06T12:06:24.000Z","size":17222,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-29T17:41:21.890Z","etag":null,"topics":["laravel","mail","postman","schedule-your-sending-mail"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agoalofalife.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-13T12:20:23.000Z","updated_at":"2021-06-03T04:42:44.000Z","dependencies_parsed_at":"2022-08-21T02:10:21.393Z","dependency_job_id":null,"html_url":"https://github.com/agoalofalife/postman","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/agoalofalife/postman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agoalofalife%2Fpostman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agoalofalife%2Fpostman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agoalofalife%2Fpostman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agoalofalife%2Fpostman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agoalofalife","download_url":"https://codeload.github.com/agoalofalife/postman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agoalofalife%2Fpostman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271754934,"owners_count":24815322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","mail","postman","schedule-your-sending-mail"],"created_at":"2024-10-02T05:05:09.563Z","updated_at":"2026-04-29T16:38:16.688Z","avatar_url":"https://github.com/agoalofalife.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003ePOSTMAN\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/agoalofalife/postman/blob/master/preview.jpg\"\u003e\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://scrutinizer-ci.com/g/agoalofalife/postman/?branch=master\"\u003e\u003cimg src=\"https://scrutinizer-ci.com/g/agoalofalife/postman/badges/quality-score.png?b=master\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://scrutinizer-ci.com/g/agoalofalife/postman/?branch=master\"\u003e\u003cimg src=\"https://scrutinizer-ci.com/g/agoalofalife/postman/badges/coverage.png?b=master\"\u003e\u003c/a\u003e\n \u003ca href=\"https://scrutinizer-ci.com/g/agoalofalife/postman/?branch=master\"\u003e\u003cimg src=\"https://scrutinizer-ci.com/g/agoalofalife/postman/badges/build.png?b=master\"\u003e\u003c/a\u003e\n \u003c/p\u003e\n\n\u003e **Note** Required PHP version \u003e= 7.1 \n\n\u003e Obviously, you must have configured the database and Mail\n\n**What is it?** \n\nThis package is for [Laravel](laravel.com). Using the interface you can send the emails on schedule.\n\nIt's simple! You are creating a letter and sending it at just the right time!\n\nYou intrigued?\n\nRead on!\n\n## Install\nInstalled via [composer](https://getcomposer.org/).\n\n```bash\ncomposer require agoalofalife/postman\n\n```\nBefore you install the package, it is important to define your language.\n\nIn file config/app.php\n\n```php\n 'locale' =\u003e 'en',\n```\n\u003e **Note** Out of the box `en` and `ru`.\n\n\u003e if if your version is below laravel 5.5. insert service provider :\n\n```php\n...\nagoalofalife\\postman\\SheduleEmailServiceProvider::class\n```\n\nNext, you're executing the command:\n\n```bash\nphp artisan postman:install\n```\nNow you can insert the template where you want. \n\nIt could be your administrative panel or what else.\n\n```php\n...\n  \u003cbody\u003e\n    @include('postman::app')\n    ...\n```\n\nnow you can see your interface!\n\n![postman](https://github.com/agoalofalife/postman/blob/master/start-page.jpg)\n\nAnd last.. You need to work **cron**.\n`App\\Console\\Kernel`\n\n```php\n if (config('postman.switcher')) {\n            $schedule-\u003ecommand(ParseCommand::class)-\u003eeveryMinute();\n        }\n        \n```\n## Custom Mode\nEach letter has its own algorithm sending. Example :\n- Send all as BCC\n- Send all as CC\nFor this there are routines that implement the interface\n\n```php\nagoalofalife\\postman\\Contract\\Mode::class\n```\n\nYou must implement all three methods:\n* getName()\n* getDescription()\n* postEmail()\n\nOf the first two all clear from the title.\n`postEmail()` within the logic of sending. \n\nIf something is not clear you can see examples in the source code.\n\n\nOnce you have implemented his mode, it is necessary to specify in the configuration file and execute the command :\n```bash\nphp artisan postman:seed \n```\n\n## Config\n- You can set the column size\n\n```php\n 'ui' =\u003e [\n        'table' =\u003e [\n            'id' =\u003e 60,\n            'date' =\u003e 180,\n            'email.theme' =\u003e 180,\n            'email.text' =\u003e 400,\n            'mode.name' =\u003e 140,\n            'status_action_human' =\u003e 130,\n            'updated_at' =\u003e 140,\n            'operations' =\u003e 240,\n        ]\n    ]\n```\n\n- List of available modes\n\n```php\n\n'modes' =\u003e [\n        \\agoalofalife\\postman\\Modes\\OneToAll::class,\n        \\agoalofalife\\postman\\Modes\\Each::class,\n    ]\n```\n## Vue components\nIf you don't want to set using the templating Blade, it is possible to migrate a component to vue.\n```\nphp artisan vendor:publish --tag=postman-components\n```\n\n## Middleware\nYou can define your rules in config file.\n```php\n\n  /*\n     |--------------------------------------------------------------------------\n     | Middleware\n     |--------------------------------------------------------------------------\n     | Set middleware\n     */\n     'middleware' =\u003e '',\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagoalofalife%2Fpostman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagoalofalife%2Fpostman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagoalofalife%2Fpostman/lists"}