{"id":19248633,"url":"https://github.com/thtmorais/yii2-pace","last_synced_at":"2025-04-21T11:34:34.361Z","repository":{"id":54153401,"uuid":"176348471","full_name":"thtmorais/yii2-pace","owner":"thtmorais","description":"PACE (Progress Automatically Certain to Entertain) for Yii PHP Framework","archived":false,"fork":false,"pushed_at":"2021-06-15T14:03:00.000Z","size":17,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-07T12:39:36.020Z","etag":null,"topics":["load","load-progress","loading","pace","progress","yii-extension","yii-php-framework","yii2"],"latest_commit_sha":null,"homepage":"","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/thtmorais.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-18T18:40:51.000Z","updated_at":"2024-05-04T02:04:09.000Z","dependencies_parsed_at":"2022-08-13T07:50:10.433Z","dependency_job_id":null,"html_url":"https://github.com/thtmorais/yii2-pace","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtmorais%2Fyii2-pace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtmorais%2Fyii2-pace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtmorais%2Fyii2-pace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtmorais%2Fyii2-pace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thtmorais","download_url":"https://codeload.github.com/thtmorais/yii2-pace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223863917,"owners_count":17216234,"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","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":["load","load-progress","loading","pace","progress","yii-extension","yii-php-framework","yii2"],"created_at":"2024-11-09T18:09:31.106Z","updated_at":"2024-11-09T18:09:31.686Z","avatar_url":"https://github.com/thtmorais.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":" PACE (Progress Automatically Certain to Entertain) for Yii PHP Framework\n=========================================================================\n PACE (Progress Automatically Certain to Entertain) - Automatic page load progress bar for Yii PHP Framework\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\ncomposer require thtmorais/yii2-pace \"*\"\n```\n\nor add\n\n```\n\"thtmorais/yii2-pace\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\n\nUsage\n-----\n\nOnce the extension is installed, simply use it in your code by  :\n\n```php\n\u003c?php\n\nuse thtmorais\\pace\\Pace;\n\necho Pace::widget();\n\n?\u003e\n```\n\nor\n\n```php\n\u003c?= \\thtmorais\\pace\\Pace::widget() ?\u003e\n```\n\nWe recommend using in the `layouts/main.php` file. Or if you prefer in each view file with their respective settings.\n\nConfiguration\n-------------\n\nBy default the PACE comes configured with blue color and animation minimal.\n\nYou can add general rule for all views in the `config/params.php` file as follows:\n\n```php\n\u003c?php\n    return [\n        'paceOptions' =\u003e [\n            'color' =\u003e  'blue',\n            'theme' =\u003e 'minimal',\n            'options' =\u003e []\n        ]\n    ];\n?\u003e\n```\n\nor individually in each view: \n\n```php\n\u003c?php\n   \nuse thtmorais\\pace\\Pace;\n\necho Pace::widget([\n    'color'=\u003e'red',\n    'theme'=\u003e'corner-indicator',\n    'options'=\u003e[]\n]);\n\n?\u003e\n```\n\nYou can preview **themes** and **colors** [here](https://codebyzach.github.io/pace/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthtmorais%2Fyii2-pace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthtmorais%2Fyii2-pace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthtmorais%2Fyii2-pace/lists"}