{"id":22177611,"url":"https://github.com/ntidev/autodeletebundle","last_synced_at":"2025-10-03T20:16:18.236Z","repository":{"id":57029120,"uuid":"110841841","full_name":"ntidev/AutoDeleteBundle","owner":"ntidev","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-23T22:12:45.000Z","size":12,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-13T00:21:16.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/ntidev.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-11-15T14:10:08.000Z","updated_at":"2021-11-23T22:11:58.000Z","dependencies_parsed_at":"2022-08-23T17:30:10.526Z","dependency_job_id":null,"html_url":"https://github.com/ntidev/AutoDeleteBundle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ntidev/AutoDeleteBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntidev%2FAutoDeleteBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntidev%2FAutoDeleteBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntidev%2FAutoDeleteBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntidev%2FAutoDeleteBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntidev","download_url":"https://codeload.github.com/ntidev/AutoDeleteBundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntidev%2FAutoDeleteBundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278219852,"owners_count":25950366,"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-10-03T02:00:06.070Z","response_time":53,"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":[],"created_at":"2024-12-02T08:29:57.010Z","updated_at":"2025-10-03T20:16:18.208Z","avatar_url":"https://github.com/ntidev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NTIAutoDeleteBundle\r\n\r\n\r\n### Installation\r\n\r\n1. Install the bundle using composer:\r\n\r\n    ```\r\n    $ composer require ntidev/auto-delete-bundle \"dev-master\"\r\n    ```\r\n\r\n2. Add the bundle configuration to the AppKernel\r\n\r\n    ```\r\n    public function registerBundles()\r\n    {\r\n        $bundles = array(\r\n            ...\r\n            new NTI\\AutoDeleteBundle\\NTIAutoDeleteBundle(),\r\n            ...\r\n        );\r\n    }\r\n    ```\r\n\r\n3. Update the database schema\r\n    \r\n    ```\r\n    $ php app/console doctrine:schema:update\r\n    ```\r\n\r\n## Usage\r\n\r\n1. Schedule a cronjob to execute the following commnad:\r\n    \r\n    ```\r\n    $ php app/console nti:auto-delete:run   \r\n    ```\r\n\r\n2. Register paths to be auto deleted using the following generator:\r\n\r\n    ```\r\n    $ php app/console nti:auto-delete:new-entry\r\n\r\n    ```\r\n    \r\n    Help Information:\r\n    \r\n    ```\r\n        \r\n    Usage:\r\n      nti:auto-delete:new-entry [options] [--] \u003cpath\u003e \u003cseconds\u003e\r\n    \r\n    Arguments:\r\n      path                                   The path to be deleted\r\n      seconds                                The amount of seconds until the path is deleted.\r\n    \r\n    Options:\r\n          --disabled[=DISABLED]              If the entry should be disabled when created. [default: false]\r\n          --no-recursive[=NO-RECURSIVE]      If set and the path is a directory the process won't proceed recursively through subdirectories. [default: false]\r\n          --keep-empty-dir[=KEEP-EMPTY-DIR]  If set, empty directories won't be removed. [default: false]\r\n      -h, --help                             Display this help message\r\n      -q, --quiet                            Do not output any message\r\n      -V, --version                          Display this application version\r\n          --ansi                             Force ANSI output\r\n          --no-ansi                          Disable ANSI output\r\n      -n, --no-interaction                   Do not ask any interactive question\r\n      -s, --shell                            Launch the shell.\r\n          --process-isolation                Launch commands from shell as a separate process.\r\n      -e, --env=ENV                          The Environment name. [default: \"dev\"]\r\n          --no-debug                         Switches off debug mode.\r\n      -v|vv|vvv, --verbose                   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\r\n    \r\n    Help:\r\n      This command will create a new AutoDeleteEntry.\r\n\r\n    ```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntidev%2Fautodeletebundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntidev%2Fautodeletebundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntidev%2Fautodeletebundle/lists"}