{"id":25120416,"url":"https://github.com/mathcale/silex-base-project","last_synced_at":"2025-10-14T05:22:53.929Z","repository":{"id":62524983,"uuid":"80137016","full_name":"mathcale/silex-base-project","owner":"mathcale","description":"A simple Silex base project with routing, twig templates, database connection and some other cool stuff","archived":false,"fork":false,"pushed_at":"2017-04-16T18:11:31.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-01T22:01:05.406Z","etag":null,"topics":["php","project","silex","template","twig"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathcale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-26T17:25:21.000Z","updated_at":"2017-01-26T17:26:50.000Z","dependencies_parsed_at":"2022-11-02T13:47:40.535Z","dependency_job_id":null,"html_url":"https://github.com/mathcale/silex-base-project","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathcale%2Fsilex-base-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathcale%2Fsilex-base-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathcale%2Fsilex-base-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathcale%2Fsilex-base-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathcale","download_url":"https://codeload.github.com/mathcale/silex-base-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246834215,"owners_count":20841499,"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":["php","project","silex","template","twig"],"created_at":"2025-02-08T05:29:23.551Z","updated_at":"2025-10-14T05:22:48.897Z","avatar_url":"https://github.com/mathcale.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Silex Base Project\n------------------\n\n[![Packagist](https://img.shields.io/packagist/v/mathcale/silex-base-project.svg)](https://packagist.org/packages/mathcale/silex-base-project)\n\nA simple Silex 2.x base project with authentication, routing, twig templates, env. variables and some other cool stuff.\n\n## Requirements\n\n* PHP \u003e= 5.5.9\n* Composer\n* Apache Web Server\n\n**NOTE**: If you're using another webserver, take a look at the [official documentation](http://silex.sensiolabs.org/doc/2.0/web_servers.html) on how to properly set it up.\n\n## Running the app\n\n1. Clone the repo or get it from Packagist by running `composer create-project --prefer-dist mathcale/silex-base-project` on your websever root (e.g. `/var/www/html` ou `C:/wamp/www`)\n2. `cd silex-base-project`\n3. Edit the `.env` file with necessary info (database credentials, debug mode...)\n4. Start your web server and go to the project's url (e.g. `http://localhost/silex-base-project`)\n5. Have fun using Silex!\n\n### Creating the database\n\nNow you can create a database schema by running the `make:db` command. To accomplish that, `cd` to the project's root and run `php bin/console make:db --name DB_NAME`, where `DB_NAME` == the name you want for your database.\n\nIf you already have a database, don't forget to change the SQL queries at `src/Controllers/AuthController.php` to match your schema.\n\n## ProTips(tm)\n\n* If you want to use npm packages, make sure to update your `.gitignore` with the `node_modules` folder\n* If you have cloned the repo, run `composer install` to download the project dependencies and then create the `.env` file by running `php -r \"file_exists('.env') || copy('.env.example', '.env');\"`\n* If you used `bin/console` to create your database, the default login credentials are 'admin' and '123456' (encrypted using `$app['security.encoder.digest']-\u003eencodePassword()`)\n\n## Contributing\n\nOpen Source projects are made for the community and by the community. It would be nice to have more people interacting and helping to improve this codebase. So, feel free to open (actual) issues and send pull requests if you fixed/implemented something.\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Matheus Calegaro\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathcale%2Fsilex-base-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathcale%2Fsilex-base-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathcale%2Fsilex-base-project/lists"}