{"id":18929711,"url":"https://github.com/thecodingmachine/mouf-tutorial-1","last_synced_at":"2026-03-16T16:30:17.639Z","repository":{"id":66284963,"uuid":"65543900","full_name":"thecodingmachine/mouf-tutorial-1","owner":"thecodingmachine","description":"This is a demo project running the Mouf framework. It is meant to take a look and get a feeling of what is going on.","archived":false,"fork":false,"pushed_at":"2016-08-12T10:06:41.000Z","size":375,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-16T12:30:28.778Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thecodingmachine.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-12T10:06:25.000Z","updated_at":"2016-08-12T10:06:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5312597-68f1-421c-832d-1328e3d152db","html_url":"https://github.com/thecodingmachine/mouf-tutorial-1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fmouf-tutorial-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fmouf-tutorial-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fmouf-tutorial-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fmouf-tutorial-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/mouf-tutorial-1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927825,"owners_count":19719835,"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":[],"created_at":"2024-11-08T11:34:36.940Z","updated_at":"2026-03-16T16:30:17.563Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mouf demo application\n=====================\n\nThis is a very simple demo application showing a base Mouf project.\n\nIt uses:\n\n- Splash 7 for the MVC part\n- TDBM 4 for database access\n\nThe goal of this project is to help you get started with a classical Mouf application and to help you understand the look-and-feel of a Mouf app.\n\nPrerequisites\n-------------\n\nTo run this project you will need:\n\n- A working PHP 7 installation with Apache\n- Composer\n- A MySQL database with an existing schema (you can call it \"mouf_demo\", or whatever you like)\n\nInstalling the application\n--------------------------\n\nStart by cloning this repository. Done? Let's run composer.\n\n```php\ncomposer install\n```\n\nNow, you should access the Mouf UI.\n\nTo do this, go to `http://localhost/[the_path_where_you_installed_the_demo]/vendor/mouf/mouf`.\n\n- You will be asked to choose a user and a password to access Mouf. Pick one.\n- Now log into Mouf\n- On Mouf main page, you will see a number of errors. This is normal, you don't have configured your application yet.\n- One of those errors is \"Your config.php is empty. __Please configure your application.__\". Click on the link.\n  ![](doc/images/mouf_welcome_screen.png)\n- You will be redirected on a configuration page. Fill all the fields and click \"Save\".\n  ![](doc/images/mouf_config_screen.png)\n- When you press the \"Save\" button, a `config.php` file will be created at the root of your project.\n- You should be redirected to Mouf's main screen. Mouf will tell you it needs to apply 2 patches. Click the \"Apply 2 awaiting patches button\".\n  ![](doc/images/mouf_patch_screen.png)\n- This will actually create the needed tables in database.\n\nYou can now test your application.\n\nBrowse to `http://localhost/[the_path_where_you_installed_the_demo]/`.\n \nThe default login is 'admin@admin.com' and the password is 'admin'.\n\n\nWhat you should see / pay attention to\n--------------------------------------\n\nThis application is really very very simple. It is meant as a demo. You can see a main page, log in and then see a form to edit the user.\n\n- You can see that a CSS stylesheet [has been added to make all titles appear red](public/moremouf.css).\n- This CSS stylesheet is registered in the `webLibraryManager` instance in Mouf (you can search for this in the Mouf UI).\n- You can also see how controllers are registered in Mouf, and how they use Twig to fill the template.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fmouf-tutorial-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Fmouf-tutorial-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fmouf-tutorial-1/lists"}